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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
movzx edx, word [ebp + 0xc]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], 0xa7660502
jmp 0x40d1a0
mov dword [ebp - 0x38], 0xac02e55a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x38]
cmp eax, 0x864feb2a
jg 0x40d1c0
cmp eax, 0x836f719b
jne 0x40d1a0
jmp 0x40d18f
cmp eax, 0x906cb488
jg 0x40d1e0
cmp eax, 0x864feb2b
jne 0x40d1a0
mov dword [ebp - 0x38], 0x155b2f3f
jmp 0x40d1a0
cmp eax, 0x9107bccb
jg 0x40d1fa
cmp eax, 0x906cb489
jne 0x40d1a0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], 0xaee07762
jmp 0x40d1a0
cmp eax, 0x98f393d3
jg 0x40d211
cmp eax, 0x9107bccc
jne 0x40d1a0
mov dword [ebp - 0x38], 0x2d962152
jmp 0x40d1a0
cmp eax, 0x9d639360
jg 0x40d22b
cmp eax, 0x98f393d4
jne 0x40d1a0
mov dword [ebp - 0x38], 0xc0d2f101
jmp 0x40d1a0
cmp eax, 0xa7660501
jg 0x40d26e
cmp eax, 0x9d639361
jne 0x40d1a0
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, 0x864feb2b
cmp dword [edi], 0x4550
jne 0x40d266
mov eax, 0x3fbd6826
mov dword [ebp - 0x38], eax
jmp 0x40d1a0
cmp eax, 0xac02e559
jg 0x40d28c
cmp eax, 0xa7660502
jne 0x40d1a0
mov dword [ebp - 0x38], 0x78c2917a
jmp 0x40d1a0
cmp eax, 0xaee07761
jg 0x40d2bc
cmp eax, 0xac02e55a
jne 0x40d1a0
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], 0x1b23682
jmp 0x40d1a0
cmp eax, 0xb066f540
jg 0x40d2e2
cmp eax, 0xaee07762
jne 0x40d1a0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], 0xe5c5ca6a
jmp 0x40d1a0
cmp eax, 0xb1170937
jg 0x40d300
cmp eax, 0xb066f541
jne 0x40d1a0
mov dword [ebp - 0x38], 0xc0d2f101
jmp 0x40d1a0
cmp eax, 0xb2d292af
jg 0x40d3ec
cmp eax, 0xb1170938
jne 0x40d1a0
mov eax, 4
call fcn.004192b0
mov eax, 4
call fcn.004192b0
mov edi, esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x40], esp
mov eax, 4
call fcn.004192b0
mov edx, esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x44], esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x48], esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x4c], esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x50], esp
mov eax, 4
call fcn.004192b0
mov esi, esp
mov eax, 4
call fcn.004192b0
mov ebx, esp
mov eax, 4
call fcn.004192b0
mov dword [edi], ecx
mov eax, dword [edi]
mov edi, dword [ebp - 0x50]
mov dword [edi], eax
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov word [eax], di
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax], 0
mov dword [esi], 0
mov esi, dword [ebp + 8]
mov dword [ebx], 0
mov dword [edx], esi
mov eax, dword [edx]
mov edx, edi
mov dword [esp], eax
mov dword [ebp - 0x38], 0x78c2917a
jmp 0x40d1a0
cmp eax, 0xc0d2f100
jg 0x40d413
cmp eax, 0xb2d292b0
jne 0x40d1a0
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov dword [ebp - 0x38], 0x1e89f4b7
jmp 0x40d1a0
cmp eax, 0xc251c4e5
jg 0x40d431
cmp eax, 0xc0d2f101
jne 0x40d1a0
mov dword [ebp - 0x38], 0xb2d292b0
jmp 0x40d1a0
cmp eax, 0xcb514ad1
jg 0x40d46e
cmp eax, 0xc251c4e6
jne 0x40d1a0
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
mov eax, 0x6affdf00
jne 0x40d466
mov eax, 0x9d639361
mov dword [ebp - 0x38], eax
jmp 0x40d1a0
cmp eax, 0xe2ecede0
jg 0x40d48c
cmp eax, 0xcb514ad2
jne 0x40d1a0
mov dword [ebp - 0x38], 0xc0d2f101
jmp 0x40d1a0
cmp eax, 0xe5c5ca69
jg 0x40d4b3
cmp eax, 0xe2ecede1
jne 0x40d1a0
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov dword [ebp - 0x38], 0xb2d292b0
jmp 0x40d1a0
cmp eax, 0x1b23681
jg 0x40d4ca
cmp eax, 0xe5c5ca6a
jne 0x40d1a0
jmp 0x40d7c6
cmp eax, 0x65e022e
jg 0x40d4e8
cmp eax, 0x1b23682
jne 0x40d1a0
mov dword [ebp - 0x38], 0x19df1e3a
jmp 0x40d1a0
cmp eax, 0x155b2f3e
jg 0x40d513
cmp eax, 0x65e022f
jne 0x40d1a0
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0xc251c4e6
jne 0x40d50b
mov eax, 0x19df1e3a
mov dword [ebp - 0x38], eax
jmp 0x40d1a0
cmp eax, 0x19df1e39
jg 0x40d531
cmp eax, 0x155b2f3f
jne 0x40d1a0
mov dword [ebp - 0x38], 0xb066f541
jmp 0x40d1a0
cmp eax, 0x1e89f4b6
jg 0x40d565
cmp eax, 0x19df1e3a
jne 0x40d1a0
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
mov eax, dword [ebp - 0x30]
movzx ebx, word [eax]
mov eax, 0x98f393d4
cmp dword [edi + 0x18], ebx
jbe 0x40d55d
mov eax, 0x435080ce
mov dword [ebp - 0x38], eax
jmp 0x40d1a0
cmp eax, 0x2d962151
jg 0x40d583
cmp eax, 0x1e89f4b7
jne 0x40d1a0
mov dword [ebp - 0x38], 0x4026154e
jmp 0x40d1a0
cmp eax, 0x3bda1f60
jg 0x40d5a1
cmp eax, 0x2d962152
jne 0x40d1a0
mov dword [ebp - 0x38], 0xcb514ad2
jmp 0x40d1a0
cmp eax, 0x3fbd6825
jg 0x40d5bf
cmp eax, 0x3bda1f61
jne 0x40d1a0
mov dword [ebp - 0x38], 0x155b2f3f
jmp 0x40d1a0
cmp eax, 0x4026154d
jg 0x40d5ff
cmp eax, 0x3fbd6826
jne 0x40d1a0
mov eax, edx
mov edx, esi
mov esi, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x864feb2b
jne 0x40d5f1
mov eax, 0x836f719b
mov dword [ebp - 0x38], eax
mov eax, esi
mov esi, edx
mov edx, eax
jmp 0x40d1a0
mov ebx, edx
mov edi, esi
cmp eax, 0x435080cd
jg 0x40d625
cmp eax, 0x4026154e
mov esi, edi
mov edx, ebx
jne 0x40d1a0
mov dword [ebp - 0x38], 0xaee07762
jmp 0x40d1a0
mov edx, ecx
mov esi, ebx
cmp eax, 0x6affdeff
jg 0x40d692
cmp eax, 0x435080ce
mov ecx, edx
mov edx, esi
mov esi, edi
jne 0x40d1a0
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], 0x4026154e
jmp 0x40d1a0
cmp eax, 0x6affdf00
je 0x40d6bb
cmp eax, 0x78bb1532
jne 0x40d6cd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x78]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov dword [ebp - 0x38], 0xac02e55a
jmp 0x40d6c2
mov dword [ebp - 0x38], 0x2d962152
mov ecx, edx
mov edx, esi
mov esi, edi
jmp 0x40d1a0
cmp eax, 0x78c2917a
mov ecx, edx
mov edx, esi
mov esi, edi
jne 0x40d1a0
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x34], esp
mov eax, 4
call fcn.004192b0
mov edi, esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x30], esp
mov eax, 4
call fcn.004192b0
mov ebx, esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x2c], esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x28], esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x40], esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x24], esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.004192b0
mov dword [ebp - 0x18], esp
mov dword [edi], ecx
mov eax, dword [ebp - 0x30]
mov word [eax], dx
mov dword [ebx], esi
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
mov eax, dword [ebp - 0x40]
mov dword [eax], 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], 0x65e022f
jmp 0x40d1a0
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret