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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58dcd8
sub esp, 0x80
mov ecx, dword [esp + 0x84]
movzx ebx, byte [ecx + 0x3d]
test bl, bl
jne 0x58dc93
mov byte [ecx + 0x3c], 1
jmp 0x58d594
mov edx, ebx
mov eax, ecx
mov ecx, dword [edx + 0x2c]
mov ebx, dword [edx + 0x24]
mov ebp, dword [edx + 0x20]
mov esi, dword [edx + 0x1c]
cmp ecx, ebp
ja 0x58dca2
mov dword [esp + 0x3c], eax
mov eax, dword [edx]
mov edi, dword [edx + 4]
mov eax, dword [eax + 0x10]
sub ebx, ecx
mov dword [esp + 0x58], ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
add ebx, esi
mov dword [esp + 4], ebx
sub ebp, ecx
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp], edi
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
add dword [ebx + 0x2c], edx
test ecx, ecx
jne 0x58d7a5
test edx, edx
jg 0x58d799
mov ecx, dword [esp + 0x3c]
inc ecx
cmp ecx, 0x64
jle 0x58d4e8
mov eax, dword [0xac91f4]
mov dword [esp + 0x78], eax
mov ecx, dword [0xac91f0]
mov dword [esp + 0x54], ecx
mov ebp, dword [ebx + 0x34]
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x58d758
mov ecx, dword [0xac91e0]
cmp ecx, esi
je 0x58d739
mov ecx, ebx
mov ebx, dword [ecx + 0x2c]
mov ebp, dword [ecx + 0x28]
cmp ebx, ebp
jg 0x58d915
mov esi, dword [ecx + 0x30]
test esi, esi
jne 0x58d915
mov edx, dword [ecx + 0x30]
test edx, edx
jne 0x58d8f8
mov edx, dword [ecx + 0x28]
test edx, edx
jle 0x58d8f4
mov ebx, dword [ecx + 0x2c]
mov ebp, dword [ecx + 0x24]
mov esi, dword [ecx + 0x20]
mov eax, ecx
mov ecx, dword [ecx + 0x1c]
cmp ebx, esi
jne 0x58d8de
test ebx, ebx
jl 0x58dcb0
cmp edx, ebx
ja 0x58dcb0
cmp ebx, ebp
ja 0x58dcb0
sub ebx, edx
sub ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and edx, ebp
lea ebp, [ecx + edx]
cmp esi, ebx
jle 0x58d8d7
test edx, edx
je 0x58d61f
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0044d070
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x2c]
sub edx, dword [ecx + 0x28]
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x28], 0
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x20]
cmp edx, ebx
jne 0x58d8d0
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jge 0x58d84b
cmp ebx, 0x3fffffff
jg 0x58d84b
shl ebx, 1
test ebx, ebx
jne 0x58d844
mov eax, 0x1000
cmp eax, edx
jle 0x58d83d
lea eax, [0x7718e0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00438a40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x84]
mov ebp, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
test eax, eax
jl 0x58dca9
cmp edi, eax
ja 0x58dca9
cmp eax, esi
ja 0x58dca9
sub eax, edi
sub esi, edi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and edi, esi
add ebp, edi
cmp ecx, eax
jle 0x58d836
mov dword [esp + 0x30], ecx
mov dword [esp + 0x60], edx
cmp edx, ebp
je 0x58d6f8
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.0044d070
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x84]
mov dword [edx + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 0x24], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x58d825
mov eax, dword [esp + 0x60]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x2c]
sub eax, dword [edx + 0x28]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x28], 0
xor eax, eax
jmp 0x58d4ec
mov dword [esp], esi
mov dword [esp + 4], ebp
mov eax, dword [0xac91e4]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58d78d
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x30], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x58d77c
mov ecx, dword [esp + 0x78]
mov dword [ebx + 0x34], ecx
jmp 0x58d592
lea edi, [ebx + 0x34]
mov eax, dword [esp + 0x78]
call fcn.0044c870
jmp 0x58d592
mov ebx, dword [esp + 0x84]
jmp 0x58d592
mov dword [ebx + 0x38], 0
jmp 0x58d592
mov dword [esp + 0x70], eax
mov dword [esp + 0x48], ecx
mov ebp, dword [ebx + 0x34]
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x58d7e4
mov ecx, dword [0xac91e0]
cmp ecx, esi
jne 0x58d592
mov dword [esp], esi
mov dword [esp + 4], ebp
mov eax, dword [0xac91e4]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58d819
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x30], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x58d808
mov ecx, dword [esp + 0x70]
mov dword [ebx + 0x34], ecx
jmp 0x58d592
lea edi, [ebx + 0x34]
mov eax, dword [esp + 0x70]
call fcn.0044c870
jmp 0x58d592
mov ebx, dword [esp + 0x84]
jmp 0x58d592
lea edi, [edx + 0x1c]
mov eax, dword [esp + 0x60]
call fcn.0044c870
jmp 0x58d722
mov eax, ecx
jmp 0x58d6dc
mov edx, eax
jmp 0x58d672
mov eax, ebx
jmp 0x58d66a
mov eax, dword [0xac8cc4]
mov dword [esp + 0x68], eax
mov edx, dword [0xac8cc0]
mov dword [esp + 0x40], edx
mov ebx, dword [ecx + 0x30]
mov ebp, dword [ecx + 0x34]
test ebx, ebx
je 0x58d8a1
mov esi, dword [0xac91e0]
cmp esi, ebx
je 0x58d882
mov byte [esp + 0x88], 0
add esp, 0x80
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov eax, dword [0xac91e4]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58d873
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
mov dword [edx + 0x30], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x58d8c2
mov eax, dword [esp + 0x68]
mov dword [edx + 0x34], eax
jmp 0x58d873
lea edi, [edx + 0x34]
mov eax, dword [esp + 0x68]
call fcn.0044c870
jmp 0x58d873
mov edx, ecx
jmp 0x58d732
mov ebx, esi
jmp 0x58d60b
mov edi, esi
shr esi, 1
cmp edx, esi
jle 0x58d8ed
mov esi, edi
jmp 0x58d5d9
mov ecx, eax
jmp 0x58d636
mov eax, ecx
jmp 0x58d8ed
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov byte [esp + 0x88], 0
add esp, 0x80
ret
mov eax, dword [ecx + 0x24]
mov esi, dword [ecx + 0x1c]
test ebx, ebx
jl 0x58dcd1
cmp ebp, ebx
ja 0x58dcd1
cmp ebx, eax
ja 0x58dcd1
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 0x30]
test edi, edi
xchg edi, ebx
setne bl
xchg edi, ebx
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
sub eax, ebp
mov edi, eax
neg eax
sar eax, 0x1f
and eax, ebp
add eax, esi
mov dword [esp], eax
sub ebx, ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x5c], edi
test ebx, ebx
jne 0x58db96
mov dword [esp + 0x38], eax
test eax, eax
jge 0x58dacf
mov ecx, dword [0xac8cb4]
mov dword [esp + 0x74], ecx
mov edx, dword [0xac8cb0]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x84]
mov ebp, dword [ebx + 0x34]
mov dword [esp + 0x7c], ebp
mov ebp, dword [ebx + 0x30]
test ebp, ebp
je 0x58da77
mov ecx, dword [0xac91e0]
cmp ecx, ebp
je 0x58da54
xor ecx, ecx
test cl, cl
je 0x58da45
mov dword [ebx + 0x14], esi
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x18], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x58da2f
mov dword [ebx + 0x10], edi
test edi, edi
jne 0x58d9fd
mov ecx, ebx
jmp 0x58d5ad
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x58da08
test eax, eax
jle 0x58da1e
mov dword [ebx + 0x38], 0
mov byte [esp + 0x88], 1
add esp, 0x80
ret
mov eax, dword [ebx + 0x38]
inc eax
mov dword [ebx + 0x38], eax
cmp eax, 0x64
jle 0x58da0f
jmp 0x58dcb7
lea ecx, [ebx + 0x10]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, edx
call fcn.0044c870
mov eax, ebp
mov edi, edx
jmp 0x58d9f2
mov byte [esp + 0x88], 0
add esp, 0x80
ret
mov dword [esp], ebp
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [0xac91e4]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58dab7
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x84]
mov dword [edx + 0x30], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x58daa9
mov ecx, dword [esp + 0x74]
mov dword [edx + 0x34], ecx
mov eax, dword [esp + 0x38]
mov ebx, edx
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x5c]
jmp 0x58d9d5
lea edi, [edx + 0x34]
mov eax, dword [esp + 0x74]
call fcn.0044c870
jmp 0x58da96
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x5c]
jmp 0x58d9d5
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x28]
sub edx, ebx
cmp eax, edx
jle 0x58db84
mov edx, dword [0xac8c8c]
mov dword [esp + 0x6c], edx
mov ebx, dword [0xac8c88]
mov dword [esp + 0x44], ebx
mov ebp, dword [ecx + 0x30]
mov esi, dword [ecx + 0x34]
test ebp, ebp
je 0x58db3a
mov edx, dword [0xac91e0]
cmp edx, ebp
je 0x58db1b
mov ebx, ecx
mov esi, dword [esp + 0x28]
xor ecx, ecx
jmp 0x58d9d7
mov dword [esp], ebp
mov dword [esp + 4], esi
mov eax, dword [0xac91e4]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58db73
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
mov dword [edx + 0x30], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x58db65
mov ecx, dword [esp + 0x6c]
mov dword [edx + 0x34], ecx
mov eax, dword [esp + 0x38]
mov ecx, edx
mov edi, dword [esp + 0x5c]
jmp 0x58db0e
lea edi, [edx + 0x34]
mov eax, dword [esp + 0x6c]
call fcn.0044c870
jmp 0x58db59
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x5c]
jmp 0x58db0e
lea edx, [eax + ebx]
mov dword [ecx + 0x28], edx
mov ebx, ecx
mov ecx, 1
jmp 0x58d9d7
mov dword [esp + 0x64], ecx
mov dword [esp + 0x4c], ebx
mov edx, dword [0xac8c98]
cmp edx, ebx
je 0x58dc20
mov edx, dword [esp + 0x84]
mov ebp, dword [edx + 0x34]
mov esi, dword [edx + 0x30]
test esi, esi
je 0x58dbf1
mov eax, dword [0xac91e0]
cmp eax, esi
je 0x58dbd2
mov byte [esp + 0x88], 0
add esp, 0x80
ret
mov dword [esp], esi
mov dword [esp + 4], ebp
mov eax, dword [0xac91e4]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58dbc3
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
mov dword [edx + 0x30], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x58dc12
mov eax, dword [esp + 0x64]
mov dword [edx + 0x34], eax
jmp 0x58dbc3
lea edi, [edx + 0x34]
mov eax, dword [esp + 0x64]
call fcn.0044c870
jmp 0x58dbc3
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov eax, dword [0xac8c9c]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58dc86
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x84]
mov dword [edx + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0x18], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x58dc78
mov eax, dword [esp + 0x5c]
mov dword [edx + 0x10], eax
mov byte [edx + 0x3d], 1
mov byte [esp + 0x88], 1
add esp, 0x80
ret
lea edi, [edx + 0x10]
mov eax, dword [esp + 0x5c]
call fcn.0044c870
jmp 0x58dc65
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x4c]
jmp 0x58dba8
mov byte [esp + 0x88], 0
add esp, 0x80
ret
call fcn.00426530
ud2
call fcn.00426530
ud2
call fcn.00426530
ud2
lea eax, [0x7716e0]
mov dword [esp], eax
lea eax, [0x841d68]
mov dword [esp + 4], eax
call fcn.00427310
ud2
call fcn.00426530
ud2
call fcn.0044b110
jmp fcn.0058d4b0