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

Disassembly:
sub esp, 0x88
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov eax, dword [ebp + 0x1618]
test eax, eax
push esi
push edi
je 0x438a43
mov esi, dword [esp + 0xb0]
imul eax, esi
mov ebx, eax
mov eax, dword [ebp + 0x161c]
mov dword [esp + 0x3c], ebx
jmp 0x438a8e
mov ebx, dword [ebp + 0x162c]
mov esi, dword [esp + 0xb0]
mov eax, dword [0xc51088]
imul ebx, esi
test eax, eax
mov ecx, dword [ebp + 0x1630]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
je 0x438a92
mov eax, dword [ebp + 0x5d4]
test eax, eax
je 0x4396f0
mov edi, dword [0x4c2d6c]
mov eax, ebx
cdq
idiv edi
mov ebx, eax
mov eax, ecx
cdq
mov dword [esp + 0x3c], ebx
idiv edi
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x5d4]
test eax, eax
je 0x4396f0
mov eax, dword [ebp + 0x15f0]
cmp eax, 0xffffffff
je 0x438b57
mov ecx, dword [ebp + 0x1600]
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
mov edx, dword [ebp + 0x1604]
add edi, ecx
mov ecx, dword [ebp + 0x1608]
mov dword [esp + 0xa4], edi
mov edi, dword [ebp + 0x15f4]
add esi, edx
test ecx, ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], edi
je 0x438b23
push edi
push eax
call fcn.00418bc0
mov edi, eax
fld dword [edi + 0x24]
add esp, 8
mov dword [esp + 0x10], edi
call fcn.004082c0
fld dword [edi + 0x28]
mov esi, eax
mov dword [esp + 0x18], esi
call fcn.004082c0
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 2
jmp 0x438b73
mov ebx, dword [eax*4 + 0x8394f8]
push edi
push ebx
mov dword [esp + 0x38], ebx
call fcn.004110f0
mov esi, eax
push edi
push ebx
mov dword [esp + 0x28], esi
call fcn.004110f0
mov ebx, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 1
jmp 0x438b73
mov esi, dword [ebp + 0x628]
mov eax, dword [ebp + 0x62c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
cmp dword [ebp + 0x134], 2
jne 0x438ec0
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
push eax
push esi
add ebx, edx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x48]
push 0
lea eax, [esp + 0x50]
add edx, ecx
push 0
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
call fcn.0041bd10
add esp, 0x14
test eax, eax
je 0x439717
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov edi, dword [ebp + 0x13c]
sub ecx, esi
mov esi, dword [esp + 0x50]
sub esi, edx
test ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], esi
jne 0x438bef
test esi, esi
je 0x438ec0
test edi, edi
je 0x438ec0
mov eax, dword [esp + 0x1c]
sub eax, 0
je 0x438e74
dec eax
je 0x438d4c
dec eax
jne 0x438ec0
mov eax, dword [ebp + 0x634]
mov edx, dword [ebp + 0x638]
mov ecx, dword [ebp + 0x63c]
mov ebx, eax
or eax, 0xffffff00
shl edx, 8
shl eax, 8
mov dword [esp + 0x38], edx
or eax, dword [ebp + 0x638]
shl eax, 8
or eax, ecx
shl ebx, 0x10
or ebx, ecx
mov ecx, dword [esp + 0x10]
push 0
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x90]
push ecx
push 0
shl edi, 8
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], edi
call dword [edx + 0x4c]
test esi, esi
mov dword [esp + 0x14], 0
jbe 0x438d39
mov esi, dword [esp + 0x88]
imul esi, dword [esp + 0x14]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x2c]
add esi, edx
test eax, eax
jbe 0x438d24
mov dword [esp + 0x3c], eax
cmp edi, 0xff00
mov ecx, dword [esi]
jne 0x438cb8
mov edx, dword [esp + 0x34]
mov dword [esi], edx
jmp 0x438d16
xor edx, edx
mov eax, ecx
and eax, 0xff
or eax, edi
mov dl, byte [eax + 0x84cdb8]
mov edi, edx
mov edx, ecx
and edx, 0xff00ff
sub ebx, edx
imul ebx, edi
shr ebx, 8
add ebx, edx
mov edx, dword [esp + 0x38]
and ecx, 0xff00
sub edx, ecx
imul edx, edi
mov edi, dword [esp + 0x28]
shr edx, 8
add edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x8398f8]
and ebx, 0xff00ff
and edx, 0xff00
add ebx, edx
shl ecx, 0x18
add ebx, ecx
mov dword [esi], ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
add esi, 4
dec eax
mov dword [esp + 0x3c], eax
jne 0x438ca6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x438c81
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x50]
jmp 0x438ec0
mov edx, dword [ebp + 0x638]
mov eax, dword [ebp + 0x634]
mov ecx, dword [ebp + 0x63c]
mov ebx, eax
shl edx, 0x10
shl eax, 8
mov dword [esp + 0x38], edx
or eax, dword [ebp + 0x638]
shl eax, 8
or eax, ecx
shl ebx, 0x10
shl eax, 8
or ebx, ecx
or eax, 0xff
shl edi, 8
test esi, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 0
jbe 0x438ec0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
push 4
add eax, edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00411170
mov ecx, dword [esp + 0x40]
add esp, 0x14
test ecx, ecx
mov dword [esp + 0x3c], eax
jbe 0x438e5d
mov dword [esp + 0x10], ecx
cmp edi, 0xff00
mov esi, dword [eax]
jne 0x438de7
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x438e47
xor eax, eax
mov ecx, esi
and ecx, 0xff
or ecx, edi
mov al, byte [ecx + 0x84cdb8]
mov edx, esi
shr edx, 8
and edx, 0xff00ff
sub ebx, edx
and esi, 0xff0000
imul ebx, eax
shr ebx, 8
add ebx, edx
mov edx, dword [esp + 0x38]
sub edx, esi
imul edx, eax
xor eax, eax
mov al, byte [ecx + 0x8398f8]
shr edx, 8
and ebx, 0xff00ff
add edx, esi
shl ebx, 8
and edx, 0xff0000
add ebx, edx
add ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add eax, 4
dec ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ecx
jne 0x438dd5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x438da1
jmp 0x438ec0
mov edx, dword [0xc51fc0]
mov eax, dword [ebp + 0x630]
push edx
xor edx, edx
mov dh, byte [ebp + 0x14d]
xor ebx, ebx
mov bl, byte [ebp + 0x14f]
push edi
mov dl, byte [ebp + 0x14e]
shl edx, 8
or edx, ebx
push edx
push eax
imul eax, dword [esp + 0x58]
push esi
mov esi, dword [ebp + 0x624]
push ecx
mov ecx, dword [esp + 0x5c]
add eax, esi
lea ecx, [ecx + ecx*2]
add eax, ecx
push eax
call fcn.00441cf0
add esp, 0x1c
mov eax, dword [esp + 0xb0]
and eax, 0x7fffffff
cmp eax, 1
jne 0x438ede
mov edx, dword [esp + 0xac]
movsx ax, byte [edx]
jmp 0x438eee
mov eax, dword [esp + 0xac]
xor ecx, ecx
mov cl, byte [eax + 1]
mov ch, byte [eax]
mov eax, ecx
mov ebx, dword [ebp]
mov ecx, dword [esp + 0x14]
lea ebx, [ebx + ebx*8]
shl ebx, 0xb
add ebx, 0x535ca0
cmp ecx, 0x200
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0
jae 0x438f4c
cmp word [ebx], ax
je 0x438f2c
add ebx, 0x24
inc ecx
cmp ecx, 0x200
jb 0x438f15
mov dword [esp + 0x14], ecx
jmp 0x438f4c
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], ecx
lea esi, [ebx + 0x10]
mov ecx, 5
lea edi, [esp + 0x54]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
test eax, eax
je 0x438f93
mov eax, dword [ebp + 0x1608]
xor ecx, ecx
cmp eax, ecx
je 0x438fd0
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0xa8]
push ecx
push ecx
mov ecx, dword [ebx + 0xc]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [ebp + 0x15f4]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [ebp + 0x15f0]
push ecx
push edx
push eax
call fcn.004194f0
add esp, 0x28
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4391dc
mov eax, dword [0xc51088]
test eax, eax
je 0x4390a6
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x58]
push edx
push ebp
call fcn.00438780
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x439150
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x15f8]
cmp eax, ecx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], ecx
je 0x43901c
mov ecx, dword [ebp + 0x15fc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x84], ecx
jmp 0x43902d
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x70], edx
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x15f0]
cmp eax, 0xffffffff
je 0x43905f
mov edx, dword [ebp + 0x15f4]
lea ecx, [esp + 0x68]
push ecx
push edx
lea eax, [eax*4 + 0x8394f8]
push eax
call fcn.00411d60
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov ecx, dword [0xc51fc0]
mov edx, dword [ebp + 0x630]
mov eax, dword [ebp + 0x62c]
push ecx
mov ecx, dword [ebp + 0x628]
push 0
push edx
mov edx, dword [ebp + 0x624]
push eax
push ecx
push edx
push 0x8394f8
lea eax, [esp + 0x84]
push 1
push eax
call fcn.00443460
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov edi, dword [esp + 0x2c]
xor eax, eax
mov ecx, 1
mov word [esp + 0x6a], cx
mov word [esp + 0x76], cx
lea ecx, [esp + 0x68]
push ecx
push eax
push eax
lea edx, [esp + 0x60]
push edx
push 6
mov word [esp + 0x7c], ax
mov word [esp + 0x80], ax
mov word [esp + 0x82], ax
mov word [esp + 0x84], ax
mov word [esp + 0x86], ax
mov word [esp + 0x88], ax
mov eax, dword [esp + 0xb4]
and edi, 0xffff
push edi
push eax
call dword [0x4a4098]
mov ecx, dword [esp + 0x54]
mov esi, eax
lea eax, [ecx + 3]
and eax, 0xfffffffc
test esi, esi
mov dword [esp + 0x20], eax
jne 0x439126
mov esi, dword [esp + 0x58]
imul esi, eax
push esi
push 0x40
call dword [0x4a4184]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x68]
push edx
push eax
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x60]
push eax
push 6
push edi
push ecx
call dword [0x4a4098]
cmp dword [esp + 0x14], 0x200
jae 0x439178
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea edi, [ebx + 0x10]
mov ecx, 5
lea esi, [esp + 0x54]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
rep movsd dword es:[edi], dword [esi]
jmp 0x4391dc
mov eax, dword [ebp]
mov ebx, dword [eax*4 + 0x61db20]
shl eax, 9
add eax, ebx
lea ecx, [eax + eax*8]
mov eax, dword [ecx*4 + 0x5380a8]
test eax, eax
lea esi, [ecx*4 + 0x5380a0]
je 0x4391a3
push eax
call dword [0x4a4180]
mov ecx, dword [esp + 0x20]
mov dx, word [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov word [esi], dx
mov dword [esi + 8], eax
lea edi, [esi + 0x10]
inc ebx
cmp ebx, 0x100
mov ecx, 5
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
jbe 0x4391d2
xor ebx, ebx
mov edx, dword [ebp]
mov dword [edx*4 + 0x61db20], ebx
mov eax, dword [ebp + 0x138]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
mov esi, dword [esp + 0x58]
add ecx, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x1638]
sub eax, edx
mov edx, dword [esp + 0x54]
add eax, ebx
lea edi, [esi + eax]
add edx, ecx
mov dword [esp + 0x48], eax
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x48], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x1c]
push ecx
push 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x9c], edx
lea edx, [esp + 0x50]
push 0
push edx
mov dword [esp + 0x64], edi
mov dword [esp + 0xa8], edi
call fcn.0041bd10
add esp, 0x14
test eax, eax
je 0x439717
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x90]
mov ecx, eax
sub ecx, ebx
mov ebx, dword [esp + 0x54]
sub edi, esi
mov esi, dword [esp + 0x4c]
sub ebx, edx
mov edx, dword [esp + 0x94]
add ebx, esi
mov esi, dword [esp + 0x58]
sub esi, edx
add esi, dword [esp + 0x50]
mov edx, dword [ebp + 0x15f0]
cmp edx, 0xffffffff
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x18], 0
je 0x4395e3
mov eax, dword [ebp + 0x1608]
mov ecx, dword [ebp + 0x63c]
test eax, eax
mov eax, dword [ebp + 0x634]
mov ebx, eax
jne 0x43944c
mov edx, dword [ebp + 0x638]
shl edx, 0x10
shl eax, 8
mov dword [esp + 0x38], edx
or eax, dword [ebp + 0x638]
shl eax, 8
or eax, ecx
shl ebx, 0x10
shl eax, 8
or ebx, ecx
or eax, 0xff
cmp edi, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], eax
jae 0x439717
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, edi
imul eax, dword [esp + 0x20]
add eax, edx
add eax, ecx
sub esi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
mov edi, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xa4]
mov eax, dword [ebp + 0x15f4]
push 4
push ecx
mov ecx, dword [ebp + 0x15f0]
push edx
mov edx, dword [ecx*4 + 0x8394f8]
push eax
push edx
call fcn.00411170
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
add esp, 0x14
cmp ecx, edx
jae 0x43941f
sub edx, ecx
mov dword [esp + 0x30], edx
xor ecx, ecx
mov cl, byte [edi]
inc edi
mov dword [esp + 0x10], edi
test ecx, ecx
je 0x439409
mov esi, dword [eax]
mov edx, ecx
shl edx, 8
sub edx, ecx
shr edx, 6
imul edx, dword [esp + 0x3c]
and edx, 0xff00
cmp edx, 0xff00
jne 0x4393a7
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x439409
mov ecx, esi
and ecx, 0xff
or ecx, edx
xor edx, edx
mov dl, byte [ecx + 0x84cdb8]
mov edi, edx
mov edx, esi
shr edx, 8
and edx, 0xff00ff
sub ebx, edx
imul ebx, edi
shr ebx, 8
add ebx, edx
mov edx, dword [esp + 0x38]
and esi, 0xff0000
sub edx, esi
imul edx, edi
mov edi, dword [esp + 0x10]
shr edx, 8
and ebx, 0xff00ff
add edx, esi
and edx, 0xff0000
shl ebx, 8
add ebx, edx
xor edx, edx
mov dl, byte [ecx + 0x8398f8]
add ebx, edx
mov dword [eax], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
add eax, 4
dec ecx
mov dword [esp + 0x30], ecx
jne 0x43936f
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add edi, edx
inc ecx
dec eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jne 0x43932d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
shl ebx, 0x10
or ebx, ecx
mov ecx, dword [ebp + 0x638]
or eax, 0xffffff00
shl ecx, 8
shl eax, 8
mov dword [esp + 0x38], ecx
or eax, dword [ebp + 0x638]
mov ecx, dword [ebp + 0x63c]
shl eax, 8
or eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x15f4]
push eax
push edx
call fcn.00418bc0
add esp, 8
push 0
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x4c]
cmp edi, esi
jae 0x4395ca
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebp, edi
imul ebp, dword [esp + 0x20]
add ebp, eax
add ebp, edx
sub esi, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], esi
jmp 0x4394d3
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x88]
imul esi, dword [esp + 0x18]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x2c]
add esi, edx
cmp eax, ecx
mov edi, ebp
jae 0x4395a8
sub ecx, eax
mov dword [esp + 0x28], ecx
xor eax, eax
mov al, byte [edi]
inc edi
mov dword [esp + 0x10], edi
test eax, eax
je 0x439596
mov ecx, eax
shl ecx, 8
sub ecx, eax
mov edx, ecx
mov ecx, dword [esi]
shr edx, 6
imul edx, dword [esp + 0x3c]
and edx, 0xff00
cmp edx, 0xff00
jne 0x439536
mov edx, dword [esp + 0x34]
mov dword [esi], edx
jmp 0x439596
mov eax, ecx
and eax, 0xff
or eax, edx
xor edx, edx
mov dl, byte [eax + 0x84cdb8]
mov ebp, ebx
mov edi, edx
mov edx, ecx
and edx, 0xff00ff
sub ebp, edx
imul ebp, edi
shr ebp, 8
add ebp, edx
mov edx, dword [esp + 0x38]
and ecx, 0xff00
sub edx, ecx
imul edx, edi
mov edi, dword [esp + 0x10]
shr edx, 8
add edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x8398f8]
and ebp, 0xff00ff
and edx, 0xff00
add ebp, edx
shl ecx, 0x18
add ebp, ecx
mov dword [esi], ebp
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add esi, 4
dec eax
mov dword [esp + 0x28], eax
jne 0x4394fc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add ebp, edx
inc ecx
dec eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jne 0x4394cf
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x50]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
cmp edi, esi
mov edx, dword [ebp + 0x634]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x638]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x63c]
mov dword [esp + 0x34], edx
jae 0x439717
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov edx, edi
imul edx, dword [esp + 0x20]
lea eax, [eax + eax*2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
add edx, ecx
add edx, eax
sub esi, edi
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x18]
imul esi, dword [ebp + 0x630]
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 0x624]
add esi, eax
add esi, edi
cmp ecx, ebx
mov edi, edx
jae 0x4396c7
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x28], eax
xor eax, eax
mov al, byte [edi]
inc edi
test eax, eax
je 0x4396b9
mov ebx, dword [esp + 0x34]
mov ecx, eax
shl ecx, 8
sub ecx, eax
mov eax, ecx
xor ecx, ecx
mov cl, byte [esi]
shr eax, 6
imul eax, dword [esp + 0x3c]
sub ebx, ecx
shr eax, 8
imul ebx, eax
shr ebx, 8
add bl, cl
xor ecx, ecx
mov cl, byte [esi + 1]
mov byte [esi], bl
mov ebx, dword [esp + 0x38]
sub ebx, ecx
imul ebx, eax
shr ebx, 8
add bl, cl
xor ecx, ecx
mov cl, byte [esi + 2]
mov byte [esi + 1], bl
mov ebx, dword [esp + 0x1c]
sub ebx, ecx
imul ebx, eax
shr ebx, 8
add bl, cl
mov ecx, dword [esp + 0x14]
mov byte [esi + 2], bl
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esi, 3
dec eax
mov dword [esp + 0x28], eax
jne 0x439654
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
add edx, edi
inc esi
dec eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
jne 0x43962d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
push esi
push edx
mov edx, dword [esp + 0xa8]
push eax
push ecx
push edx
call dword [0x4a409c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret