Function at 0x44f9f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov eax, dword [ecx + 0x228]
test eax, eax
mov dword [esp + 8], ecx
jne 0x44fa0c
mov eax, 2
add esp, 0x58
ret 0x2c
fld dword [esp + 0x7c]
fcomp dword [0x4a1174]
fnstsw ax
test ah, 5
jp 0x44fa28
mov eax, 1
add esp, 0x58
ret 0x2c
mov eax, dword [ecx + 0x1c0]
mov ecx, dword [ecx + 0x1bc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x80]
cmp eax, 0xfffffc00
mov dword [esp + 0x30], ecx
jne 0x44fa53
mov eax, dword [esp + 0x70]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
cmp eax, 0xfffffc00
jne 0x44fa6e
mov eax, dword [esp + 0x74]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [esp + 0xc]
push ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
push ebp
push esi
lea esi, [edx + eax]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x84]
push edi
lea edi, [ecx + edx]
mov ecx, dword [0x4b8270]
mov dx, word [ecx + eax*2]
mov ecx, dword [0x4b8274]
mov word [esp + 0x44], dx
mov dx, word [ecx + eax*2]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], edi
mov word [esp + 0x3c], dx
call fcn.0044a870
mov ebx, dword [esp + 0x74]
mov ecx, ebx
mov dword [esp + 0x88], eax
call fcn.0044a870
fild dword [esp + 0x1c]
fld dword [0x4a1134]
movsx ecx, word [esp + 0x3c]
fdiv dword [esp + 0x8c]
mov ebp, eax
movsx eax, word [esp + 0x44]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov ebx, dword [ebx + 0x5c]
imul ecx, esi
imul eax, edi
fstp dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
add ecx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x44]
fmul dword [esp + 0x20]
fmul dword [0x4a1130]
fsubr st(1)
fmul dword [0x4a112c]
call fcn.0047ba80
fild dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
imul ecx, esi
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
imul eax, edi
mov dword [esp + 0x50], ecx
sub ecx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], eax
fild dword [esp + 0x44]
fmul dword [esp + 0x20]
fmul dword [0x4a1130]
fadd dword [esp + 0x3c]
fmul dword [0x4a112c]
call fcn.0047ba80
mov ecx, dword [esp + 0x2c]
mov edi, 1
sub edi, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, edi
imul eax, dword [esp + 0x38]
neg esi
sub eax, ecx
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fmul dword [esp + 0x20]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul edi, dword [esp + 0x34]
mov ecx, esi
sub ecx, eax
mov eax, dword [esp + 0x14]
neg eax
mov dword [esp + 0x44], eax
add edi, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
fild dword [esp + 0x2c]
fmul dword [esp + 0x20]
fmul dword [0x4a1130]
fsubr dword [esp + 0x3c]
fmul dword [0x4a1128]
call fcn.0047ba80
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
sub ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
mov edi, 1
sub edi, eax
mov ecx, edi
imul ecx, dword [esp + 0x34]
sub ecx, edx
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
fmul dword [esp + 0x20]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul edi, dword [esp + 0x38]
fstp st(0)
sub esi, eax
add edi, dword [esp + 0x50]
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], esi
fild dword [esp + 0x50]
fmul dword [esp + 0x20]
fmul dword [0x4a1130]
fadd dword [esp + 0x3c]
fmul dword [0x4a1128]
call fcn.0047ba80
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], ecx
mov ecx, eax
shl ecx, 0x10
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x84]
shl ecx, 0x10
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x90]
sub eax, ecx
cmp eax, ecx
jg 0x44fc96
mov eax, ecx
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x84]
sub ecx, edx
cmp ecx, edx
jg 0x44fcac
mov ecx, edx
lea edx, [eax + eax]
mov dword [esp + 0x90], edx
fild dword [esp + 0x90]
lea eax, [ecx + ecx]
mov dword [esp + 0x84], eax
fmul dword [esp + 0x8c]
fld dword [0x4a0578]
fmul st(1)
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
fild dword [esp + 0x84]
mov esi, eax
mov dword [esp + 0x90], esi
fmul dword [esp + 0x8c]
fld dword [0x4a0578]
fmul st(1)
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
cmp esi, eax
jge 0x44fd20
mov dword [esp + 0x90], eax
mov esi, eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x6c]
lea eax, [esi + ecx]
mov esi, dword [esp + 0x30]
lea ecx, [edx + esi]
mov edx, dword [esp + 0x70]
add ecx, edx
add eax, edi
sub ecx, esi
sub ecx, edx
sub eax, dword [esp + 0x1c]
sub eax, edi
mov edx, eax
imul edx, eax
mov eax, ecx
imul eax, ecx
add edx, eax
mov dword [esp + 0x8c], edx
fild dword [esp + 0x8c]
fsqrt
call fcn.0047ba80
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
sub ecx, eax
add ecx, edi
mov edi, esi
sub edi, eax
add edi, edx
mov edx, dword [esp + 0x1c]
add edx, eax
add edx, dword [esp + 0x6c]
add esi, eax
mov dword [esp + 0x60], edx
add esi, dword [esp + 0x70]
mov edx, dword [esp + 0x54]
cmp ecx, edx
mov dword [esp + 0x58], ecx
jg 0x4506b8
cmp edi, dword [esp + 0x40]
jg 0x4506b8
mov ecx, dword [esp + 0x60]
test ecx, ecx
jl 0x4506b8
test esi, esi
jl 0x4506b8
test edi, edi
jge 0x44fdc6
xor edi, edi
mov eax, dword [esp + 0x58]
test eax, eax
jge 0x44fdd4
xor eax, eax
mov dword [esp + 0x58], eax
cmp esi, dword [esp + 0x40]
jle 0x44fdde
mov esi, dword [esp + 0x40]
cmp ecx, edx
jle 0x44fde6
mov dword [esp + 0x60], edx
mov edx, eax
imul eax, dword [esp + 0x28]
imul edx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
mov ecx, edi
imul ecx, dword [esp + 0x2c]
add edx, ecx
mov ecx, edi
imul ecx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
add eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x228]
cmp eax, 0x378
ja 0x45047d
je 0x45027d
sub eax, 0x22b
je 0x45005b
sub eax, 0xa
jne 0x45069a
mov ecx, edx
call fcn.00445d70
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
call fcn.00445d70
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x8c], eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x54], eax
call fcn.004017d0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x88]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
imul ecx, edx
imul eax, edx
add ebp, ecx
add ebx, eax
cmp edi, esi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x70], ebx
jge 0x45069a
mov eax, dword [esp + 0x58]
sub esi, edi
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x60]
cmp eax, esi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x7c], ecx
lea edi, [edi + eax*2]
jge 0x450011
sub esi, eax
mov dword [esp + 0x84], esi
test edx, edx
jl 0x44ffe2
cmp edx, dword [esp + 0x80]
jge 0x44ffe2
test ecx, ecx
jl 0x44ffe2
cmp ecx, dword [esp + 0x34]
jge 0x44ffe2
mov eax, dword [esp + 0x78]
sar ecx, 0x10
mov esi, ecx
imul ecx, dword [esp + 0x50]
imul esi, dword [esp + 0x54]
sar edx, 0x10
add esi, edx
add esi, eax
add ecx, edx
add ecx, ebx
add ecx, eax
mov al, byte [ecx]
xor edx, edx
test al, al
setne dl
movzx ax, al
lea ebp, [ebp + esi*2]
mov esi, 0x100
xor ebx, ebx
mov bx, word [ebp + 2]
add eax, edx
movzx ecx, ax
xor eax, eax
mov al, byte [ebp + 4]
xor edx, edx
mov dl, byte [edi + 4]
sub esi, ecx
and ebx, 0x7e0
imul ebx, ecx
and eax, 0x1f
imul eax, ecx
and edx, 0x1f
imul edx, esi
add edx, eax
xor eax, eax
mov ax, word [edi + 2]
shr edx, 8
and edx, 0x1f
and eax, 0x7e0
imul eax, esi
add eax, ebx
shr eax, 8
and eax, 0x7e0
or edx, eax
xor eax, eax
mov ax, word [edi]
mov ebx, dword [esp + 0x70]
and eax, 0xf800
imul eax, esi
xor esi, esi
mov si, word [ebp]
mov ebp, dword [esp + 0x90]
and esi, 0xf800
imul esi, ecx
mov ecx, dword [esp + 0x7c]
add eax, esi
shr eax, 8
and eax, 0xf800
or edx, eax
mov eax, dword [esp + 0x58]
mov word [edi], dx
mov edx, dword [esp + 0x8c]
add edx, dword [esp + 0x24]
add ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x84]
add edi, 2
dec esi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], esi
jne 0x44fef2
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
add edi, edx
mov edx, dword [esp + 0x88]
add edx, ecx
mov ecx, dword [esp + 0x94]
dec ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], ecx
jne 0x44fec4
jmp 0x45069a
mov ecx, dword [esp + 0x18]
call fcn.00445d70
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
call fcn.00445d70
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x8c], eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x54], eax
call fcn.004017d0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
imul edx, edi
add ecx, edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x50], eax
imul ecx, edx
imul eax, edx
add ebp, ecx
add ebx, eax
cmp edi, esi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x70], ebx
jge 0x45069a
mov eax, dword [esp + 0x58]
sub esi, edi
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x60]
mov edi, edi
cmp eax, esi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x7c], ecx
lea edi, [edi + eax*2]
jge 0x450233
sub esi, eax
mov dword [esp + 0x84], esi
mov edi, edi
test edx, edx
jl 0x450204
cmp edx, dword [esp + 0x80]
jge 0x450204
test ecx, ecx
jl 0x450204
cmp ecx, dword [esp + 0x34]
jge 0x450204
mov eax, dword [esp + 0x78]
sar edx, 0x10
sar ecx, 0x10
mov esi, ecx
imul ecx, dword [esp + 0x50]
imul esi, dword [esp + 0x54]
add ecx, edx
add esi, edx
add esi, eax
add ecx, ebx
add ecx, eax
mov al, byte [ecx]
movzx dx, al
xor ecx, ecx
test al, al
setne cl
lea ebp, [ebp + esi*2]
mov esi, 0x100
xor ebx, ebx
mov bl, byte [ebp + 4]
add ecx, edx
xor edx, edx
mov dx, word [ebp + 2]
mov eax, ecx
movzx ecx, ax
xor eax, eax
mov ax, word [edi + 2]
and edx, 0x3e0
imul edx, ecx
sub esi, ecx
and eax, 0x3e0
imul eax, esi
add eax, edx
xor edx, edx
mov dl, byte [edi + 4]
and ebx, 0x1f
imul ebx, ecx
and edx, 0x1f
imul edx, esi
add edx, ebx
shr edx, 8
and edx, 0x1f
shr eax, 8
and eax, 0x3e0
or eax, edx
xor edx, edx
mov dx, word [edi]
mov ebx, dword [esp + 0x70]
and edx, 0x7c00
imul edx, esi
xor esi, esi
mov si, word [ebp]
mov ebp, dword [esp + 0x90]
and esi, 0x7c00
imul esi, ecx
mov ecx, dword [esp + 0x7c]
add edx, esi
shr edx, 8
and edx, 0x7c00
or eax, edx
mov edx, dword [esp + 0x8c]
mov word [edi], ax
mov eax, dword [esp + 0x58]
add edx, dword [esp + 0x24]
add ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x84]
add edi, 2
dec esi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], esi
jne 0x450110
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
add edi, edx
mov edx, dword [esp + 0x88]
add edx, ecx
mov ecx, dword [esp + 0x94]
dec ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], ecx
jne 0x4500e0
jmp 0x45069a
mov ecx, dword [esp + 0x18]
call fcn.00445d70
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
call fcn.00445d70
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x70], eax
call fcn.004017d0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
imul edx, edi
add ecx, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
imul edx, ecx
imul eax, ecx
add ebp, edx
add ebx, eax
cmp edi, esi
jge 0x45069a
mov eax, dword [esp + 0x58]
lea eax, [eax + eax*2]
sub esi, edi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], esi
lea ecx, [ecx]
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, ecx
mov ecx, dword [esp + 0x60]
cmp dword [esp + 0x58], ecx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x7c], edx
jge 0x450433
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x84], ecx
lea esp, [esp]
test edi, edi
jl 0x450408
cmp edi, dword [esp + 0x80]
jge 0x450408
test edx, edx
jl 0x450408
cmp edx, dword [esp + 0x34]
jge 0x450408
sar edx, 0x10
mov ecx, edx
imul edx, dword [esp + 0x70]
imul ecx, dword [esp + 0x50]
sar edi, 0x10
add ecx, edi
add ecx, ebx
add ecx, eax
add eax, edi
mov dword [esp + 0x90], eax
mov edi, eax
add eax, ebp
lea eax, [eax + edi*2]
movzx edi, byte [ecx]
add edx, eax
movzx eax, byte [esi]
mov dword [esp + 0x90], edx
movzx edx, byte [edx]
shl eax, 8
mov al, byte [eax + edi + 0x4d8640]
shl edx, 8
add al, byte [edx + edi + 0x4c8640]
mov edx, dword [esp + 0x90]
mov byte [esi], al
movzx eax, byte [edx + 1]
movzx edi, byte [ecx]
movzx edx, byte [esi + 1]
shl eax, 8
mov al, byte [eax + edi + 0x4c8640]
shl edx, 8
add al, byte [edx + edi + 0x4d8640]
mov edi, dword [esp + 0x8c]
mov byte [esi + 1], al
movzx eax, byte [ecx]
mov ecx, dword [esp + 0x90]
movzx edx, byte [ecx + 2]
movzx ecx, byte [esi + 2]
shl edx, 8
mov dl, byte [edx + eax + 0x4c8640]
shl ecx, 8
add dl, byte [ecx + eax + 0x4d8640]
mov eax, dword [esp + 0x78]
mov byte [esi + 2], dl
mov edx, dword [esp + 0x7c]
add edi, dword [esp + 0x24]
add edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
add esi, 3
dec ecx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], ecx
jne 0x450330
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
add edi, ecx
mov ecx, dword [esp + 0x6c]
add esi, edx
mov edx, dword [esp + 0x88]
add edx, ecx
mov ecx, dword [esp + 0x94]
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], ecx
jne 0x4502f0
jmp 0x45069a
cmp eax, 0x22b8
jne 0x45069a
mov ecx, dword [esp + 0x18]
call fcn.00445d70
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x84], eax
call fcn.00445d70
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x8c], eax
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x54], eax
call fcn.004017d0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x8c]
imul ecx, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
imul eax, dword [esp + 0x7c]
add ebx, eax
add ebp, ecx
cmp edi, esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x70], ebx
jge 0x45069a
sub esi, edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x6c], esi
lea ebx, [ebx]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x58]
cmp ecx, esi
mov dword [esp + 0x8c], eax
lea edx, [edx + ecx*4]
jge 0x450658
mov ecx, esi
sub ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x90], ecx
test eax, eax
jl 0x45062d
cmp eax, dword [esp + 0x80]
jge 0x45062d
test esi, esi
jl 0x45062d
cmp esi, dword [esp + 0x34]
jge 0x45062d
sar esi, 0x10
mov ecx, esi
imul esi, dword [esp + 0x54]
imul ecx, dword [esp + 0x94]
sar eax, 0x10
add ecx, eax
add esi, eax
movzx eax, byte [edx]
add ecx, ebx
add esi, edi
movzx ebx, byte [ebp + esi*4]
add ecx, edi
movzx edi, byte [ecx]
shl eax, 8
mov al, byte [eax + edi + 0x4d8640]
lea esi, [ebp + esi*4]
shl ebx, 8
add al, byte [ebx + edi + 0x4c8640]
movzx ebx, byte [edx + 1]
mov byte [edx], al
movzx edi, byte [ecx]
movzx eax, byte [esi + 1]
shl eax, 8
mov al, byte [eax + edi + 0x4c8640]
shl ebx, 8
add al, byte [ebx + edi + 0x4d8640]
movzx ebx, byte [edx + 2]
mov byte [edx + 1], al
movzx edi, byte [ecx]
movzx eax, byte [esi + 2]
shl eax, 8
mov al, byte [eax + edi + 0x4c8640]
shl ebx, 8
add al, byte [ebx + edi + 0x4d8640]
mov edi, dword [esp + 0x78]
mov byte [edx + 2], al
movzx eax, byte [ecx]
movzx ecx, byte [esi + 3]
movzx esi, byte [edx + 3]
shl esi, 8
mov bl, byte [esi + eax + 0x4d8640]
mov esi, dword [esp + 0x7c]
shl ecx, 8
mov cl, byte [ecx + eax + 0x4c8640]
mov eax, dword [esp + 0x8c]
add cl, bl
mov ebx, dword [esp + 0x70]
mov byte [edx + 3], cl
add eax, dword [esp + 0x24]
add esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x90]
add edx, 4
dec ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x90], ecx
jne 0x450547
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x84]
add esi, edx
mov edx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x88]
add edx, ecx
dec eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x6c], eax
jne 0x450510
mov ecx, dword [esp + 0x18]
call fcn.0044a8e0
mov ecx, dword [esp + 0x74]
call fcn.0044a8e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret 0x2c
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x228]
test eax, eax
mov esi, 0x4000
jne 0x4506d2
call fcn.00447fb0
jmp 0x4506eb
cmp dword [ecx + 0x1ac], esi
jne 0x4506eb
mov eax, dword [ecx + 0x18c]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x80]
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0x228]
test eax, eax
jne 0x45070d
call fcn.00447fb0
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x58
ret 0x2c
cmp dword [ecx + 0x1ac], esi
jne 0x450726
mov eax, dword [ecx + 0x18c]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x80]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x58
ret 0x2c