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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x58f305
sub esp, 0xcc
mov dword [esp + 0xe0], 0
mov eax, dword [esp + 0xd0]
cmp dword [eax + 0xc], 1
jle 0x58e873
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x58f310]
mov dword [esp + 0x70], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x74], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
mov dword [esp], eax
call fcn.00435e50
test eax, eax
jne 0x58ed57
mov eax, dword [esp + 0xd0]
movzx ecx, byte [eax + 1]
test cl, cl
jne 0x58e88d
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x58e8ba
movzx ecx, byte [ecx]
test cl, cl
je 0x58e8ba
mov ecx, dword [eax + 4]
cmp dword [eax + 8], 7
jne 0x58e8b3
cmp dword [ecx], 0x646e6977
jne 0x58e8b3
cmp word [ecx + 4], 0x776f
jne 0x58e8b3
cmp byte [ecx + 6], 0x73
jne 0x58e8b3
mov ecx, 4
jmp 0x58e8bc
mov ecx, 1
jmp 0x58e8bc
xor ecx, ecx
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
cmp ebx, 7
jne 0x58e8dd
cmp dword [edx], 0x646e6977
jne 0x58e8dd
cmp word [edx + 4], 0x776f
jne 0x58e8dd
cmp byte [edx + 6], 0x73
je 0x58e8f0
cmp ebx, 5
jne 0x58e903
cmp dword [edx], 0x6e616c70
jne 0x58e903
cmp byte [edx + 4], 0x39
jne 0x58e903
mov dword [esp + 0xe0], ecx
call fcn.00436440
add esp, 0xcc
ret
movzx ebp, byte [eax]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x58e938
mov ebp, dword [eax + 0x14]
movzx ebp, byte [ebp + 0x29]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x58e938
mov dword [esp + 0x24], ecx
cmp ebx, 7
jne 0x58e94b
cmp dword [edx], 0x72646e61
jne 0x58e94b
cmp word [edx + 4], 0x696f
jne 0x58e94b
cmp byte [edx + 6], 0x64
jne 0x58e94b
mov dword [esp + 0xe0], ecx
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x5c
call fcn.00402a40
cmp dword [esp + 0xc], 0xffffffff
jne 0x58e997
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x25
call fcn.00402a40
cmp dword [esp + 0xc], 0xffffffff
je 0x58e9ae
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov ebx, dword [esp + 0xd0]
mov ebp, dword [ebx + 4]
cmp dword [ebx + 8], 7
jne 0x58eb71
cmp dword [ebp], 0x6e65706f
jne 0x58eb71
cmp word [ebp + 4], 0x7362
jne 0x58eb71
cmp byte [ebp + 6], 0x64
jne 0x58eb71
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [0x8e6c10]
mov ebp, dword [0x8e6c14]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.004b96c0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x58eb5a
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x58eb43
cmp eax, 2
jg 0x58eb2c
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
cmp ebx, 4
jne 0x58eb15
cmp dword [edx], 0x646e6962
jne 0x58eaad
cmp eax, 2
jne 0x58ea96
mov eax, dword [ecx + 8]
cmp dword [ecx + 0xc], 4
jne 0x58ea7f
cmp dword [eax], 0x656c6966
jne 0x58ea7f
mov dword [esp + 0xe0], 2
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov dword [esp + 0xe0], 4
call fcn.00436440
add esp, 0xcc
ret
cmp ebx, 4
jne 0x58eb15
cmp dword [edx], 0x656c6966
jne 0x58eb15
cmp eax, 2
jne 0x58eafe
mov eax, dword [ecx + 8]
cmp dword [ecx + 0xc], 4
jne 0x58eae7
cmp dword [eax], 0x646e6962
jne 0x58eae7
mov dword [esp + 0xe0], 1
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov dword [esp + 0xe0], 3
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov dword [esp + 0xe0], 2
call fcn.00436440
add esp, 0xcc
ret
mov dword [esp + 0xe0], 3
call fcn.00436440
add esp, 0xcc
ret
mov ecx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd8]
cmp ecx, 1
jl 0x58ebbb
lea eax, [ecx - 1]
cmp ecx, eax
jb 0x58f2ff
lea eax, [ecx + ebp - 1]
mov dword [esp], eax
lea eax, [0x6cdabc]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.004029d0
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0xd0]
jmp 0x58ebbd
xor eax, eax
test al, al
je 0x58ebda
mov edx, dword [esp + 0xdc]
lea ecx, [edx - 1]
cmp edx, ecx
jb 0x58f2fa
mov dword [esp + 0xdc], ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6ce85f]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 6
call fcn.005a53b0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x58ed40
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [ecx + 8]
lea ebx, [0x698840]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [0x6ce65b]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 5
call fcn.0040fd30
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [0x8e6c10]
mov edi, dword [0x8e6c14]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call fcn.004b96c0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x58ecec
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x58ec9b
mov ecx, dword [esp + 0x18]
jmp 0x58eca5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x58ecec
test eax, eax
jne 0x58ecd5
test ecx, ecx
je 0x58ecc6
mov eax, dword [esp + 0x58]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x30], edx
xor edx, edx
jmp 0x58ee42
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x58ed63
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 4]
cmp dword [eax + 8], 7
jne 0x58ed29
cmp dword [ecx], 0x616c6f73
jne 0x58ed29
cmp word [ecx + 4], 0x6972
jne 0x58ed29
cmp byte [ecx + 6], 0x73
jne 0x58ed29
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov dword [esp + 0xe0], 1
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
call fcn.00436440
add esp, 0xcc
ret
test cl, cl
je 0x58ed8d
mov ecx, dword [esp + 0xd0]
movzx ecx, byte [ecx + 3]
test cl, cl
je 0x58ed8d
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
test dl, dl
je 0x58edf1
test al, al
je 0x58edd6
cmp ebp, 5
jne 0x58edbf
cmp dword [ebx], 0x656c6966
jne 0x58edbf
cmp byte [ebx + 4], 0x73
jne 0x58edbf
mov dword [esp + 0xe0], 1
call fcn.00436440
add esp, 0xcc
ret
mov dword [esp + 0xe0], 2
call fcn.00436440
add esp, 0xcc
ret
test dl, dl
je 0x58edf1
mov dword [esp + 0xe0], 3
call fcn.00436440
add esp, 0xcc
ret
test al, al
je 0x58ee0c
mov dword [esp + 0xe0], 4
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov ecx, dword [esp + 0x6c]
add ecx, 0x14
mov dword [esp + 0x30], eax
mov eax, ecx
mov ecx, dword [esp + 0x18]
mov ecx, ebx
mov ebx, edi
mov edi, ebp
mov ebp, esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], esi
xchg edi, eax
mov byte [esp + 0x15], al
xchg edi, eax
mov dword [esp + 0x6c], eax
xchg ebp, eax
mov byte [esp + 0x16], al
xchg ebp, eax
mov byte [esp + 0x17], bl
lea edi, [esp + 0x7c]
mov esi, eax
call fcn.0046384e
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x80], 0xa
jne 0x58eeb0
mov dword [esp], ecx
lea eax, [0x6cfe22]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004029d0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x58ef63
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
movzx ebx, byte [esp + 0x17]
movzx ebp, byte [esp + 0x16]
mov ecx, dword [esp + 0x7c]
mov esi, eax
mov eax, dword [esp + 0x80]
cmp eax, 5
jne 0x58eed0
cmp dword [ecx], 0x656c6966
jne 0x58eed0
cmp byte [ecx + 4], 0x73
je 0x58eee2
cmp eax, 3
jne 0x58ef17
cmp word [ecx], 0x6e64
jne 0x58ef17
cmp byte [ecx + 2], 0x73
jne 0x58ef17
lea edi, [esp + 0x90]
mov eax, esi
lea esi, [esp + 0x7c]
call fcn.0046384e
mov ecx, dword [esp + 0x9c]
mov esi, eax
mov eax, dword [esp + 0x98]
test ecx, ecx
je 0x58f0e1
mov dword [esp + 0x2c], ecx
xor edi, edi
jmp 0x58f14f
cmp eax, 4
jl 0x58f005
mov dword [esp], ecx
lea eax, [0x6ce322]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004029d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58f005
movzx eax, byte [esp + 0x16]
movzx ecx, byte [esp + 0x17]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
mov ebp, 1
jmp 0x58efeb
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0058f630
movzx eax, byte [esp + 8]
test al, al
jne 0x58f01c
mov ecx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xd8]
nop
cmp ecx, 7
jne 0x58efa5
xor eax, eax
jmp 0x58f09b
mov edx, dword [0x8e0568]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp]
test eax, eax
jne 0x58f033
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd8]
cmp ecx, edx
jne 0x58efd4
xor eax, eax
jmp 0x58f051
movzx eax, byte [esp + 0x16]
movzx ecx, byte [esp + 0x17]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
movzx ebp, byte [esp + 0x15]
mov esi, eax
mov eax, dword [esp + 0x30]
inc eax
mov edi, ecx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jg 0x58ee23
jmp 0x58f086
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
inc eax
mov edx, esi
mov ebx, edi
mov ebp, ecx
cmp eax, edx
jge 0x58f033
jae 0x58f093
mov ecx, ebp
movzx ebp, byte [eax + ebp]
mov esi, edx
lea edx, [ebp - 0x41]
cmp dl, 0x19
ja 0x58f06a
add ebp, 0x20
movzx edx, byte [eax + ebx]
mov edi, ebx
lea ebx, [edx - 0x41]
cmp bl, 0x19
ja 0x58f07b
add edx, 0x20
xchg ebp, eax
cmp dl, al
xchg ebp, eax
je 0x58f04a
jmp 0x58efd4
mov eax, edi
mov ecx, ebp
mov ebp, edx
mov edx, esi
jmp 0x58ed63
mov ecx, edx
call fcn.00463150
inc eax
cmp eax, ecx
jge 0x58f01c
jae 0x58f0dc
movzx ebp, byte [eax + ebx]
lea esi, [ebp - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x58f0b6
add ebp, 0x20
lea esi, [0x6cef99]
movzx edi, byte [eax + esi]
lea esi, [edi - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x58f0cd
add edi, 0x20
xchg edi, eax
xchg ebp, ebx
cmp al, bl
xchg ebp, ebx
xchg edi, eax
je 0x58f09a
jmp 0x58efa5
call fcn.00463150
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
cmp ecx, 5
jne 0x58f106
cmp dword [eax], 0x656c6966
jne 0x58f106
cmp byte [eax + 4], 0x73
jne 0x58f106
mov ebp, 1
jmp 0x58f11d
cmp ecx, 3
jne 0x58f11d
cmp word [eax], 0x6e64
jne 0x58f11d
cmp byte [eax + 2], 0x73
jne 0x58f11d
mov ebx, 1
test edx, edx
je 0x58f127
mov ecx, edx
mov eax, dword [esp + 0x60]
mov edx, ecx
mov ecx, ebx
mov ebx, eax
mov eax, ebp
movzx ebp, byte [esp + 0x15]
jmp 0x58efeb
add eax, 0x14
mov edx, edi
movzx ebx, byte [esp + 0x17]
mov ebp, esi
mov esi, dword [esp + 0x6c]
mov edi, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
lea edi, [esp + 0xa4]
mov esi, eax
call fcn.0046384e
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0xb8]
lea esi, [esp + 0xa4]
call fcn.0046384e
movzx ecx, byte [esp + 0xb8]
test cl, cl
je 0x58f19a
mov ebx, dword [esp + 0x1c]
mov esi, ebp
mov edi, edx
xor ecx, ecx
jmp 0x58f2be
mov ecx, dword [esp + 0xbc]
mov esi, ebp
mov ebp, dword [esp + 0xc0]
cmp ebp, 7
jne 0x58f1f5
cmp dword [ecx], 0x63637573
jne 0x58f1d2
cmp word [ecx + 4], 0x7365
jne 0x58f1d2
cmp byte [ecx + 6], 0x73
jne 0x58f1d2
mov ecx, 6
lea ebp, [0x6ceb89]
jmp 0x58f233
cmp dword [ecx], 0x76616e75
jne 0x58f2b6
cmp word [ecx + 4], 0x6961
jne 0x58f2b6
cmp byte [ecx + 6], 0x6c
je 0x58f228
jmp 0x58f2b6
cmp ebp, 8
jne 0x58f2b6
cmp dword [ecx], 0x66746f6e
jne 0x58f20f
cmp dword [ecx + 4], 0x646e756f
je 0x58f228
cmp dword [ecx], 0x61797274
jne 0x58f2b6
cmp dword [ecx + 4], 0x6e696167
jne 0x58f2b6
mov ecx, 8
lea ebp, [0x6cf384]
mov edi, edx
mov edx, dword [esp + 0x28]
dec edx
mov ebx, dword [esp + 0x1c]
cmp ebx, edx
jne 0x58f26a
mov edx, dword [esp + 0xc4]
cmp dword [esp + 0xc8], 6
jne 0x58f26a
cmp dword [edx], 0x75746572
jne 0x58f26a
cmp word [edx + 4], 0x6e72
jne 0x58f26a
mov ecx, 1
jmp 0x58f2be
mov dword [esp + 0x64], ebp
mov edx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
cmp ecx, edx
je 0x58f284
xor ecx, ecx
jmp 0x58f2be
mov dword [esp + 0x68], eax
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004029d0
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x1c]
movzx esi, byte [esp + 0x16]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x68]
jmp 0x58f2be
mov ebx, dword [esp + 0x1c]
mov edi, edx
xor ecx, ecx
test cl, cl
je 0x58f2e3
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jg 0x58f139
mov edx, edi
movzx ebx, byte [esp + 0x17]
mov ebp, esi
mov esi, dword [esp + 0x6c]
jmp 0x58f0e1
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436440
add esp, 0xcc
ret
call fcn.00463170
call fcn.004631b0
nop
call fcn.00461cc0
jmp fcn.0058e7e0