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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], 0x18880944
jmp 0x408db0
mov dword [ebp - 0x48], 0xba0634c1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x48]
cmp eax, 0x76b8b34e
jg 0x408de0
cmp eax, 0x8ef3a8b7
jg 0x408df0
cmp eax, 0x8a07c10f
jne 0x408db0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], 0x2ba6ef4a
jmp 0x408db0
cmp eax, 0x76b8b34f
jne 0x408db0
jmp 0x408d9b
cmp eax, 0x938722cd
jg 0x408e14
cmp eax, 0x8ef3a8b8
jne 0x408db0
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0xdfdd83f8
jne 0x408e0f
mov eax, 0x97bad85
mov dword [ebp - 0x48], eax
jmp 0x408db0
cmp eax, 0x986ec82b
jg 0x408e2b
cmp eax, 0x938722ce
jne 0x408db0
mov dword [ebp - 0x48], 0x2ba6ef4a
jmp 0x408db0
cmp eax, 0xb22cf773
jg 0x408e69
cmp eax, 0x986ec82c
jne 0x408db0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 0x48], 0x76b8b34f
jmp 0x408db0
cmp eax, 0xb7828034
jg 0x408e87
cmp eax, 0xb22cf774
jne 0x408db0
mov dword [ebp - 0x48], 0xe9bf4708
jmp 0x408db0
cmp eax, 0xba0634c0
jg 0x408eda
cmp eax, 0xb7828035
jne 0x408db0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.004021e0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], 0xe9bf4708
jmp 0x408db0
cmp eax, 0xbf93a52a
jg 0x408ef1
cmp eax, 0xba0634c1
jne 0x408db0
jmp 0x409655
cmp eax, 0xc3dd53b5
jg 0x408f0f
cmp eax, 0xbf93a52b
jne 0x408db0
mov dword [ebp - 0x48], 0xf3ac1a82
jmp 0x408db0
cmp eax, 0xcd6c860d
jg 0x408f2d
cmp eax, 0xc3dd53b6
jne 0x408db0
mov dword [ebp - 0x48], 0xdbd43d0a
jmp 0x408db0
cmp eax, 0x69ca45e3
jg 0x408f7a
cmp eax, 0x6813017f
jg 0x408f9c
cmp eax, 0x512c240b
jg 0x408fb3
cmp eax, 0x4e5935f8
jg 0x4090f1
cmp eax, 0x469297cc
jg 0x409108
cmp eax, 0xcee03ead
jg 0x409131
cmp eax, 0xcd6c860e
jne 0x408db0
mov dword [ebp - 0x48], 0x34a019e0
jmp 0x408db0
cmp eax, 0x69ca45e4
jne 0x408db0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ebp - 0x48], 0x469297cd
jmp 0x408db0
cmp eax, 0x68130180
jne 0x408db0
mov dword [ebp - 0x48], 0xe4484c76
jmp 0x408db0
cmp eax, 0x512c240c
jne 0x408db0
mov eax, 4
call fcn.004160a0
mov eax, 4
call fcn.004160a0
mov ebx, esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x4c], esp
mov eax, 4
call fcn.004160a0
mov edx, esi
mov esi, esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x50], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x54], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x58], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x64], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x5c], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x60], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x68], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x70], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x6c], esp
mov eax, 4
call fcn.004160a0
mov ecx, esp
mov eax, 4
call fcn.004160a0
mov eax, 4
call fcn.004160a0
mov dword [ebx], edi
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x64]
mov dword [ebx], eax
mov dword [esi], edx
mov eax, dword [esi]
mov esi, edx
mov edx, dword [ebp - 0x70]
mov dword [edx], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x4c]
mov dword [eax], ebx
mov eax, dword [ebp - 0x50]
mov dword [eax], 0
mov eax, dword [ebp - 0x54]
mov dword [eax], 0
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
mov eax, dword [ebp - 0x5c]
mov dword [eax], 0
mov eax, dword [ebp - 0x60]
mov dword [eax], 0
mov eax, dword [ebp - 0x68]
mov dword [eax], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [ebp - 0x48], 0x24da6e70
jmp 0x408db0
cmp eax, 0x4e5935f9
jne 0x408db0
mov dword [ebp - 0x48], 0xdbd43d0a
jmp 0x408db0
cmp eax, 0x469297cd
jne 0x408db0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov eax, 0xb22cf774
cmp ecx, dword [edx]
jb 0x409129
mov eax, 0x129c3fc
mov dword [ebp - 0x48], eax
jmp 0x408db0
cmp eax, 0xdbd43d09
jg 0x40915c
cmp eax, 0xcee03eae
jne 0x408db0
mov al, byte [ebp - 0xe]
test al, al
mov eax, 0xcd6c860e
jne 0x409154
mov eax, 0x2e16ce1a
mov dword [ebp - 0x48], eax
jmp 0x408db0
cmp eax, 0xdca0ceff
jg 0x409183
cmp eax, 0xdbd43d0a
jne 0x408db0
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
mov dword [ebp - 0x48], 0xba0634c1
jmp 0x408db0
cmp eax, 0xdfdd83f7
jg 0x4091c1
cmp eax, 0xdca0cf00
jne 0x408db0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 0x48], 0x986ec82c
jmp 0x408db0
cmp eax, 0xe4484c75
jg 0x4091df
cmp eax, 0xdfdd83f8
jne 0x408db0
mov dword [ebp - 0x48], 0x986ec82c
jmp 0x408db0
cmp eax, 0xe92ddb75
jg 0x409249
cmp eax, 0xe4484c76
jne 0x408db0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [ebp - 0x48], 0xfe6465e
jmp 0x408db0
cmp eax, 0x34a019df
jg 0x4092d8
cmp eax, 0x33eb4ead
jg 0x4092ef
cmp eax, 0x2e16ce19
jg 0x409313
cmp eax, 0xe9bf4707
jg 0x40934f
cmp eax, 0xe92ddb76
jne 0x408db0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov dword [ebp - 0x48], 0xe4484c76
jmp 0x408db0
cmp eax, 0x34a019e0
jne 0x408db0
mov dword [ebp - 0x48], 0x4e5935f9
jmp 0x408db0
cmp eax, 0x33eb4eae
jne 0x408db0
mov al, byte [ebp - 0xf]
test al, al
mov eax, 0x938722ce
jne 0x40930b
mov eax, 0x68130180
mov dword [ebp - 0x48], eax
jmp 0x408db0
cmp eax, 0x2e16ce1a
jne 0x408db0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov eax, 0xf8675bda
cmp dword [ecx], 0x4550
jne 0x409347
mov eax, 0xf263877d
mov dword [ebp - 0x48], eax
jmp 0x408db0
cmp eax, 0xf263877c
jg 0x4093aa
cmp eax, 0xe9bf4708
jne 0x408db0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.004021e0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
cmp eax, dword [ecx]
sete byte [ebp - 0xd]
mov dword [ebp - 0x48], 0x8ef3a8b8
jmp 0x408db0
cmp eax, 0xf3ac1a81
jg 0x4093de
cmp eax, 0xf263877d
jne 0x408db0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xf8675bda
jne 0x4093d6
mov eax, 0x144c8d21
mov dword [ebp - 0x48], eax
jmp 0x408db0
cmp eax, 0xf8675bd9
jg 0x4093fc
cmp eax, 0xf3ac1a82
jne 0x408db0
mov dword [ebp - 0x48], 0xc3dd53b6
jmp 0x408db0
cmp eax, 0x129c3fb
jg 0x40941a
cmp eax, 0xf8675bda
jne 0x408db0
mov dword [ebp - 0x48], 0xdbd43d0a
jmp 0x408db0
cmp eax, 0x97bad84
jg 0x409438
cmp eax, 0x129c3fc
jne 0x408db0
mov dword [ebp - 0x48], 0xf3ac1a82
jmp 0x408db0
cmp eax, 0xfe6465d
jg 0x409456
cmp eax, 0x97bad85
jne 0x408db0
mov dword [ebp - 0x48], 0x69ca45e4
jmp 0x408db0
cmp eax, 0x144c8d20
jg 0x409474
cmp eax, 0xfe6465e
jne 0x408db0
mov dword [ebp - 0x48], 0x469297cd
jmp 0x408db0
cmp eax, 0x18880943
jg 0x4094a4
cmp eax, 0x144c8d21
jne 0x408db0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x78]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov dword [ebp - 0x48], 0x68130180
jmp 0x408db0
cmp eax, 0x24da6e6f
jg 0x4094c2
cmp eax, 0x18880944
jne 0x408db0
mov dword [ebp - 0x48], 0x24da6e70
jmp 0x408db0
cmp eax, 0x24da6e70
je 0x4094fb
cmp eax, 0x2ba6ef4a
jne 0x40963e
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 0xe]
mov dword [ebp - 0x48], 0xcee03eae
jmp 0x408db0
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x44], esp
mov eax, 4
call fcn.004160a0
mov edx, esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x40], esp
mov eax, 4
call fcn.004160a0
mov ecx, esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x3c], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x38], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x4c], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x34], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x30], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x2c], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x28], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x24], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x18], esp
mov eax, 4
call fcn.004160a0
mov dword [ebp - 0x14], esp
mov dword [edx], edi
mov eax, dword [ebp - 0x40]
mov dword [eax], ebx
mov dword [ecx], esi
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax], 0
mov eax, dword [edx]
mov edx, dword [ebp - 0x34]
mov dword [edx], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
sete byte [ebp - 0xf]
mov dword [ebp - 0x48], 0x33eb4eae
jmp 0x408db0
cmp eax, 0x2bf22bc8
jne 0x408db0
mov dword [ebp - 0x48], 0x34a019e0
jmp 0x408db0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret