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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov ebp, dword [esp + 0x78]
test esi, esi
sete byte [esp + 0x34]
cmp ebx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
jne 0x437130
cmp byte [esp + 0x34], 0
je 0x437130
test ebp, ebp
je 0x437250
lea eax, [ebx + ebp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
lea edi, [ebx + esi]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436f50
add esi, ebp
js 0x437520
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 0xf
jle 0x4370f2
mov eax, ebx
mov edx, esi
sar eax, 1
neg edx
lea ecx, [eax + esi]
mov dword [esp + 0x38], eax
lea edi, [eax + ebp]
shl eax, 2
mov dword [esp + 0x3c], edx
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov dword [esp + 0x4c], ecx
add eax, edx
mov edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00438a00
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp], eax
mov dword [esp + 0x44], eax
call fcn.00438a00
mov edx, dword [esp + 0x48]
lea edx, [edx + edx*2]
lea eax, [eax + edx + 4]
cmp eax, 8
ja case.default.0x4371be
mov ecx, dword [esp + 0x4c]
jmp dword [eax*4 + 0x5216f8]
mov eax, 1
mov dword [esp + 0x3c], 0
cmp byte [esp + 0x34], 0
je 0x4372c0
cmp dword [esp + 0x38], 8
jne 0x4372c0
test ebp, ebp
jne 0x4372c0
test eax, eax
lea ebp, [ebx*4]
je 0x437550
mov eax, dword [esp + 0x28]
mov edx, 0x40
lea esi, [eax + ebp]
test esi, 1
mov edi, esi
jne 0x4375bd
test edi, 2
jne 0x4375ac
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x43723c
xor ecx, ecx
add edi, 2
mov word [edi - 2], cx
and edx, 1
je 0x437244
mov byte [edi], 0
mov edi, esi
jmp 0x43756d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0043f970
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], esi
call fcn.00436b20
mov edx, ebp
mov eax, dword [esp + 0x28]
neg edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
add eax, dword [esp + 0x2c]
mov dword [esp], edi
call fcn.00436b20
xor eax, eax
cmp byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jne 0x4371dd
lea esi, [esi]
mov edi, dword [esp + 0x28]
test eax, eax
lea eax, [ebx*4]
mov dword [esp + 0x48], eax
lea edi, [edi + ebx*8]
mov dword [esp + 0x34], edi
jne 0x437500
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, edx
add edi, eax
mov eax, dword [esp + 0x34]
add ecx, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, edi
call fcn.004370b0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], 0
call fcn.004370b0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp + 0x24], eax
call fcn.004370b0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0043f710
mov dword [esp + 0xc], ebx
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4374e0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0043f840
sub esi, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.0043f710
add esi, eax
je 0x437124
add ebx, dword [esp + 0x38]
lea edx, [ebp + ebx*4]
mov eax, dword [edx]
add eax, esi
cmp esi, eax
mov dword [edx], eax
jbe 0x437124
add edx, 4
add dword [edx], 1
je 0x4373f6
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call fcn.00436b20
mov edx, ebp
mov eax, dword [esp + 0x28]
neg edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
add eax, dword [esp + 0x2c]
mov dword [esp], edi
call fcn.00436b20
xor eax, eax
mov dword [esp + 0x3c], 1
jmp 0x4371d2
mov eax, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call fcn.00436b20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
add eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00436b20
xor eax, eax
mov dword [esp + 0x3c], 0
jmp 0x4371d2
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], esi
call fcn.00436b20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
add eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00436b20
xor eax, eax
mov dword [esp + 0x3c], 1
jmp 0x4371d2
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.0043f710
add esi, eax
jmp 0x4373ba
mov edi, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
add edi, eax
mov dword [esp], edi
call sub.msvcrt.dll_memset
jmp 0x437312
mov eax, dword [esp + 0x20]
add ebx, edi
neg esi
add ebx, ebp
shl esi, 2
mov dword [esp + 0x78], esi
lea eax, [eax + ebx*4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_memset
mov esi, dword [esp + 0x28]
mov eax, esi
add eax, dword [esp + 0x2c]
lea edi, [esi + ebp]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0043f970
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], esi
add ebp, esi
mov dword [esp + 4], eax
call fcn.0043f970
mov eax, dword [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0043f970
jmp 0x437372
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x437225
mov byte [esi], 0
lea edi, [esi + 1]
mov dl, 0x3f
jmp 0x437219