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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58da66
sub esp, 0x64
mov eax, dword [esp + 0x84]
test eax, eax
je 0x58d323
lea eax, [0x698340]
mov dword [esp], eax
call fcn.0040b800
mov edi, dword [esp + 4]
mov eax, dword [0x8e84e0]
test eax, eax
jne 0x58d11c
mov ebx, dword [esp + 0x68]
mov dword [edi], ebx
jmp 0x58d127
mov eax, dword [esp + 0x68]
call fcn.00463080
mov ebx, eax
mov dword [esp + 0x38], edi
mov ebp, dword [esp + 0x7c]
test ebp, ebp
jne 0x58d167
mov esi, dword [esp + 0x74]
test esi, esi
jne 0x58d141
xor ecx, ecx
xor eax, eax
jmp 0x58d18e
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x38]
jmp 0x58d18e
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], eax
mov edx, ebp
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
cmp esi, 4
jne 0x58d1b4
cmp dword [ebp], 0x78696e75
je 0x58d209
jmp 0x58d22e
cmp esi, 8
jne 0x58d1cd
cmp dword [ebp], 0x78696e75
jne 0x58d22e
cmp dword [ebp + 4], 0x6d617267
je 0x58d209
jmp 0x58d22e
cmp esi, 0xa
jne 0x58d22e
mov dword [esp], ebp
lea eax, [0x6c721c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.004029d0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58d21a
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x38]
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
jmp 0x58d2e7
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x38]
mov ebp, dword [ebx + 0x144]
mov esi, dword [ebx + 0x140]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x58da5c
movzx edi, byte [ebp + esi - 1]
xchg edi, eax
cmp al, 0x34
xchg edi, eax
je 0x58d258
xchg edi, eax
cmp al, 0x36
xchg edi, eax
jne 0x58d268
mov edi, dword [esp + 0x38]
mov edi, esi
mov esi, ebp
mov ebp, edi
mov edi, dword [esp + 0x38]
jmp 0x58d2e7
cmp dword [ebx + 0x134], 2
jne 0x58d2ad
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x737876]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044ef90
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
jmp 0x58d2e7
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x73896c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044ef90
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x73a894]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x58da4a
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x58d331
xor ebp, ebp
xor esi, esi
jmp 0x58d3aa
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x58da38
test ebp, ebp
je 0x58d3aa
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0049cc10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x58d9cd
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x58d470
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edx, edx
jne 0x58d45e
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.0057f8a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x58d44c
mov eax, dword [esp + 0x68]
mov byte [eax + 0x13c], 1
jmp 0x58d498
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0057f790
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x58d9bb
mov eax, dword [esp + 0x68]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], ebp
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0049ccf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x58d671
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x58d4fb
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x58d4e1
lea ebp, [0x6e0978]
jmp 0x58d538
cmp ebp, 2
jne 0x58d4ee
lea ebp, [0x6e0970]
jmp 0x58d538
cmp ebp, 5
jne 0x58d532
lea ebp, [0x6e0974]
jmp 0x58d538
cmp ebp, 2
je 0x58d505
cmp ebp, 0x17
jne 0x58d532
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x58d518
lea ebp, [0x6e0968]
jmp 0x58d538
cmp ebp, 2
jne 0x58d525
lea ebp, [0x6e096c]
jmp 0x58d538
cmp ebp, 3
jne 0x58d532
lea ebp, [0x6e0964]
jmp 0x58d538
lea ebp, [0x6e091c]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x58d592
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x58d578
lea ecx, [0x6e0978]
jmp 0x58d5cf
cmp ecx, 2
jne 0x58d585
lea ecx, [0x6e0970]
jmp 0x58d5cf
cmp ecx, 5
jne 0x58d5c9
lea ecx, [0x6e0974]
jmp 0x58d5cf
cmp ecx, 2
je 0x58d59c
cmp ecx, 0x17
jne 0x58d5c9
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x58d5af
lea ecx, [0x6e0968]
jmp 0x58d5cf
cmp ecx, 2
jne 0x58d5bc
lea ecx, [0x6e096c]
jmp 0x58d5cf
cmp ecx, 3
jne 0x58d5c9
lea ecx, [0x6e0964]
jmp 0x58d5cf
lea ecx, [0x6e0920]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x8e84e0]
test ebx, ebx
jne 0x58d610
mov edx, dword [esp + 0x4c]
mov dword [ebp + 0x14c], edx
jmp 0x58d623
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x4c]
call fcn.00463080
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x58d63b
mov dword [ebp + 0x154], eax
jmp 0x58d646
lea edi, [ebp + 0x154]
call fcn.00463080
lea eax, [0x6bfd40]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x68a780]
mov dword [esp + 8], eax
lea eax, [0x6e0918]
mov dword [esp + 0xc], eax
call fcn.00415ba0
jmp 0x58d9a1
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0049cdd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test edx, edx
je 0x58d85b
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x58d6e0
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x58d6c6
lea edx, [0x6e0978]
jmp 0x58d71d
cmp ebp, 2
jne 0x58d6d3
lea edx, [0x6e0970]
jmp 0x58d71d
cmp ebp, 5
jne 0x58d717
lea edx, [0x6e0974]
jmp 0x58d71d
cmp ebp, 2
je 0x58d6ea
cmp ebp, 0x17
jne 0x58d717
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x58d6fd
lea edx, [0x6e0968]
jmp 0x58d71d
cmp ebp, 2
jne 0x58d70a
lea edx, [0x6e096c]
jmp 0x58d71d
cmp ebp, 3
jne 0x58d717
lea edx, [0x6e0964]
jmp 0x58d71d
lea edx, [0x6e0924]
mov eax, dword [edx]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x58d77c
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x58d762
lea ecx, [0x6e0978]
jmp 0x58d7b9
cmp ecx, 2
jne 0x58d76f
lea ecx, [0x6e0970]
jmp 0x58d7b9
cmp ecx, 5
jne 0x58d7b3
lea ecx, [0x6e0974]
jmp 0x58d7b9
cmp ecx, 2
je 0x58d786
cmp ecx, 0x17
jne 0x58d7b3
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x58d799
lea ecx, [0x6e0968]
jmp 0x58d7b9
cmp ecx, 2
jne 0x58d7a6
lea ecx, [0x6e096c]
jmp 0x58d7b9
cmp ecx, 3
jne 0x58d7b3
lea ecx, [0x6e0964]
jmp 0x58d7b9
lea ecx, [0x6e0928]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x8e84e0]
test ebx, ebx
jne 0x58d7fa
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x14c], edx
jmp 0x58d80d
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.00463080
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x58d825
mov dword [ebp + 0x154], eax
jmp 0x58d830
lea edi, [ebp + 0x154]
call fcn.00463080
lea eax, [0x6bfd40]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x68a780]
mov dword [esp + 8], eax
lea eax, [0x6e0918]
mov dword [esp + 0xc], eax
call fcn.00415ba0
jmp 0x58d9a1
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x58d897
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x58d87d
lea ecx, [0x6e0978]
jmp 0x58d8d4
cmp ecx, 2
jne 0x58d88a
lea ecx, [0x6e0970]
jmp 0x58d8d4
cmp ecx, 5
jne 0x58d8ce
lea ecx, [0x6e0974]
jmp 0x58d8d4
cmp ecx, 2
je 0x58d8a1
cmp ecx, 0x17
jne 0x58d8ce
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x58d8b4
lea ecx, [0x6e0968]
jmp 0x58d8d4
cmp ecx, 2
jne 0x58d8c1
lea ecx, [0x6e096c]
jmp 0x58d8d4
cmp ecx, 3
jne 0x58d8ce
lea ecx, [0x6e0964]
jmp 0x58d8d4
lea ecx, [0x6e092c]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
lea ebx, [0x699760]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
call fcn.004092e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x148], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x58d937
mov ecx, dword [esp + 0x44]
mov dword [ebx + 0x14c], ecx
jmp 0x58d94a
lea edi, [ebx + 0x14c]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.00463080
mov eax, ecx
mov dword [ebx + 0x150], eax
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x58d969
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x154], eax
jmp 0x58d97b
lea edi, [ebx + 0x154]
mov eax, dword [esp + 0x80]
call fcn.00463080
lea eax, [0x6bfd40]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x68a780]
mov dword [esp + 8], eax
lea eax, [0x6e0918]
mov dword [esp + 0xc], eax
call fcn.00415ba0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], edx
lea eax, [0x69eee0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x6c58b8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x58da10
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
jmp 0x58da20
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00463080
mov eax, ecx
lea ecx, [0x7397ec]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x64
ret
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
mov eax, edi
mov ecx, ebp
call fcn.00463100
nop
call fcn.00461c70
jmp fcn.0058d0d0