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

Disassembly:
push 0xffffffffffffffff
push 0x48b080
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x18]
call fcn.0041f820
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x78], ebp
cmp ebx, ebp
je 0x4371e9
cmp word [esi + ebx*2 - 2], 0x5c
lea eax, [esi + ebx*2 - 2]
je 0x437193
cmp eax, esi
je 0x4371e9
sub eax, 2
cmp word [eax], 0x5c
jne 0x437186
sub eax, esi
sar eax, 1
cmp eax, ebp
jle 0x4371e9
lea ecx, [ebx - 1]
cmp eax, ecx
jne 0x4371e9
cmp ebx, 3
jne 0x4371d5
cmp word [esi + 2], 0x3a
jne 0x4371d5
push esi
mov dword [esp + 0x7c], 0xffffffff
call fcn.00440438
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.004368e0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
call fcn.0041f880
push esi
mov byte [esp + 0x7c], 1
mov edi, ebx
call fcn.00436700
add esp, 4
test al, al
jne 0x4373a5
nop
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4372e2
cmp ebx, ebp
je 0x43745d
cmp word [esi + ebx*2 - 2], 0x5c
lea eax, [esi + ebx*2 - 2]
je 0x437246
cmp eax, esi
je 0x43745d
sub eax, 2
cmp word [eax], 0x5c
jne 0x437235
sub eax, esi
sar eax, 1
mov edi, eax
js 0x43745d
cmp edi, ebp
je 0x43745d
cmp word [esi + edi*2 - 2], 0x3a
je 0x437456
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00420a50
mov ebp, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
cmp ebp, ecx
je 0x4372bb
xor edx, edx
mov word [esi], dx
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x1c], 0
call fcn.0041e990
mov esi, dword [esp + 0x14]
mov edx, dword [ebp]
mov ecx, esi
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4372a3
mov ebx, dword [ebp + 4]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x2c]
push ecx
mov byte [esp + 0x7c], 1
call fcn.00440438
push esi
call fcn.00436700
add esp, 8
test al, al
jne 0x4373a5
xor ebp, ebp
jmp 0x437210
push 3
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
call fcn.0041e990
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 2
call fcn.00437c40
mov byte [esp + 0x78], 1
test al, al
jne 0x437357
mov edx, dword [esp + 0x60]
push edx
call fcn.00440438
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x80], 0
call fcn.00440438
push esi
mov dword [esp + 0x84], 0xffffffff
call fcn.00440438
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x58]
shr ecx, 4
test cl, 1
jne 0x437398
mov edx, dword [esp + 0x60]
push edx
call fcn.00440438
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x80], 0
call fcn.00440438
push esi
mov dword [esp + 0x84], 0xffffffff
call fcn.00440438
add esp, 0xc
jmp 0x437480
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00440438
add esp, 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.0041f920
mov ebp, dword [esp + 0x18]
cmp edi, ebp
mov esi, dword [esp + 0x14]
jge 0x43741d
nop
movzx ecx, word [esi + edi*2 + 2]
lea eax, [esi + edi*2 + 2]
cmp cx, 0x5c
je 0x4373e2
nop
test cx, cx
je 0x4373ea
movzx ecx, word [eax + 2]
add eax, 2
cmp cx, 0x5c
jne 0x4373d0
sub eax, esi
sar eax, 1
mov edi, eax
jns 0x4373ec
mov edi, ebp
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00420a50
mov eax, dword [eax]
push eax
call fcn.00436700
mov ecx, dword [esp + 0x30]
test al, al
push ecx
sete bl
call fcn.00440438
add esp, 8
test bl, bl
jne 0x43745d
cmp edi, ebp
jl 0x4373c0
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x7c], 0
call fcn.00440438
push esi
mov dword [esp + 0x80], 0xffffffff
call fcn.00440438
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x437462
mov edx, dword [esp + 0x20]
push edx
mov byte [esp + 0x7c], 0
call fcn.00440438
push esi
mov dword [esp + 0x80], 0xffffffff
call fcn.00440438
add esp, 8
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret