Function at 0x405e2a
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
jmp 0x595aa0
sub esp, 0x804
mov eax, dword [0x93e25c]
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0x810]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x100]
push esi
mov dword [esp + 0x80c], eax
lea eax, [esp + 0x744]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x50]
mov ecx, 0x64
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x34], 0xfffffffe
mov edi, eax
lea esi, [esp + 0x108]
mov dword [esp + 0x114], edx
mov dx, word [esp + 0x24]
mov word [edi], dx
lea edx, [eax + ecx*2 - 2]
cmp edx, edi
mov dword [esp + 0x38], edi
lea esp, [esp]
ja 0x595bab
mov edx, dword [esp + 0x70]
sub edi, eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], edx
sar edi, 1
push ecx
lea edx, [esp + 0x6c]
inc edi
push edx
mov esi, edi
call fcn.00403d5a
add esp, 0xc
test eax, eax
jne 0x5a1651
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
lea edi, [eax + esi*2 - 2]
mov dword [esp + 0x44], eax
shl esi, 4
lea eax, [eax + ecx*2 - 2]
cmp eax, edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x38], edi
lea esi, [esi + edx - 0x10]
jbe 0x59c892
mov edx, dword [esp + 0x24]
mov ebx, dword [edx*4 + 0x781878]
cmp ebx, 0xfffff341
mov ecx, dword [esp + 0x34]
je 0x595cf7
cmp ecx, 0xfffffffe
jne 0x595be3
lea ecx, [esp + 0x48]
push ebp
push ecx
call fcn.00402252
mov edx, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x34], eax
mov ecx, eax
test ecx, ecx
jg 0x595bf1
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x34], ecx
jmp 0x595c08
cmp ecx, 0x332
ja 0x595c03
movzx eax, word [ecx*2 + 0x77d798]
jmp 0x595c08
mov eax, 2
add ebx, eax
js 0x595cf7
cmp ebx, 0xb082
jg 0x595cf7
movsx edx, word [ebx*2 + 0x79b8c8]
cmp edx, eax
jne 0x595cf3
movsx eax, word [ebx*2 + 0x7857c0]
test eax, eax
jg 0x595c9b
je 0x595d0d
cmp eax, 0xfffff825
je 0x595d0d
neg eax
mov dword [esp + 0x58], eax
movzx ecx, byte [eax + 0x77ee18]
mov dword [esp + 0x74], ecx
shl ecx, 4
mov edx, esi
sub edx, ecx
lea ecx, [edx + 0x10]
mov dword [esp + 0x98], ecx
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], edx
mov ecx, dword [ecx + 0xc]
add eax, 0xfffffffe
cmp eax, 0x806
mov dword [esp + 0x1c], ecx
ja 0x5a1597
jmp dword [eax*4 + 0x5a1f8c]
cmp eax, 0x1d8
je 0x5a167a
test ecx, ecx
je 0x595cb2
mov dword [esp + 0x34], 0xfffffffe
mov edx, dword [esp + 0x48]
add esi, 0x10
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x595cdf
dec ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
add edi, 2
jmp 0x595b27
mov edx, dword [esp + 0x24]
movzx eax, word [edx*2 + 0x77f628]
test eax, eax
mov dword [esp + 0x58], eax
jne 0x595c4f
jmp 0x595d11
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x595d35
mov edx, dword [esp + 0x6c]
inc edx
push str.syntax_error
mov dword [esp + 0x70], edx
call fcn.00407752
mov edx, dword [esp + 0x28]
add esp, 4
jmp 0x595d50
cmp eax, 3
jne 0x595d50
test ecx, ecx
jg 0x595d48
jne 0x595d50
sub edi, 2
jmp 0x59c892
mov dword [esp + 0x34], 0xfffffffe
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], 3
lea esp, [esp]
mov eax, dword [edx*4 + 0x781878]
cmp eax, 0xfffff341
je 0x595d8f
inc eax
js 0x595d8f
cmp eax, 0xb082
jg 0x595d8f
cmp word [eax*2 + 0x79b8c8], 1
jne 0x595d8f
movsx eax, word [eax*2 + 0x7857c0]
test eax, eax
jg 0x595da3
cmp edi, ecx
je 0x59c892
movsx edx, word [edi - 2]
sub esi, 0x10
sub edi, 2
jmp 0x595d60
cmp eax, 0x1d8
je 0x5a167a
mov edx, dword [esp + 0x48]
add esi, 0x10
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
add edi, 2
jmp 0x595b27
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x800]
call fcn.006cedd0
add esp, 0x804
ret
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x98]
neg eax
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x10]
mov edx, esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x58]
movzx edx, word [edx*2 + 0x77de00]
mov cx, word [eax]
mov dword [esp + 0x38], eax
movsx eax, word [edx*2 + 0x784de2]
movsx edi, cx
add eax, edi
js 0x5a161b
cmp eax, 0xb082
jg 0x5a161b
cmp word [eax*2 + 0x79b8c8], cx
jne 0x5a161b
movsx eax, word [eax*2 + 0x7857c0]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
add edi, 2
jmp 0x595b27
movsx ecx, word [edx*2 + 0x780e9a]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x5c]
add edi, 2
jmp 0x595b27
push str.parser_stack_overflow
call fcn.00407752
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x800]
call fcn.006cedd0
add esp, 0x804
ret
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.006cedd0
add esp, 0x804
ret