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

Disassembly:
sub esp, 0x31c
mov al, byte [0x43f0b8]
mov dword [esp], edx
push ebx
mov dword [esp + 0xc], ecx
push esi
push edi
mov ecx, 0x40
lea edi, [esp + 0x9d]
push ebp
mov byte [esp + 0xa0], al
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [esp + 0x18], eax
je 0x437e6a
mov ecx, dword [esp + 0x10]
push 0x442cd0
mov dword [0x442cd0], 0x42
mov edx, dword [ecx + 0x10]
mov dword [0x442cd4], edx
mov dword [0x442cd8], eax
mov dword [0x442ce4], 0x8010c
mov word [0x442cf0], 1
mov dword [0x442cdc], eax
call fcn.0043eeaa
test eax, eax
jne 0x437c52
mov ecx, dword [esp + 0x10]
push 0x30
push 0x43f0b8
push 0x43f0a4
mov eax, dword [ecx + 0x10]
push eax
call dword [0x443484]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x31c
ret
call fcn.00439c30
mov dword [esp + 0x14], eax
test eax, eax
jne 0x437c84
mov ecx, dword [esp + 0x10]
push 0x10
push 0x43f0b8
push 0x43f08c
mov eax, dword [ecx + 0x10]
push eax
call dword [0x443484]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x31c
ret
xor esi, esi
mov eax, dword [esp + 0x14]
push esi
push 0x439ab0
push esi
push 9
push eax
call dword [0x443330]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], esi
push ecx
mov dword [esp + 0x3c], 0x14
mov dword [esp + 0x40], 0x43f008
push eax
call dword [0x44332c]
test eax, eax
jge 0x437cf6
mov ecx, dword [esp + 0x10]
push 0x10
push esi
push 0x43f070
mov eax, dword [ecx + 0x10]
push eax
call dword [0x443484]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x443310]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x31c
ret
xor esi, esi
mov ecx, dword [esp + 0x10]
push esi
mov dword [0x442d14], esi
push 0x439b40
mov eax, dword [ecx + 0x10]
push eax
push 0x43f060
push esi
call dword [0x443400]
push eax
mov ebp, dword [0x4434c4]
call ebp
push 1
mov dword [0x442d40], eax
push eax
call dword [0x443478]
mov ebx, dword [0x4434c0]
mov ebp, dword [0x4434bc]
mov dword [esp + 0x20], 1
mov edi, dword [0x44347c]
cmp dword [0x442d14], esi
jne 0x437dad
lea eax, [esp + 0x4c]
push 1
push esi
push esi
push esi
push eax
call edi
test eax, eax
je 0x437d8d
lea eax, [esp + 0x4c]
mov ecx, dword [0x442d40]
push eax
push ecx
call ebx
test eax, eax
jne 0x437d85
lea eax, [esp + 0x4c]
push eax
call ebp
lea eax, [esp + 0x4c]
push eax
call dword [0x443480]
cmp dword [0x442d14], esi
je 0x437d51
cmp dword [0x442d14], esi
jne 0x437dad
cmp dword [section._data], esi
je 0x437dc7
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 0x186a0
jl 0x437d49
jmp 0x437dc7
mov ecx, dword [esp + 0x10]
push 0x30
push 0x43f0b8
push 0x43f0a4
mov eax, dword [ecx + 0x10]
push eax
call dword [0x443484]
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [0x443328]
mov eax, dword [esp + 0x78]
push 0xa
add eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
push ecx
call dword [0x443324]
cdq
idiv dword [esp + 0x30]
dec eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
push ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
call dword [0x443320]
push 0x800
push 0x42
call dword [0x4433c8]
push eax
call dword [0x4433d4]
mov ebx, eax
test ebx, ebx
jne 0x437ed7
cmp dword [esp + 0x18], 0
jne 0x437e45
mov eax, dword [esp + 0x28]
push eax
call dword [0x443410]
mov ecx, dword [esp + 0x10]
push 0x10
push 0x43f0b8
push 0x43f028
mov eax, dword [ecx + 0x10]
push eax
call dword [0x443484]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x31c
ret
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xa0]
push 0x104
mov ecx, dword [ecx + 0x10]
call fcn.0043dbf0
test eax, eax
je 0x438169
lea eax, [esp + 0x2a4]
push 0x1001
lea ecx, [esp + 0xa4]
push eax
push ecx
call dword [0x443404]
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x437e15
mov ecx, dword [esp + 0x10]
push 0x10
push 0x43f0b8
push 0x43f04c
mov eax, dword [ecx + 0x10]
push eax
call dword [0x443484]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x31c
ret
xor esi, esi
xor edx, edx
mov ecx, dword [esp + 0x10]
cmp word [ecx], si
jbe 0x437f03
mov ecx, dword [esp + 0x10]
add esi, 4
inc edx
mov eax, dword [ecx + 4]
mov ebp, dword [eax + esi - 4]
xor eax, eax
and dword [ebp + 6], 0xffff7fff
mov ax, word [ecx]
cmp eax, edx
jg 0x437ee4
mov ecx, dword [esp + 0x10]
call fcn.00438180
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4380dc
lea edx, [esp + 0x1a4]
mov ecx, dword [esp + 0x1c]
or dword [eax + 6], 0x8000
mov eax, dword [esp + 0x10]
push eax
push 0x100
call fcn.00437b50
mov edi, eax
mov edx, dword [esp + 0x18]
mov ecx, ebx
mov byte [ebx], 0
call fcn.00437b90
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov ax, word [ecx + 0xa]
cmp eax, 6
jle 0x437f72
mov ecx, 6
dec eax
sub edx, edx
div ecx
mov esi, eax
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.00437b90
dec esi
jne 0x437f64
push edi
push ebx
call dword [0x443414]
mov ecx, dword [esp + 0x10]
call fcn.00438180
mov esi, eax
test esi, esi
je 0x438040
mov ax, word [esi + 0xa]
mov ebp, dword [esp + 0x1c]
add ebp, 0xa
cmp word [ebp], ax
ja 0x438040
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov dx, word [ecx + 0xc]
xor eax, eax
mov ax, word [esi + 0xc]
add edx, 8
cmp edx, eax
jl 0x438040
mov ecx, 0xffffffff
mov dword [esp + 0x1c], esi
or dword [esi + 6], 0x8000
sub eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1a4]
not ecx
dec ecx
push eax
mov dword [esp + 0x24], ecx
push 0x100
mov ecx, esi
call fcn.00437b50
mov edi, eax
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.00437b90
xor eax, eax
xor ecx, ecx
mov ax, word [esi + 0xa]
mov edx, dword [esp + 0x20]
mov cx, word [ebp]
sub eax, ecx
lea ecx, [edx + edx*2]
add ecx, ecx
sub eax, ecx
cmp eax, 0xc
jle 0x437f72
mov ecx, 6
sub eax, 7
sub edx, edx
div ecx
mov esi, eax
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.00437b90
dec esi
jne 0x43802d
jmp 0x437f72
cmp dword [esp + 0x18], 0
jne 0x438082
mov edi, 0x43f048
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
mov edi, ebx
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x18], 0
je 0x438145
push ebx
call dword [0x443408]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
push ebx
imul eax, dword [esp + 0x38]
push eax
push 0
push ecx
call dword [0x44331c]
inc dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x34]
jle 0x437f03
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x14]
push eax
call dword [0x443318]
mov dword [esp + 0x2c], eax
test eax, eax
jl 0x4380dc
cmp dword [0x442d14], 0
je 0x437f03
push ebx
mov esi, dword [0x443394]
call esi
push eax
call dword [0x443398]
push ebx
call esi
push eax
call dword [0x443390]
cmp dword [esp + 0x18], 0
je 0x43815e
cmp dword [esp + 0x2c], 0
jl 0x438123
cmp dword [0x442d14], 0
jne 0x438123
mov eax, dword [esp + 0x14]
push eax
call dword [0x443318]
mov eax, dword [esp + 0x14]
push eax
call dword [0x443314]
mov eax, dword [0x442d40]
push eax
call dword [0x443488]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x443310]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x31c
ret
push ebx
call dword [0x443408]
push eax
push ebx
mov eax, dword [esp + 0x30]
push eax
call dword [0x44340c]
jmp 0x437f03
mov eax, dword [esp + 0x28]
push eax
call dword [0x443410]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x31c
ret