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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [ebp + 8]
mov dword [esp + 0xbc], eax
mov ax, word [0x47e128]
mov word [esp + 0x54], ax
mov eax, dword [0x47e124]
mov dword [esp + 0x50], eax
mov eax, dword [0x4c7cf8]
mov dword [esp + 0xc4], eax
lea ebx, [esp + 0x5c]
lea edi, [esp + 0x8c]
lea esi, [esp + 0x64]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0xe14f0d82
jmp 0x40e290
mov dword [esp + 0x38], ecx
nop
nop
mov eax, dword [esp + 0x38]
cmp eax, 0xa49e06cc
jg 0x40e2d0
cmp eax, 0x8360c631
jne 0x40e290
call fcn.004037f0
mov ecx, dword [esp + 0xbc]
mov dword [ecx], eax
mov dword [esp + 0x3c], eax
mov ecx, 0x10587f41
cmp eax, 5
ja 0x40e28a
mov ecx, 0x551bf04a
jmp 0x40e28a
cmp eax, 0x6b641ac9
jg 0x40e360
cmp eax, 0x684b3bf8
jg 0x40e388
cmp eax, 0x64d78129
jg 0x40e3aa
cmp eax, 0x5d95af78
jg 0x40e3c2
cmp eax, 0x551bf049
jg 0x40e3ea
cmp eax, 0x48620cdb
jg 0x40e46c
cmp eax, 0x43e539f4
jg 0x40e4b2
cmp eax, 0x3fa7d312
jg 0x40e4ec
cmp eax, 0xa60b9454
jg 0x40e4fc
cmp eax, 0xa49e06cd
jne 0x40e290
mov dword [0x4c7cfc], 1
mov dword [esp + 0x38], 0x64d7812a
jmp 0x40e290
cmp eax, 0x6b641aca
jne 0x40e290
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call dword [0x4c8c7c]
sub esp, 4
mov dword [esp + 0x38], 0xe4a272f1
jmp 0x40e290
cmp eax, 0x684b3bf9
jne 0x40e290
mov dword [0x4c7cfc], 0
mov dword [esp + 0x38], 0x60aa164
jmp 0x40e290
cmp eax, 0x64d7812a
jne 0x40e290
mov dword [esp + 0x38], 0x1b465b30
jmp 0x40e290
cmp eax, 0x5d95af79
jne 0x40e290
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0x38], 0xe18168e
jmp 0x40e290
cmp eax, 0x551bf04a
jne 0x40e290
lea eax, [esp + 0x4c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x220
mov dword [esp + 8], 0x20
mov dword [esp + 4], 2
call dword [0x4c8c84]
sub esp, 0x2c
test eax, eax
mov eax, 0xb2e5f4c4
jne 0x40e463
mov eax, 0xc6673fc9
mov dword [esp + 0x38], eax
jmp 0x40e290
cmp eax, 0x48620cdc
jne 0x40e290
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb8], eax
mov eax, dword [eax]
lea ecx, [esp + 0xb4]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [0x4c8c88]
sub esp, 8
test eax, eax
mov eax, 0x1247b3ed
jne 0x40e4a9
mov eax, 0x1b465b30
mov dword [esp + 0x38], eax
jmp 0x40e290
cmp eax, 0x43e539f5
jne 0x40e290
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00412fbb
mov dword [esp + 0x60], eax
mov ecx, 0xbe19a113
test eax, eax
je 0x40e4e3
mov ecx, 0xa60b9455
mov dword [esp + 0x38], ecx
jmp 0x40e290
cmp eax, 0x3fa7d313
jne 0x40e290
jmp 0x40ea1c
cmp eax, 0xa800c79d
jg 0x40e561
cmp eax, 0xa60b9455
jne 0x40e290
mov esi, edi
mov edi, ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
lea ebx, [esp + 0x40]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 0x19
call dword [0x4c8c8c]
sub esp, 0x14
test eax, eax
mov eax, 0x48620cdc
jne 0x40e550
mov eax, 0xdd7c09ff
mov dword [esp + 0x38], eax
mov ebx, edi
mov edi, esi
lea esi, [esp + 0x64]
jmp 0x40e290
cmp eax, 0xb2e5f4c3
jg 0x40e58d
cmp eax, 0xa800c79e
jne 0x40e290
mov eax, 0xc713e90b
cmp dword [esp + 0x60], 0
jne 0x40e584
mov eax, 0xe0ac522a
mov dword [esp + 0x38], eax
jmp 0x40e290
cmp eax, 0xbe19a112
jg 0x40e5ac
cmp eax, 0xb2e5f4c4
jne 0x40e290
mov dword [esp + 0x38], 0x389d941a
jmp 0x40e290
cmp eax, 0xc6673fc8
jg 0x40e5e6
cmp eax, 0xbe19a113
jne 0x40e290
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp + 0x38], 0x3fa7d313
jmp 0x40e290
cmp eax, 0x3961e16d
jg 0x40e698
cmp eax, 0x389d9419
jg 0x40e6a8
cmp eax, 0x2d41ed0f
jg 0x40e6ea
cmp eax, 0x2b49c5ef
jg 0x40e702
cmp eax, 0x1b465b2f
jg 0x40e737
cmp eax, 0x1247b3ec
jg 0x40e74f
cmp eax, 0x10587f40
jg 0x40e836
cmp eax, 0xe18168d
jg 0x40e87d
cmp eax, 0x60aa163
jg 0x40e895
cmp eax, 0xf9a5bc7c
jg 0x40e8ad
cmp eax, 0xf4435352
jg 0x40e8d6
cmp eax, 0xe4a272f0
jg 0x40e90e
cmp eax, 0xe225777e
jg 0x40e936
cmp eax, 0xc713e90a
jg 0x40e98b
cmp eax, 0xc6673fc9
jne 0x40e290
mov dword [esp + 0x38], 0xa800c79e
jmp 0x40e290
cmp eax, 0x3961e16e
jne 0x40e290
jmp 0x40e9ce
cmp eax, 0x389d941a
jne 0x40e290
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c7cfc
mov dword [esp], 0
call dword [0x4c8c80]
sub esp, 0xc
test eax, eax
setne byte [esp + 0xcb]
mov dword [esp + 0x38], 0xf9a5bc7d
jmp 0x40e290
cmp eax, 0x2d41ed10
jne 0x40e290
mov dword [esp + 0x38], 0xc6673fc9
jmp 0x40e290
cmp eax, 0x2b49c5f0
jne 0x40e290
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004140f8
test eax, eax
mov eax, 0x64d7812a
jne 0x40e72e
mov eax, 0xa49e06cd
mov dword [esp + 0x38], eax
jmp 0x40e290
cmp eax, 0x1b465b30
jne 0x40e290
mov dword [esp + 0x38], 0xdd7c09ff
jmp 0x40e290
cmp eax, 0x1247b3ed
jne 0x40e290
mov eax, dword [0x47e12c]
movzx eax, word [eax]
mov dword [esp + 0x48], eax
not eax
mov ecx, dword [0x47e12c]
add eax, eax
neg eax
movzx eax, word [ecx + eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov ecx, dword [0x47e12c]
mov edx, dword [esp + 0x48]
lea eax, [ecx + edx*2 + 4]
mov dword [esp + 0x34], eax
add ecx, 2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00402ee0
mov eax, dword [0x47e130]
movzx eax, word [eax]
mov dword [esp + 0x48], eax
not eax
mov ecx, dword [0x47e130]
add eax, eax
neg eax
movzx eax, word [ecx + eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov ecx, dword [0x47e130]
mov edx, dword [esp + 0x48]
lea eax, [ecx + edx*2 + 4]
mov dword [esp + 0x34], eax
add ecx, 2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00402ee0
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004140f8
test eax, eax
mov eax, 0x2b49c5f0
jne 0x40e82d
mov eax, 0xa49e06cd
mov dword [esp + 0x38], eax
jmp 0x40e290
cmp eax, 0x10587f41
jne 0x40e290
mov eax, dword [0x4c8c90]
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], 0x2000000
call dword [esp + 0x34]
sub esp, 0xc
test eax, eax
mov eax, 0xe225777f
jne 0x40e874
mov eax, 0xe18168e
mov dword [esp + 0x38], eax
jmp 0x40e290
cmp eax, 0xe18168e
jne 0x40e290
mov dword [esp + 0x38], 0xa800c79e
jmp 0x40e290
cmp eax, 0x60aa164
jne 0x40e290
mov dword [esp + 0x38], 0xe4a272f1
jmp 0x40e290
cmp eax, 0xf9a5bc7d
jne 0x40e290
mov al, byte [esp + 0xcb]
test al, al
mov eax, 0x60aa164
jne 0x40e8cd
mov eax, 0x684b3bf9
mov dword [esp + 0x38], eax
jmp 0x40e290
cmp eax, 0xf4435353
jne 0x40e290
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c7cfc
mov dword [esp], 0
call dword [0x4c8c80]
sub esp, 0xc
mov dword [esp + 0x38], 0x389d941a
jmp 0x40e290
cmp eax, 0xe4a272f1
jne 0x40e290
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call dword [0x4c8c7c]
sub esp, 4
mov dword [esp + 0x38], 0x2d41ed10
jmp 0x40e290
cmp eax, 0xe225777f
jne 0x40e290
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x19
call dword [0x4c8c8c]
sub esp, 0x14
mov eax, 0x43e539f5
cmp dword [esp + 0x40], 0
jne 0x40e982
mov eax, 0x5d95af79
mov dword [esp + 0x38], eax
jmp 0x40e290
cmp eax, 0xdd7c09fe
jg 0x40e9b6
cmp eax, 0xc713e90b
jne 0x40e290
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00412f58
mov dword [esp + 0x38], 0xe0ac522a
jmp 0x40e290
cmp eax, 0xdd7c09ff
je 0x40e9e7
cmp eax, 0xe0ac522a
jne 0x40e9f4
mov dword [0x4c7cf8], 1
mov eax, dword [0x4c7cfc]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x38], 0x3fa7d313
jmp 0x40e290
mov dword [esp + 0x38], 0x5d95af79
jmp 0x40e290
cmp eax, 0xe14f0d82
jne 0x40e290
mov eax, 0x3961e16e
cmp dword [esp + 0xc4], 0
jne 0x40ea13
mov eax, 0x8360c631
mov dword [esp + 0x38], eax
jmp 0x40e290
mov eax, dword [esp + 0xc0]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret