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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1754
call fcn.0047ad40
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x3e0]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x228]
test eax, eax
push edi
jne 0x437bd5
mov ecx, dword [ebx + 0x78]
mov dword [esp + 0x24], ecx
jmp 0x437bdf
mov edx, dword [ebx + 0x1c0]
mov dword [esp + 0x24], edx
test eax, eax
jne 0x437bec
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x14], eax
jmp 0x437bf6
mov ecx, dword [ebx + 0x1bc]
mov dword [esp + 0x14], ecx
mov ecx, ebx
call fcn.004608c0
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x50], edx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437c10
sub eax, edx
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x860]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0xc60]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x460]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1360]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xf60]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x54c]
mov ecx, dword [esi + 0x554]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], ecx
jge 0x437c91
lea edx, [eax + ecx]
test edx, edx
jge 0x437c91
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x14]
add ecx, eax
cmp edx, ecx
jae 0x437ca9
sub edx, eax
cmp ecx, edi
mov dword [esp + 0x18], edx
jge 0x437ca9
mov dword [esp + 0x18], edi
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.0044a510
mov eax, dword [esi + 0x550]
shl eax, 1
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], edi
jle 0x437e1b
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xc60]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
jmp 0x437cf0
mov eax, dword [esp + 0x10]
movsx ecx, byte [eax]
push ecx
call fcn.0047b292
add esp, 4
test eax, eax
je 0x437d43
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 2
push edx
push eax
call fcn.0047a710
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push 2
push edx
push eax
call dword [0x49e02c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x437d6e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 1
push ecx
push edx
call fcn.0047a710
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push 1
push ecx
push edx
call dword [0x49e02c]
mov eax, dword [esp + 0x3c]
shl eax, 1
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + ebx*4 + 0x860], eax
mov dword [esp + ebx*4 + 0x460], ecx
mov dword [esp + ebx*4 + 0x60], eax
jge 0x437dad
lea edx, [eax + edi]
test edx, edx
mov dword [esp + ebx*4 + 0x460], edi
jge 0x437dad
mov dword [esp + ebx*4 + 0x460], ecx
mov dword [esp + ebx*4 + 0x60], ecx
mov ecx, dword [esp + 0x24]
lea edx, [eax + edi]
cmp ecx, edx
jae 0x437dd3
sub eax, ecx
add eax, edi
cmp ecx, edi
mov dword [esp + ebx*4 + 0x60], eax
jae 0x437dd3
xor eax, eax
mov dword [esp + ebx*4 + 0x460], eax
mov dword [esp + ebx*4 + 0x60], eax
jmp 0x437dd5
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + ebx*4 + 0x1360], eax
mov eax, dword [esp + 0x18]
add edx, 3
add edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + ebx*4 + 0xf60], eax
mov eax, dword [esp + 0x14]
inc ebx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x437cf0
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x28]
mov edi, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.0044a550
mov ecx, edi
call fcn.0044a870
mov edx, dword [esi + 0x53c]
mov ecx, dword [esi + 0x540]
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x544]
mov dword [esi + 0x53c], eax
mov dword [esp + 0x30], ecx
mov dword [esi + 0x540], eax
mov dword [esi + 0x544], eax
mov eax, dword [esi + 0x554]
lea ecx, [eax + 8]
imul ecx, ecx, 0x780
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x550]
xor edi, edi
mov dword [esp + 0x1c], ecx
mov ecx, edx
cmp ecx, edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], edi
jge 0x437e99
xor ecx, ecx
cmp eax, edi
jge 0x437e9f
xor eax, eax
mov dword [esi + 0x554], eax
mov eax, dword [esi + 0x3dc]
push 0x49f285
mov dword [esi + 0x550], ecx
push eax
mov ecx, esi
call fcn.00430530
mov eax, dword [esi + 0x54c]
imul eax, dword [esp + 0x24]
add eax, dword [esi + 0x548]
test ebx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], edi
jle 0x438061
lea ecx, [esp + 0xc60]
mov dword [esp + 0x18], ecx
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
xor edx, edx
test eax, eax
jle 0x437f3c
mov edi, dword [esp + edi*4 + 0x860]
add edi, 8
lea eax, [edi + edi*2]
mov dword [esp + 0x10], eax
jmp 0x437f10
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov ebx, ecx
shr ecx, 2
add edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
add edx, 0x780
cmp edx, eax
jl 0x437f10
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437f45
sub eax, edx
cmp dword [esi + 0x538], 0xa8c
mov edx, dword [esi + 0x3dc]
mov ecx, 4
jne 0x437f6e
mov ecx, dword [esi + 0x554]
add ecx, 4
push eax
push ebx
push 4
push ecx
push edx
call dword [0x49e04c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + edi*4 + 0x860]
neg eax
add ebx, eax
lea eax, [eax + eax*2 + 0x780]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + edi*4 + 0xf60]
mov dword [esp + 0x54], eax
mov eax, dword [esp + edi*4 + 0x1360]
cmp eax, ebx
mov edx, 0x1e0c
jge 0x438034
sub ebx, eax
mov dword [esp + 0x10], ebx
nop
mov eax, dword [esp + edi*4 + 0x460]
mov ebx, dword [esp + edi*4 + 0x60]
cmp eax, ebx
jge 0x43801d
sub ebx, eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x34]
cmp byte [edx + eax], 0
je 0x43800e
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
sar eax, 3
sar ebx, 2
shl eax, 6
or eax, ebx
mov ebx, dword [esp + 0x20]
shl eax, 5
sar ebx, 3
or eax, ebx
mov ebx, dword [esp + 0x48]
mov word [ebx + ecx*2], ax
mov eax, dword [esp + 0x50]
mov byte [ecx + eax], 0xff
mov eax, dword [esp + 0xc]
inc ecx
add edx, 3
dec eax
mov dword [esp + 0xc], eax
jne 0x437fd5
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x10]
add edx, ebx
dec eax
mov dword [esp + 0x10], eax
jne 0x437fc0
mov eax, dword [esp + edi*4 + 0x860]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add ebx, eax
mov eax, dword [esp + 0x2c]
inc edi
add ecx, 3
cmp edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], ecx
jl 0x437ef0
mov eax, dword [esi + 0x42c]
test eax, eax
je 0x438094
mov ecx, dword [esi + 0x3dc]
push eax
push ecx
call dword [0x49e064]
mov edx, dword [esi + 0x428]
push edx
call dword [0x49e058]
xor eax, eax
mov dword [esi + 0x428], eax
mov dword [esi + 0x42c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x540], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x53c], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x554], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x544], edx
mov dword [esi + 0x550], eax
call fcn.0044a8e0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8