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

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
push edi
call fcn.00401c40
test eax, eax
jne 0x402a2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0xc
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x94]
push 0
push esi
mov eax, dword [ebp]
push ebp
call dword [eax + 0x294]
mov ecx, dword [ebp]
mov ebx, eax
push esi
push ebp
mov dword [esp + 0x1c], ebx
call dword [ecx + 0x290]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00404110
test esi, esi
mov dword [esp + 0x48], 0x4392c4
jge 0x402a76
mov esi, 0x7fffffff
xor edi, edi
test esi, esi
jle 0x402aa0
mov ax, word [ebx]
test ax, ax
mov dword [esp + 0x10], eax
je 0x402aa0
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x50]
call fcn.004040a0
inc edi
add ebx, 2
cmp edi, esi
jl 0x402a7c
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x48]
mov esi, eax
push eax
mov eax, dword [esp + 0x4c]
call dword [eax + 4]
mov edi, dword [esp + 0x4c]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
call fcn.00404500
push esi
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x4392bc
call fcn.00405260
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
push eax
mov edi, eax
call dword [edx + 4]
mov esi, dword [esp + 0x4c]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
call fcn.00404500
test esi, esi
mov dword [esp + 0x38], 0x4392b4
je 0x402b10
push edi
push esi
lea ecx, [esp + 0x40]
call fcn.00404d30
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jne 0x402b79
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x2c]
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x402b68
test cl, cl
je 0x402b64
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x402b68
add eax, 2
add esi, 2
test cl, cl
jne 0x402b40
xor eax, eax
jmp 0x402b6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402b79
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x402b85
mov dword [esp + 0x10], 1
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
mov eax, dword [ebp]
push ecx
push edx
push ebp
call dword [eax + 0x298]
xor eax, eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x402bc1
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + eax], 0x2f
jne 0x402bb8
mov byte [ecx + eax], 0x5c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
inc eax
cmp eax, edx
jl 0x402baa
test edi, edi
je 0x402bea
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
jle 0x402bea
mov ecx, dword [esp + 0x3c]
cmp byte [ecx + eax], 0x2f
jne 0x402be1
mov byte [ecx + eax], 0x5c
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
inc eax
cmp eax, edx
jl 0x402bd3
lea eax, [esp + 0x78]
push 4
push eax
lea ecx, [esp + 0x30]
call fcn.00404f50
push 0xffffffffffffffff
push str.j2e:
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00404630
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00404c50
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.00404dd0
test esi, esi
je 0x402c4e
lea ecx, [esp + 0x38]
call fcn.00404dd0
lea ecx, [esp + 0x28]
call fcn.00404dd0
lea ecx, [esp + 0x48]
call fcn.00404d00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret 0xc
mov al, byte [0x446b10]
test al, 1
jne 0x402ca3
mov ecx, dword [0x446ebc]
mov bl, al
lea edx, [esp + 0x78]
or bl, 1
push edx
mov byte [0x446b10], bl
call fcn.00405660
push 0xffffffffffffffff
push str.true
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00404630
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00404c50
neg eax
sbb eax, eax
lea ecx, [esp + 0x78]
inc eax
mov dword [0x446af8], eax
call fcn.00404dd0
mov eax, dword [0x446af8]
test eax, eax
jne 0x402d1d
lea ecx, [esp + 0x78]
push 6
push ecx
lea ecx, [esp + 0x30]
call fcn.00405150
push 0xffffffffffffffff
push str..class
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00404630
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.00404c50
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.00404dd0
test esi, esi
jne 0x402d1d
mov eax, dword [ebp]
push esi
push ebp
call dword [eax + 0x2c0]
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00404dd0
lea ecx, [esp + 0x28]
call fcn.00404dd0
lea ecx, [esp + 0x48]
call fcn.00404d00
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0xc
lea ecx, [esp + 0x58]
push 4
push ecx
lea ecx, [esp + 0x30]
call fcn.00405040
lea edx, [esp + 0x68]
push eax
push edx
call fcn.00403eb0
mov esi, eax
add esp, 8
mov ecx, dword [esi + 8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esi + 4]
push 0
push 0x446b00
push esi
lea edx, [esp + 0x84]
push 4
push edx
lea ecx, [esp + 0x3c]
call fcn.00405040
push eax
push ebp
mov ecx, 0x446880
call fcn.004147b0
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.00404dd0
lea ecx, [esp + 0x68]
call fcn.00404dd0
lea ecx, [esp + 0x58]
call fcn.00404dd0
test esi, esi
jne 0x4031a8
test edi, edi
je 0x402e49
lea eax, [esp + 0x58]
push 4
push eax
lea ecx, [esp + 0x40]
call fcn.00405040
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.00403eb0
mov esi, eax
add esp, 8
mov ecx, esi
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
call dword [edx + 4]
mov esi, dword [esi + 4]
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x78]
push 4
push ecx
lea ecx, [esp + 0x40]
call fcn.00405040
mov edi, eax
mov ecx, edi
mov eax, dword [edi + 8]
mov edx, dword [edi]
push eax
call dword [edx + 4]
mov ecx, dword [edi + 4]
add ebx, 0xfffffffc
push ebx
push ecx
lea ecx, [esp + 0x20]
call fcn.00404500
push 0
push 0x446b00
lea edx, [esp + 0x20]
push esi
push edx
push ebp
mov ecx, 0x446880
mov dword [esp + 0x2c], 0x4392bc
call fcn.004147b0
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00404dd0
lea ecx, [esp + 0x78]
call fcn.00404dd0
lea ecx, [esp + 0x68]
call fcn.00404dd0
lea ecx, [esp + 0x58]
call fcn.00404dd0
mov edi, dword [esp + 0x10]
test esi, esi
jne 0x4031a8
lea eax, [esp + 0x58]
push 4
push eax
lea ecx, [esp + 0x30]
call fcn.00405040
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.00403eb0
mov esi, eax
add esp, 8
mov ecx, esi
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
call dword [edx + 4]
mov esi, dword [esi + 4]
push 0
push 0x446b00
push esi
lea ecx, [esp + 0x84]
push 4
push ecx
lea ecx, [esp + 0x3c]
call fcn.00405040
push eax
push ebp
mov ecx, 0x446b18
call fcn.004147b0
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.00404dd0
lea ecx, [esp + 0x68]
call fcn.00404dd0
lea ecx, [esp + 0x58]
call fcn.00404dd0
test esi, esi
jne 0x4031a8
test edi, edi
je 0x402f79
lea edx, [esp + 0x58]
push 4
push edx
lea ecx, [esp + 0x40]
call fcn.00405040
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00403eb0
mov esi, eax
add esp, 8
mov ecx, esi
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
call dword [edx + 4]
mov esi, dword [esi + 4]
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x78]
push 4
push ecx
lea ecx, [esp + 0x40]
call fcn.00405040
mov edi, eax
mov ecx, edi
mov eax, dword [edi + 8]
mov edx, dword [edi]
push eax
call dword [edx + 4]
mov ecx, dword [edi + 4]
add ebx, 0xfffffffc
push ebx
push ecx
lea ecx, [esp + 0x20]
call fcn.00404500
push 0
push 0x446b00
lea edx, [esp + 0x20]
push esi
push edx
push ebp
mov ecx, 0x446b18
mov dword [esp + 0x2c], 0x4392bc
call fcn.004147b0
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00404dd0
lea ecx, [esp + 0x78]
call fcn.00404dd0
lea ecx, [esp + 0x68]
call fcn.00404dd0
lea ecx, [esp + 0x58]
call fcn.00404dd0
test esi, esi
jne 0x4031a8
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x20]
call fcn.00404500
mov dword [esp + 0x18], 0x4392bc
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jle 0x402fe1
cmp eax, 8
jge 0x402faf
mov eax, 8
mov dword [esp + 0x24], eax
cmp ecx, eax
jle 0x402fcb
add eax, eax
cmp ecx, eax
mov dword [esp + 0x24], eax
jle 0x402fcb
lea eax, [ecx + 0xb]
mov ecx, eax
and ecx, 7
sub eax, ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.00419933
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x2c]
call dword [eax + 4]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x1c]
call dword [edx + 4]
push edi
mov eax, dword [esp + 0x20]
push eax
call fcn.004029b0
mov edi, eax
add esp, 8
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404330
lea ecx, [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov byte [edx + edi], 0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push eax
mov dword [esp + 0x24], edi
call dword [edx + 4]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x40307a
test cl, cl
je 0x403076
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x40307a
add eax, 2
add edi, 2
test cl, cl
jne 0x403052
xor eax, eax
jmp 0x40307f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403194
lea eax, [esp + 0x68]
push 4
push eax
lea ecx, [esp + 0x20]
call fcn.00405040
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.00403eb0
mov esi, eax
add esp, 8
mov ecx, esi
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
call dword [edx + 4]
mov esi, dword [esi + 4]
push 0
push 0x446b00
push esi
lea ecx, [esp + 0x84]
push 4
push ecx
lea ecx, [esp + 0x2c]
call fcn.00405040
push eax
push ebp
mov ecx, 0x446880
call fcn.004147b0
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.00404dd0
lea ecx, [esp + 0x58]
call fcn.00404dd0
mov edi, 0x4392ac
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], edi
call fcn.00404ab0
test esi, esi
jne 0x403199
lea edx, [esp + 0x78]
push 4
push edx
lea ecx, [esp + 0x20]
call fcn.00405040
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00403eb0
mov esi, eax
add esp, 8
mov ecx, esi
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
call dword [edx + 4]
mov esi, dword [esi + 4]
push 0
push 0x446b00
push esi
lea ecx, [esp + 0x64]
push 4
push ecx
lea ecx, [esp + 0x2c]
call fcn.00405040
push eax
push ebp
mov ecx, 0x446b18
call fcn.004147b0
lea ecx, [esp + 0x58]
mov esi, eax
mov dword [esp + 0x58], edi
call fcn.00404ab0
mov ebx, 0x4392a8
lea ecx, [esp + 0x68]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], edi
call fcn.00404ab0
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x78], edi
call fcn.00404ab0
jmp 0x403199
mov edi, 0x4392ac
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
call fcn.00404ab0
jmp 0x4031ad
mov edi, 0x4392ac
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
call fcn.00404ab0
mov ebx, 0x4392a8
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edi
call fcn.00404ab0
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], 0x4392a0
call fcn.00404100
test eax, eax
je 0x4031f2
push eax
call fcn.00419423
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0xc