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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00402b70
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xc]
add edx, 0x14
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xa0], 0
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x60]
je 0x402de2
call fcn.00402b70
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0xc]
add edx, 0x14
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x64]
je 0x402dd9
mov eax, dword [ebp - 0x58]
sub eax, 8
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x24
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
add edx, 8
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax]
cmp ecx, 0x3f
jae 0x402dcc
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x4c]
movzx edx, word [eax + ecx*2]
test edx, edx
je 0x402c6b
cmp dword [ebp - 0x4c], 0x3f
jae 0x402c6b
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x4c]
movsx eax, byte [ecx + edx*2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov byte [ebp + ecx - 0x44], al
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
jmp 0x402c2b
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x40
jae 0x402c79
jmp 0x402c7e
call fcn.00403c0b
mov ecx, dword [ebp - 0x68]
mov byte [ebp + ecx - 0x44], 0
lea edx, [ebp - 0x44]
push edx
call fcn.00401e30
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp + 0xc]
jne 0x402dcc
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.00402df0
add esp, 8
mov dword [ebp - 0x88], eax
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + edx + 0x78]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.00402df0
add esp, 8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x20], 0
je 0x402dcc
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.00402df0
add esp, 8
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.00402df0
add esp, 8
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.00402df0
add esp, 8
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x54], 0
jmp 0x402d5b
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
cmp eax, dword [edx + 0x18]
jae 0x402dcc
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00402df0
add esp, 8
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
call fcn.00401e30
add esp, 4
cmp eax, dword [ebp + 8]
jne 0x402dca
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x94]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.00402df0
add esp, 8
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
jmp 0x402de2
jmp 0x402d52
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
jmp 0x402bee
xor eax, eax
jmp 0x402de2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403adb
mov esp, ebp
pop ebp
ret