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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
movzx eax, word [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], 0x53f73541
jmp 0x408360
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], 0x29eb2840
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x38]
cmp eax, 0x8e72e2d8
jg 0x408380
cmp eax, 0x8b7567b7
jne 0x408360
jmp 0x408349
cmp eax, 0x91d52996
jg 0x4083a0
cmp eax, 0x8e72e2d9
jne 0x408360
mov dword [ebp - 0x38], 0x29eb2840
jmp 0x408360
cmp eax, 0x98517e47
jg 0x408485
cmp eax, 0x91d52997
jne 0x408360
mov eax, 4
call fcn.00412a20
mov eax, 4
call fcn.00412a20
mov edi, esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x3c], esp
mov eax, 4
call fcn.00412a20
mov edx, esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x40], esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x44], esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x48], esp
mov eax, 4
call fcn.00412a20
mov esi, esp
mov eax, 4
call fcn.00412a20
mov ecx, esp
mov eax, 4
call fcn.00412a20
mov ebx, esp
mov eax, 4
call fcn.00412a20
mov eax, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x3c]
mov word [esi], ax
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [edx]
mov dword [esp], eax
mov dword [ebp - 0x38], 0xcfb2478e
jmp 0x408360
cmp eax, 0xb4869d04
jg 0x4084a3
cmp eax, 0x98517e48
jne 0x408360
mov dword [ebp - 0x38], 0xc4be55d3
jmp 0x408360
cmp eax, 0xbfba4c31
jg 0x4084c1
cmp eax, 0xb4869d05
jne 0x408360
mov dword [ebp - 0x38], 0x447160b4
jmp 0x408360
cmp eax, 0xc4be55d2
jg 0x4084fe
cmp eax, 0xbfba4c32
jne 0x408360
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edi, dword [ebp - 0x2c]
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 0x10]
mov byte [ebp - 0xf], 1
mov dword [ebp - 0x38], 0xd200ac7a
jmp 0x408360
cmp eax, 0xc5b58f2e
jg 0x40851c
cmp eax, 0xc4be55d3
jne 0x408360
mov dword [ebp - 0x38], 0xbfba4c32
jmp 0x408360
cmp eax, 0xcfb2478d
jg 0x40853a
cmp eax, 0xc5b58f2f
jne 0x408360
mov dword [ebp - 0x38], 0x8e72e2d9
jmp 0x408360
cmp eax, 0xd200ac79
jg 0x40863d
cmp eax, 0xcfb2478e
jne 0x408360
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x34], esp
mov eax, 4
call fcn.00412a20
mov edi, esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x30], esp
mov eax, 4
call fcn.00412a20
mov ebx, esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x2c], esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x28], esp
mov eax, 4
call fcn.00412a20
mov edx, esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x24], esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.00412a20
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
mov word [eax], cx
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
mov dword [edx], 0
mov eax, dword [edi]
mov edi, dword [ebp - 0x24]
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, dword [ebx]
mov edi, dword [ebp - 0x18]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
sete byte [ebp - 0x11]
mov dword [ebp - 0x38], 0x6c019b0a
jmp 0x408360
cmp eax, 0xdf045d77
jg 0x408668
cmp eax, 0xd200ac7a
jne 0x408360
mov al, byte [ebp - 0xf]
test al, al
mov eax, 0x69b0993b
jne 0x408660
mov eax, 0x45c5491e
mov dword [ebp - 0x38], eax
jmp 0x408360
cmp eax, 0xe89b44e5
jg 0x4086ab
cmp eax, 0xdf045d78
jne 0x408360
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edi, dword [ebp - 0x2c]
mov edi, dword [edi]
add eax, dword [edi + 0x3c]
mov edi, dword [ebp - 0x28]
mov dword [edi], eax
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
mov eax, 0x1c4da2dc
cmp dword [edi], 0x4550
jne 0x4086a3
mov eax, 0x2319622e
mov dword [ebp - 0x38], eax
jmp 0x408360
cmp eax, 0xf3d9e420
jg 0x4086d6
cmp eax, 0xe89b44e6
jne 0x408360
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], 0xbfba4c32
jmp 0x408360
cmp eax, 0xf51c71be
jg 0x408701
cmp eax, 0xf3d9e421
jne 0x408360
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0x20c9811
jne 0x4086f9
mov eax, 0x2999c454
mov dword [ebp - 0x38], eax
jmp 0x408360
cmp eax, 0xf7b086cb
jg 0x40871f
cmp eax, 0xf51c71bf
jne 0x408360
mov dword [ebp - 0x38], 0x4ee85ff3
jmp 0x408360
cmp eax, 0x20c9810
jg 0x40873d
cmp eax, 0xf7b086cc
jne 0x408360
mov dword [ebp - 0x38], 0x4ee85ff3
jmp 0x408360
cmp eax, 0xa32bdd9
jg 0x40875b
cmp eax, 0x20c9811
jne 0x408360
mov dword [ebp - 0x38], 0x34eabe7d
jmp 0x408360
cmp eax, 0x1c4da2db
jg 0x40878b
cmp eax, 0xa32bdda
jne 0x408360
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edi, dword [ebp - 0x28]
mov edi, dword [edi]
add eax, dword [edi + 0x78]
mov edi, dword [ebp - 0x24]
mov dword [edi], eax
mov dword [ebp - 0x38], 0xc5b58f2f
jmp 0x408360
cmp eax, 0x2319622d
jg 0x4087a9
cmp eax, 0x1c4da2dc
jne 0x408360
mov dword [ebp - 0x38], 0x4ee85ff3
jmp 0x408360
cmp eax, 0x2999c453
jg 0x4087dd
cmp eax, 0x2319622e
jne 0x408360
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x1c4da2dc
jne 0x4087d5
mov eax, 0xa32bdda
mov dword [ebp - 0x38], eax
jmp 0x408360
cmp eax, 0x29eb283f
jg 0x408801
cmp eax, 0x2999c454
jne 0x408360
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], 0x8e72e2d9
jmp 0x408360
cmp eax, 0x3140e341
jg 0x408835
cmp eax, 0x29eb2840
jne 0x408360
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov edi, dword [ebp - 0x30]
movzx edi, word [edi]
cmp dword [eax + 0x18], edi
setbe byte [ebp - 0xe]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x38], 0xf3d9e421
jmp 0x408360
cmp eax, 0x34eabe7c
jg 0x408853
cmp eax, 0x3140e342
jne 0x408360
mov dword [ebp - 0x38], 0xc4be55d3
jmp 0x408360
cmp eax, 0x3cb7594c
jg 0x408871
cmp eax, 0x34eabe7d
jne 0x408360
mov dword [ebp - 0x38], 0x3fb3bc68
jmp 0x408360
cmp eax, 0x3fb3bc67
jg 0x40889c
cmp eax, 0x3cb7594d
jne 0x408360
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], 0x6c175917
jmp 0x408360
cmp eax, 0x447160b3
jg 0x4088c7
cmp eax, 0x3fb3bc68
jne 0x408360
mov al, byte [ebp - 0xe]
test al, al
mov eax, 0xb4869d05
jne 0x4088bf
mov eax, 0x57f2f428
mov dword [ebp - 0x38], eax
jmp 0x408360
cmp eax, 0x45c5491d
jg 0x4088e5
cmp eax, 0x447160b4
jne 0x408360
mov dword [ebp - 0x38], 0xf7b086cc
jmp 0x408360
cmp eax, 0x45dd91e9
jg 0x408903
cmp eax, 0x45c5491e
jne 0x408360
mov dword [ebp - 0x38], 0x6c175917
jmp 0x408360
cmp eax, 0x4ee85ff2
jg 0x40891a
cmp eax, 0x45dd91ea
jne 0x408360
jmp 0x408a62
cmp eax, 0x53f73540
jg 0x408941
cmp eax, 0x4ee85ff3
jne 0x408360
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov dword [ebp - 0x38], 0x45dd91ea
jmp 0x408360
cmp eax, 0x57f2f427
jg 0x40895f
cmp eax, 0x53f73541
jne 0x408360
mov dword [ebp - 0x38], 0xcfb2478e
jmp 0x408360
cmp eax, 0x658ed5ec
jg 0x4089c2
cmp eax, 0x57f2f428
jne 0x408360
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edi, dword [ebp - 0x24]
mov edi, dword [edi]
add eax, dword [edi + 0x24]
mov edi, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edi, dword [ebp - 0x24]
mov edi, dword [edi]
add eax, dword [edi + 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edi, dword [ebp - 0x30]
movzx edi, word [edi]
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
movzx edi, word [ebx + edi*2]
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
add eax, dword [ebx + edi*4]
mov edi, dword [ebp - 0x34]
mov dword [edi], eax
mov dword [ebp - 0x38], 0x45dd91ea
jmp 0x408360
cmp eax, 0x69a7bacd
jg 0x4089e0
cmp eax, 0x658ed5ed
jne 0x408360
mov dword [ebp - 0x38], 0x447160b4
jmp 0x408360
cmp eax, 0x6c175916
jg 0x408a0e
cmp eax, 0x69a7bace
je 0x408a32
cmp eax, 0x69b0993b
jne 0x408a3e
mov al, byte [ebp - 0x10]
test al, al
mov eax, 0xf51c71bf
jne 0x408a06
mov eax, 0xdf045d78
mov dword [ebp - 0x38], eax
jmp 0x408360
cmp eax, 0x6c175917
jne 0x408360
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], 0x98517e48
jmp 0x408360
mov dword [ebp - 0x38], 0x34eabe7d
jmp 0x408360
cmp eax, 0x6c019b0a
jne 0x408360
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x3140e342
jne 0x408a5a
mov eax, 0xc5b58f2f
mov dword [ebp - 0x38], eax
jmp 0x408360
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret