Function at 0x58ecc0
Capabilities:
Check for software breakpoints
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58f25a
sub esp, 0x60
lea eax, [0x60e8c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
lea edx, [0x61e7e0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xe
call fcn.0040dc40
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 1
jg 0x58f084
mov ebx, dword [esp + 0x70]
cmp ebx, 4
jne 0x58f07d
mov ebx, dword [esp + 0x6c]
mov ebx, dword [ebx]
cmp ebx, 0x44414548
sete bl
test bl, bl
je 0x58ee2e
movzx ebx, byte [esp + 0x64]
test bl, bl
je 0x58ed73
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
test edx, edx
jle 0x58ed43
cmp edx, 1
jne 0x58ed8e
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
cmp ebp, 1
jne 0x58ed8e
movzx ebx, byte [ebx]
cmp bl, 0x30
je 0x58ed43
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea eax, [0x5d2920]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.00407320
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x62ae8a]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498df0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x60
ret
mov eax, 0x51eb851f
mov ebx, dword [esp + 0x68]
mov ebp, edx
imul ebx
mov esi, ebx
sar ebx, 0x1f
sar edx, 5
sub edx, ebx
cmp edx, 1
je 0x58f04d
cmp esi, 0xcc
jne 0x58ee86
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
cmp esi, 0x130
je 0x58ee56
mov eax, dword [esp + 0x7c]
test eax, eax
jle 0x58f046
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, 7
jne 0x58f03f
mov edx, dword [eax]
cmp edx, 0x6e756863
jne 0x58f038
movzx edx, word [eax + 4]
cmp dx, 0x656b
jne 0x58f031
movzx eax, byte [eax + 6]
cmp al, 0x64
sete al
test al, al
jne 0x58f001
cmp ebp, 1
je 0x58efe3
xor eax, eax
xor ecx, ecx
test ecx, ecx
je 0x58ef5c
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00590010
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x58ef34
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edx
add esp, 0x60
ret
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea eax, [0x61e7e0]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
call fcn.00586960
movzx eax, byte [esp + 0x64]
test al, al
je 0x58efb3
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004a5ec0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
jmp 0x58eee8
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
xor eax, eax
jmp 0x58eed3
xor eax, eax
jmp 0x58eed3
xor eax, eax
jmp 0x58eed3
xor eax, eax
jmp 0x58eed3
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
xor ebx, ebx
jmp 0x58ed32
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004a5ec0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x20]
lea ebx, [edx - 1]
mov dword [esp + 0x2c], ebx
xor ebp, ebp
jmp 0x58f0d7
mov esi, dword [esp + 0x28]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
cmp ebp, ebx
jge 0x58f1d5
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x34]
lea ecx, [eax + ebp*8 + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004a5ec0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
cmp edx, eax
jne 0x58f129
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00402170
movzx eax, byte [esp + 0xc]
test al, al
jne 0x58f0c0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [0x5d2920]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00407320
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [0x62ca13]
mov dword [esp], eax
mov dword [esp + 4], 0x44
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498df0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x60
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea ecx, [0x61e7e0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xe
call fcn.00586960
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea ecx, [0x61e7e0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xe
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
call fcn.00586870
lea eax, [0x60e8c0]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
lea ecx, [0x61e7e0]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xe
call fcn.0040dc40
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
jmp 0x58ed16
call fcn.00449f20
jmp fcn.0058ecc0