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

Disassembly:
jmp 0x58b960
sub esp, 0x218
mov eax, dword [0x93e25c]
push ebx
mov ebx, dword [esp + 0x234]
mov dword [esp + 0x218], eax
push 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov eax, ebx
mov dword [esp + 0x3c], 0
call fcn.0058a710
add esp, 0xc
test eax, eax
mov dword [esp + 8], eax
jne 0x58b9b9
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x214]
call fcn.006cedd0
add esp, 0x218
ret
push esi
mov esi, dword [esp + 0x234]
push edi
mov edi, dword [esp + 0x248]
test edi, edi
jne 0x58b9e8
mov edx, dword [esi + 0x5c]
mov eax, dword [esp + 0x228]
mov ecx, dword [eax + 0x14]
push edx
push ecx
push 0
call fcn.0040b0a0
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 0x40]
test al, 1
jne 0x58b9f2
inc dword [esi + 0x64]
mov edx, dword [esp + 0xc]
push ebp
mov ebp, dword [esi + 0x64]
push edi
add ebp, 7
shr ebp, 3
push ebp
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ebx
lea ebx, [esp + 0x11c]
call fcn.0058b2d0
add esp, 0x18
test eax, eax
je 0x58baad
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005d8be0
mov eax, dword [esp + 0x230]
mov ecx, dword [eax + 0x2bc]
add esp, 4
cmp ecx, 0x45d
jne 0x58bc9b
mov ebx, dword [esp + 0x240]
mov byte [eax + 0xb5], 0
push 1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, ebx
call fcn.0058a710
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
je 0x58bc9b
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push edi
push ebp
push ecx
push edx
push eax
push ebx
lea ebx, [esp + 0x11c]
call fcn.0058b2d0
add esp, 0x18
test eax, eax
je 0x58baad
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005d8be0
add esp, 4
jmp 0x58bc9b
movzx edi, word [esp + 0x20e]
mov edx, dword [esi + 0x5c]
push edx
mov dword [esp + 0x2c], edi
call fcn.0040b12c
add esp, 4
mov dword [esp + 0x2c], eax
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x58bad0
mov ebx, dword [esp + 0x244]
sub eax, ecx
mov ecx, dword [esi + 0xc]
push ebx
lea edx, [eax + ecx + 4]
mov ecx, dword [esp + 0x23c]
push esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x23c]
push edi
push ecx
mov ecx, dword [esp + 0x240]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x248]
push edx
push eax
push ecx
call fcn.00402144
mov edi, eax
add esp, 0x20
test edi, edi
jge 0x58bb36
mov edx, dword [esp + 0x14]
push edx
call fcn.005d8be0
add esp, 4
jmp 0x58bc9b
mov eax, dword [esp + 0x73]
push 0
push eax
mov dword [esp + 0x2c], eax
call fcn.005d8b50
mov ecx, dword [esp + 0x250]
push ebp
push ecx
push ebx
push eax
mov dword [esp + 0x28], eax
call fcn.0058a560
lea edx, [esp + 0x4c]
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x60]
push eax
push edi
call fcn.00403733
push 0x73a01c
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x70]
push edx
push edi
call fcn.00401d2f
add esp, 0x34
test eax, eax
mov dword [esp + 0x20], eax
je 0x58bc67
movzx eax, word [esp + 0x104]
add eax, 0x3e8
push eax
call fcn.00409336
mov ecx, dword [esp + 0x24]
mov word [esp + 0x10a], ax
add eax, ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x52], eax
mov eax, 1
add esp, 4
cmp ecx, eax
jne 0x58bbe2
mov ecx, dword [esi + 0x2c]
test ecx, ecx
jne 0x58bbe2
cmp dword [esi + 0x30], eax
jne 0x58bbe2
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x58bbe2
test ebx, ebx
mov byte [esp + 0x5e], 1
je 0x58bbe7
mov byte [esp + 0x5e], 0
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
mov dx, word [esp + 0x1c]
mov ecx, dword [0x9749e0]
push 0x3c
add ebx, eax
push ebx
push eax
mov word [esp + 0x6c], dx
mov edx, dword [ecx + 0x64]
push ecx
call dword [edx + 0x10]
mov ebx, eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp ebx, eax
jae 0x58bcf5
mov eax, dword [esp + 0x238]
push eax
push str.Too_long_comment_for_table__s
lea ecx, [esp + 0x8c]
push 0x80
push ecx
call fcn.0062b5c0
mov edx, dword [esp + 0x23c]
mov eax, dword [edx + 0x454]
add esp, 0x10
test eax, 0x600000
je 0x58bcb7
push 0
lea eax, [esp + 0x88]
push eax
push 0x451
call fcn.005db9a0
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005d8be0
mov edx, dword [esp + 0x14]
push edx
call fcn.005d8be0
add esp, 8
push 0x10
push edi
call fcn.005dc1d0
add esp, 8
mov eax, dword [esp + 0x230]
push 0
push eax
call fcn.005e8350
add esp, 8
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x214]
call fcn.006cedd0
add esp, 0x218
ret
mov edx, dword [0x974690]
mov eax, dword [edx + 0x1a4]
mov edx, dword fs:[0x2c]
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [0x9798bc]
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax + 0x108]
push 0x451
push 1
push ecx
call fcn.0040a1b4
add esp, 0x14
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x58bd01
mov eax, 0x73a01c
mov edx, dword [esi + 0x14]
push edx
push eax
lea eax, [esp + 0x13b]
push eax
call fcn.0062b670
mov cl, byte [esi + 0x14]
push 0x14
push 0
push 0
push 0x40
lea edx, [esp + 0x60]
push edx
push edi
mov byte [esp + 0x156], cl
call fcn.005df290
add esp, 0x24
test eax, eax
jne 0x58bc67
movzx eax, word [esp + 0x4a]
mov ecx, dword [esp + 0x10]
push 0x14
cdq
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
push edi
call fcn.005df290
add esp, 0x18
test eax, eax
jne 0x58bc67
movzx edx, word [esp + 0x4a]
mov ecx, dword [esp + 0x24]
push eax
push eax
push eax
add edx, ecx
push edx
push edi
call fcn.005e1d70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x254]
mov edx, dword [esi + 0x40]
push ebp
push eax
mov eax, dword [esp + 0x248]
push ecx
push edx
mov edx, dword [esi + 0x5c]
push edi
push eax
call fcn.0058af40
add esp, 0x2c
test eax, eax
jne 0x58bc67
mov cx, word [esi + 0xc]
push 4
push 2
lea edx, [esp + 0x8c]
push edx
push edi
mov word [esp + 0x94], cx
call fcn.005debc0
add esp, 0x10
test eax, eax
jne 0x58bc67
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 4
push eax
push ecx
push edi
call fcn.005debc0
add esp, 0x10
test eax, eax
jne 0x58bc67
mov ebx, dword [esp + 0x30]
push 4
push 2
lea edx, [esp + 0x8c]
push edx
push edi
mov word [esp + 0x94], bx
call fcn.005debc0
add esp, 0x10
test eax, eax
jne 0x58bc67
mov eax, dword [esp + 0x2c]
push 4
push ebx
push eax
push edi
call fcn.005debc0
add esp, 0x10
test eax, eax
jne 0x58bc67
mov ecx, dword [esp + 0x20]
push eax
push eax
push eax
push ecx
push edi
call fcn.005e1d70
push 0x14
push 0x120
lea edx, [esp + 0x120]
push edx
push edi
call fcn.005debc0
add esp, 0x24
test eax, eax
jne 0x58bc67
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0x14
push eax
push ecx
push edi
call fcn.005debc0
add esp, 0x10
test eax, eax
jne 0x58bc67
mov ebx, dword [esp + 0x240]
push ebx
push edi
mov ecx, ebp
call fcn.0058aa00
add esp, 8
test eax, eax
jne 0x58bc67
mov edx, dword [esp + 0x14]
push edx
call fcn.005d8be0
mov eax, dword [esp + 0x14]
push eax
call fcn.005d8be0
mov al, byte [0x973ed8]
add esp, 8
test al, al
je 0x58bec8
test byte [esi + 0x68], 1
jne 0x58bec8
push 0x10
push edi
call fcn.005e1ce0
add esp, 8
test eax, eax
jne 0x58bc7e
push 0x10
push edi
call fcn.005dc1d0
add esp, 8
test eax, eax
jne 0x58bc89
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
xor esi, esi
cmp eax, esi
je 0x58befc
mov edx, dword [eax + 0x3c]
cmp edx, esi
je 0x58bef3
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], esi
mov ecx, dword [ecx]
mov eax, dword [ecx + 4]
cmp eax, esi
jne 0x58bee6
mov ecx, dword [esp + 0x224]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.006cedd0
add esp, 0x218
ret