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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x50], 0xccf462bd
jmp 0x40a820
mov dword [ebp - 0x50], 0xd6620293
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x50]
cmp eax, 0x840b2a04
jg 0x40a840
cmp eax, 0x81c4b369
jne 0x40a820
jmp 0x40a80b
cmp eax, 0x9034d191
jg 0x40a860
cmp eax, 0x840b2a05
jne 0x40a820
mov dword [ebp - 0x50], 0xdfb6379a
jmp 0x40a820
cmp eax, 0x95e348c8
jg 0x40a884
cmp eax, 0x9034d192
jne 0x40a820
mov al, byte [ebp - 4]
test al, al
mov eax, 0xc1d4291c
jne 0x40a87f
mov eax, 0x61ec1594
mov dword [ebp - 0x50], eax
jmp 0x40a820
cmp eax, 0x7b79f17d
jg 0x40a8ef
cmp eax, 0x7b33d91c
jg 0x40a93e
cmp eax, 0x7914465f
jg 0x40a955
cmp eax, 0x723a1303
jg 0x40a96c
cmp eax, 0x70faf213
jg 0x40a983
cmp eax, 0x701b96a7
jg 0x40a9a7
cmp eax, 0x6b360a77
jg 0x40a9d2
cmp eax, 0x9615262e
jg 0x40a9f5
cmp eax, 0x95e348c9
jne 0x40a820
mov dword [ebp - 0x50], 0x79144660
jmp 0x40a820
cmp eax, 0x7b79f17e
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], 0
mov byte [ebp - 3], 1
mov dword [ebp - 0x50], 0xfe40c695
jmp 0x40a820
cmp eax, 0x7b33d91d
jne 0x40a820
mov dword [ebp - 0x50], 0x6b360a78
jmp 0x40a820
cmp eax, 0x79144660
jne 0x40a820
mov dword [ebp - 0x50], 0xdb20a49a
jmp 0x40a820
cmp eax, 0x723a1304
jne 0x40a820
mov dword [ebp - 0x50], 0x62169bb4
jmp 0x40a820
cmp eax, 0x70faf214
jne 0x40a820
mov al, byte [ebp - 5]
test al, al
mov eax, 0xa1dcf77f
jne 0x40a99f
mov eax, 0x701b96a8
mov dword [ebp - 0x50], eax
jmp 0x40a820
cmp eax, 0x701b96a8
jne 0x40a820
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xa1dcf77f
jne 0x40a9ca
mov eax, 0x7b33d91d
mov dword [ebp - 0x50], eax
jmp 0x40a820
cmp eax, 0x6b360a78
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], 0x9dc92b33
jmp 0x40a820
cmp eax, 0x9dbf4d35
jg 0x40aa17
cmp eax, 0x9615262f
jne 0x40a820
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], 0x9034d192
jmp 0x40a820
cmp eax, 0x62169bb3
jg 0x40abd0
cmp eax, 0x61ec1593
jg 0x40abf9
cmp eax, 0x5ff28ba1
jg 0x40ac44
cmp eax, 0x5a008111
jg 0x40ac68
cmp eax, 0x571d99bf
jg 0x40ac7f
cmp eax, 0x528e09fc
jg 0x40ac96
cmp eax, 0x44b8a1f5
jg 0x40acad
cmp eax, 0x41333df3
jg 0x40acda
cmp eax, 0x4100b0c6
jg 0x40acfd
cmp eax, 0x3acabd2f
jg 0x40ad14
cmp eax, 0x2f04c3f2
jg 0x40ad38
cmp eax, 0x2c66e668
jg 0x40ad4f
cmp eax, 0x235510c0
jg 0x40ad66
cmp eax, 0x1ea85c9a
jg 0x40ad7d
cmp eax, 0x19d43094
jg 0x40ad8d
cmp eax, 0x123c3b3a
jg 0x40ada4
cmp eax, 0xe668f1c
jg 0x40adbb
cmp eax, 0xa6ebe8d
jg 0x40adec
cmp eax, 0x8cd1b9d
jg 0x40ae03
cmp eax, 0x506acd8
jg 0x40ae1a
cmp eax, 0xfe40c694
jg 0x40ae47
cmp eax, 0xf57bab9d
jg 0x40ae6b
cmp eax, 0xf14e3b71
jg 0x40ae8e
cmp eax, 0xe1fe3c32
jg 0x40aebf
cmp eax, 0xdfb63799
jg 0x40aed6
cmp eax, 0xdf98ef21
jg 0x40aeed
cmp eax, 0xdb20a499
jg 0x40af38
cmp eax, 0xd742a60b
jg 0x40af4f
cmp eax, 0xd6620292
jg 0x40af66
cmp eax, 0xcde3b9ff
jg 0x40af7d
cmp eax, 0xccf462bc
jg 0x40af94
cmp eax, 0xcc6ff6e9
jg 0x40afb7
cmp eax, 0xc1d4291b
jg 0x40afce
cmp eax, 0xbc8467d9
jg 0x40afe5
cmp eax, 0xb50a30f0
jg 0x40b003
cmp eax, 0xb4c211f7
jg 0x40b01a
cmp eax, 0xb1dae64d
jg 0x40b052
cmp eax, 0x9dbf4d36
je 0x40b069
cmp eax, 0x9dc92b33
jne 0x40b081
mov dword [ebp - 0x50], 0xcde3ba00
jmp 0x40a820
cmp eax, 0x62169bb4
jne 0x40a820
mov eax, 0x6e7ad344
sub eax, dword [ebp - 0x4c]
mov ecx, 0x6e7ad345
sub ecx, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], 0x8cd1b9e
jmp 0x40a820
cmp eax, 0x61ec1594
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0xc1d4291c
jmp 0x40a820
cmp eax, 0x5ff28ba2
jne 0x40a820
mov al, byte [ebp - 1]
test al, al
mov eax, 0x44b8a1f6
jne 0x40ac60
mov eax, 0x723a1304
mov dword [ebp - 0x50], eax
jmp 0x40a820
cmp eax, 0x5a008112
jne 0x40a820
mov dword [ebp - 0x50], 0xb4c211f8
jmp 0x40a820
cmp eax, 0x571d99c0
jne 0x40a820
mov dword [ebp - 0x50], 0xbc8467da
jmp 0x40a820
cmp eax, 0x528e09fd
jne 0x40a820
mov dword [ebp - 0x50], 0x123c3b3b
jmp 0x40a820
cmp eax, 0x44b8a1f6
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x34]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x50], 0x1ea85c9b
jmp 0x40a820
cmp eax, 0x41333df4
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x50], 0xf14e3b72
jmp 0x40a820
cmp eax, 0x4100b0c7
jne 0x40a820
mov dword [ebp - 0x50], 0x8cd1b9e
jmp 0x40a820
cmp eax, 0x3acabd30
jne 0x40a820
mov al, byte [ebp - 2]
test al, al
mov eax, 0x5a008112
jne 0x40ad30
mov eax, 0x840b2a05
mov dword [ebp - 0x50], eax
jmp 0x40a820
cmp eax, 0x2f04c3f3
jne 0x40a820
mov dword [ebp - 0x50], 0xf57bab9e
jmp 0x40a820
cmp eax, 0x2c66e669
jne 0x40a820
mov dword [ebp - 0x50], 0xdfb6379a
jmp 0x40a820
cmp eax, 0x235510c1
jne 0x40a820
mov dword [ebp - 0x50], 0xd6620293
jmp 0x40a820
cmp eax, 0x1ea85c9b
jne 0x40a820
jmp 0x40b098
cmp eax, 0x19d43095
jne 0x40a820
mov dword [ebp - 0x50], 0x79144660
jmp 0x40a820
cmp eax, 0x123c3b3b
jne 0x40a820
mov dword [ebp - 0x50], 0xbc8467da
jmp 0x40a820
cmp eax, 0xe668f1d
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x40], eax
mov dword [esp], eax
call fcn.00402070
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], 0xb4c211f8
jmp 0x40a820
cmp eax, 0xa6ebe8e
jne 0x40a820
mov dword [ebp - 0x50], 0xf14e3b72
jmp 0x40a820
cmp eax, 0x8cd1b9e
jne 0x40a820
mov dword [ebp - 0x50], 0xf57bab9e
jmp 0x40a820
cmp eax, 0x506acd9
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x95e348c9
jne 0x40ae3f
mov eax, 0xa6ebe8e
mov dword [ebp - 0x50], eax
jmp 0x40a820
cmp eax, 0xfe40c695
jne 0x40a820
mov al, byte [ebp - 3]
test al, al
mov eax, 0x4100b0c7
jne 0x40ae63
mov eax, 0x61ec1594
mov dword [ebp - 0x50], eax
jmp 0x40a820
cmp eax, 0xf57bab9e
jne 0x40a820
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x44]
setb al
mov byte [ebp - 2], al
mov dword [ebp - 0x50], 0x3acabd30
jmp 0x40a820
cmp eax, 0xf14e3b72
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x3c]
lea edx, [eax + ecx]
mov dword [ebp - 0x24], edx
cmp dword [eax + ecx], 0x4550
setne byte [ebp - 5]
mov dword [ebp - 0x50], 0x70faf214
jmp 0x40a820
cmp eax, 0xe1fe3c33
jne 0x40a820
mov dword [ebp - 0x50], 0xb1dae64e
jmp 0x40a820
cmp eax, 0xdfb6379a
jne 0x40a820
mov dword [ebp - 0x50], 0x571d99c0
jmp 0x40a820
cmp eax, 0xdf98ef22
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0x7b79f17e
jmp 0x40a820
cmp eax, 0xdb20a49a
jne 0x40a820
mov dword [ebp - 0x50], 0xbc8467da
jmp 0x40a820
cmp eax, 0xd742a60c
jne 0x40a820
mov dword [ebp - 0x50], 0x528e09fd
jmp 0x40a820
cmp eax, 0xd6620293
jne 0x40a820
mov dword [ebp - 0x50], 0x19d43095
jmp 0x40a820
cmp eax, 0xcde3ba00
jne 0x40a820
mov dword [ebp - 0x50], 0x9615262f
jmp 0x40a820
cmp eax, 0xccf462bd
jne 0x40a820
mov eax, 0x506acd9
cmp dword [ebp - 0xc], 0
je 0x40afaf
mov eax, 0xcde3ba00
mov dword [ebp - 0x50], eax
jmp 0x40a820
cmp eax, 0xcc6ff6ea
jne 0x40a820
mov dword [ebp - 0x50], 0x9615262f
jmp 0x40a820
cmp eax, 0xc1d4291c
jne 0x40a820
mov dword [ebp - 0x50], 0x7b79f17e
jmp 0x40a820
cmp eax, 0xbc8467da
jne 0x40a820
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x50], 0x1ea85c9b
jmp 0x40a820
cmp eax, 0xb50a30f1
jne 0x40a820
mov dword [ebp - 0x50], 0xb1dae64e
jmp 0x40a820
cmp eax, 0xb4c211f8
jne 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x40], eax
mov dword [esp], eax
call fcn.00402070
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x18]
sete byte [ebp - 1]
mov dword [ebp - 0x50], 0x5ff28ba2
jmp 0x40a820
cmp eax, 0xb1dae64e
jne 0x40a820
mov dword [ebp - 0x50], 0x2c66e669
jmp 0x40a820
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], 0x6b360a78
jmp 0x40a820
cmp eax, 0xa1dcf77f
jne 0x40a820
mov dword [ebp - 0x50], 0x528e09fd
jmp 0x40a820
mov eax, dword [ebp - 0x10]
add esp, 0x54
pop ebp
ret