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

Disassembly:
push 0xffffffffffffffff
push 0x628078
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x682d00]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x1f4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x208]
mov bl, byte [esi + 8]
mov edi, dword [esp + 0x204]
shr bl, 4
and bl, 0xf
lea ecx, [esp + 0x28]
mov byte [esp + 0x13], bl
call fcn.00516a20
lea ecx, [esp + 0x84]
mov dword [esp + 0x1fc], 0
call fcn.0051a860
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1fc], 1
call fcn.0051a860
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 2
call fcn.0051fdc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1fc], 3
call fcn.0051fdc0
push esi
lea ecx, [esp + 0xd0]
mov byte [esp + 0x200], 4
call fcn.00570df0
mov eax, dword [esp + 0xd8]
mov byte [esp + 0x1fc], 5
cmp eax, dword [esp + 0xdc]
ja 0x58d2c1
lea esp, [esp]
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 0x11
je 0x58d288
cmp eax, 0x16
je 0x58d220
cmp eax, 0x20
jne 0x58d2a1
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x24]
lea edx, [edx + edx - 4]
cmp edx, eax
jg 0x58d1a4
push 0
push eax
lea eax, [esp + 0x58]
push eax
mov esi, ecx
call fcn.0057fe60
push eax
add esi, 4
push esi
lea ecx, [esp + 0x78]
call fcn.0057c9e0
push eax
push edi
mov byte [esp + 0x204], 7
call fcn.00589f20
add esp, 8
test eax, eax
lea ecx, [esp + 0x68]
sete bl
mov byte [esp + 0x1fc], 5
call fcn.0057ca70
test bl, bl
jne 0x58d35f
mov bl, byte [esp + 0x13]
jmp 0x58d2a1
test dword [ecx + 0x18], 0xfffffffd
je 0x58d1ee
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.00581070
lea ecx, [esp + 0x84]
push ecx
push edi
call fcn.00533a90
add esp, 8
test eax, eax
je 0x58d35f
lea edx, [esp + 0xa8]
push edx
push edi
call fcn.00533a90
jmp 0x58d296
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00580ad0
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00533de0
add esp, 8
test eax, eax
je 0x58d35f
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.00533de0
jmp 0x58d296
cmp bl, 1
jne 0x58d278
mov ecx, dword [esp + 0xec]
call fcn.00520ca0
test eax, eax
je 0x58d278
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x58]
push eax
call edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x200], 6
call fcn.00516f40
lea ecx, [esp + 0x58]
mov byte [esp + 0x1fc], 5
call fcn.0051a4a0
lea eax, [esp + 0x28]
push eax
push edi
call fcn.005347a0
jmp 0x58d296
mov ecx, dword [esp + 0xec]
push ecx
push edi
call fcn.00589f20
jmp 0x58d296
mov edx, dword [esp + 0xec]
push edx
push edi
call fcn.0058cec0
add esp, 8
test eax, eax
je 0x58d35f
lea ecx, [esp + 0xcc]
call fcn.005710d0
mov eax, dword [esp + 0xd8]
cmp eax, dword [esp + 0xdc]
jbe 0x58d110
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1fc], 4
call fcn.00570110
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1fc], 3
call fcn.0051fe50
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 2
call fcn.0051fe50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1fc], 1
call fcn.0051b350
lea ecx, [esp + 0x84]
mov byte [esp + 0x1fc], 0
call fcn.0051b350
lea ecx, [esp + 0x28]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.00516b60
mov eax, 1
mov ecx, dword [esp + 0x1f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.005f9aee
add esp, 0x1f0
ret
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1fc], 4
call fcn.00570110
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1fc], 3
call fcn.0051fe50
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 2
call fcn.0051fe50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1fc], 1
call fcn.0051b350
lea ecx, [esp + 0x84]
mov byte [esp + 0x1fc], 0
call fcn.0051b350
lea ecx, [esp + 0x28]
mov dword [esp + 0x1fc], 0xffffffff
call fcn.00516b60
xor eax, eax
jmp 0x58d338