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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 8]
mov dword [esp + 0xb4], eax
mov ax, word [0x41d128]
mov word [esp + 0x4c], ax
mov eax, dword [0x41d124]
mov dword [esp + 0x48], eax
mov eax, dword [0x464efc]
mov dword [esp + 0xbc], eax
lea esi, [esp + 0x84]
lea edi, [esp + 0x5c]
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 + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0xc4912ec4
jmp 0x40ca40
mov dword [esp + 0x30], 0xd3208f60
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x30]
cmp eax, 0x954cafdf
jg 0x40ca60
cmp eax, 0x838d5067
jne 0x40ca40
jmp 0x40ca30
cmp eax, 0xa24b7b3e
jg 0x40cb30
cmp eax, 0x954cafe0
jne 0x40ca40
mov eax, dword [0x41d12c]
movzx eax, word [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [0x41d12c]
movzx eax, word [ecx + eax*2 + 2]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x41d12c]
mov edx, dword [esp + 0x40]
lea ebx, [ecx + edx*2 + 4]
add ecx, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00402b00
mov eax, dword [0x41d130]
movzx eax, word [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [0x41d130]
movzx eax, word [ecx + eax*2 + 2]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x41d130]
mov edx, dword [esp + 0x40]
lea ebx, [ecx + edx*2 + 4]
add ecx, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00402b00
mov eax, dword [esp + 0xac]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00413dc8
test eax, eax
setne byte [esp + 0xc2]
mov dword [esp + 0x30], 0xd16bff61
jmp 0x40ca40
cmp eax, 0xab2e6526
jg 0x40cb4f
cmp eax, 0xa24b7b3f
jne 0x40ca40
mov dword [esp + 0x30], 0x1446bde
jmp 0x40ca40
cmp eax, 0xb0dfa855
jg 0x40cb9c
cmp eax, 0xab2e6527
jne 0x40ca40
mov ebx, dword [0x465e94]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x54]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], 0x2000000
call ebx
sub esp, 0xc
test eax, eax
mov eax, 0xfdbd5b20
jne 0x40cb93
mov eax, 0x7e7cba9e
mov dword [esp + 0x30], eax
jmp 0x40ca40
cmp eax, 0xb2849fcd
jg 0x40cbc5
cmp eax, 0xb0dfa856
jne 0x40ca40
mov dword [0x464f00], 1
mov dword [esp + 0x30], 0x3d77c1b6
jmp 0x40ca40
cmp eax, 0xb853f311
jg 0x40cbf4
cmp eax, 0xb2849fce
jne 0x40ca40
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0x30], 0x7e7cba9e
jmp 0x40ca40
cmp eax, 0xbd36c676
jg 0x40cc4d
cmp eax, 0xb853f312
jne 0x40ca40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
lea ebx, [esp + 0x38]
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 [0x465e90]
sub esp, 0x14
test eax, eax
mov eax, 0x52be6c01
jne 0x40cc44
mov eax, 0xd202a380
mov dword [esp + 0x30], eax
jmp 0x40ca40
cmp eax, 0xc47bf155
jg 0x40cc76
cmp eax, 0xbd36c677
jne 0x40ca40
mov dword [0x464f00], 0
mov dword [esp + 0x30], 0xf9b455c8
jmp 0x40ca40
cmp eax, 0x7f197364
jg 0x40cd0c
cmp eax, 0x7e7cba9d
jg 0x40cd84
cmp eax, 0x7ae7cf7d
jg 0x40cd9c
cmp eax, 0x773402d4
jg 0x40cdb4
cmp eax, 0x749896b5
jg 0x40cdcc
cmp eax, 0x6bab7b92
jg 0x40ce4e
cmp eax, 0x618f8f5e
jg 0x40ce66
cmp eax, 0x52be6c00
jg 0x40ce9b
cmp eax, 0xc4912ec3
jg 0x40cee1
cmp eax, 0xc47bf156
jne 0x40ca40
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0x30], 0x1446bde
jmp 0x40ca40
cmp eax, 0x7f197365
jne 0x40ca40
lea eax, [esp + 0x44]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x48]
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 [0x465e88]
sub esp, 0x2c
mov dword [esp + 0x30], 0x749896b6
jmp 0x40ca40
cmp eax, 0x7e7cba9e
jne 0x40ca40
mov dword [esp + 0x30], 0x18700906
jmp 0x40ca40
cmp eax, 0x7ae7cf7e
jne 0x40ca40
mov dword [esp + 0x30], 0x18700906
jmp 0x40ca40
cmp eax, 0x773402d5
jne 0x40ca40
mov dword [esp + 0x30], 0xe593559b
jmp 0x40ca40
cmp eax, 0x749896b6
jne 0x40ca40
lea eax, [esp + 0x44]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x48]
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 [0x465e88]
sub esp, 0x2c
test eax, eax
setne byte [esp + 0xc3]
mov dword [esp + 0x30], 0x4ba611ad
jmp 0x40ca40
cmp eax, 0x6bab7b93
jne 0x40ca40
mov dword [esp + 0x30], 0x749896b6
jmp 0x40ca40
cmp eax, 0x618f8f5f
jne 0x40ca40
call fcn.004031c0
mov ecx, dword [esp + 0xb4]
mov dword [ecx], eax
mov dword [esp + 0x34], eax
mov ecx, 0xab2e6527
cmp eax, 5
ja 0x40ce92
mov ecx, 0x6bab7b93
mov dword [esp + 0x30], ecx
jmp 0x40ca40
cmp eax, 0x52be6c01
jne 0x40ca40
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov eax, dword [eax]
lea ecx, [esp + 0xac]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [0x465e8c]
sub esp, 8
test eax, eax
mov eax, 0x1461ac2e
jne 0x40ced8
mov eax, 0x838d5067
mov dword [esp + 0x30], eax
jmp 0x40ca40
cmp eax, 0xd16bff60
jg 0x40cf10
cmp eax, 0xc4912ec4
jne 0x40ca40
mov eax, 0x49dd4395
cmp dword [esp + 0xbc], 0
jne 0x40cf07
mov eax, 0x618f8f5f
mov dword [esp + 0x30], eax
jmp 0x40ca40
cmp eax, 0xd202a37f
jg 0x40cf40
cmp eax, 0xd16bff61
jne 0x40ca40
mov al, byte [esp + 0xc2]
test al, al
mov eax, 0xef558ec4
jne 0x40cf37
mov eax, 0xb0dfa856
mov dword [esp + 0x30], eax
jmp 0x40ca40
cmp eax, 0xd3208f5f
jg 0x40cf5f
cmp eax, 0xd202a380
jne 0x40ca40
mov dword [esp + 0x30], 0xb2849fce
jmp 0x40ca40
cmp eax, 0xe593559a
jg 0x40cf7e
cmp eax, 0xd3208f60
jne 0x40ca40
mov dword [esp + 0x30], 0xfe894694
jmp 0x40ca40
cmp eax, 0xef558ec3
jg 0x40cfaa
cmp eax, 0xe593559b
jne 0x40ca40
mov eax, 0xe4e1cd8
cmp dword [esp + 0x58], 0
jne 0x40cfa1
mov eax, 0x45653989
mov dword [esp + 0x30], eax
jmp 0x40ca40
cmp eax, 0xf9b455c7
jg 0x40cfe6
cmp eax, 0xef558ec4
jne 0x40ca40
mov eax, dword [esp + 0xac]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00413dc8
test eax, eax
mov eax, 0x3d77c1b6
jne 0x40cfdd
mov eax, 0xb0dfa856
mov dword [esp + 0x30], eax
jmp 0x40ca40
cmp eax, 0xfd1c563c
jg 0x40d015
cmp eax, 0xf9b455c8
jne 0x40ca40
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [0x465e80]
sub esp, 4
mov dword [esp + 0x30], 0x773402d5
jmp 0x40ca40
cmp eax, 0xfdbd5b1f
jg 0x40d034
cmp eax, 0xfd1c563d
jne 0x40ca40
mov dword [esp + 0x30], 0xe593559b
jmp 0x40ca40
cmp eax, 0xfe894693
jg 0x40d090
cmp eax, 0xfdbd5b20
jne 0x40ca40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x38]
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 [0x465e90]
sub esp, 0x14
mov eax, 0x3b130006
cmp dword [esp + 0x38], 0
jne 0x40d087
mov eax, 0xb2849fce
mov dword [esp + 0x30], eax
jmp 0x40ca40
cmp eax, 0x1446bdd
jg 0x40d0af
cmp eax, 0xfe894694
jne 0x40ca40
mov dword [esp + 0x30], 0xd202a380
jmp 0x40ca40
cmp eax, 0xa0ca9c2
jg 0x40d0c6
cmp eax, 0x1446bde
jne 0x40ca40
jmp 0x40d37c
cmp eax, 0xe4e1cd7
jg 0x40d0e5
cmp eax, 0xa0ca9c3
jne 0x40ca40
mov dword [esp + 0x30], 0xd3208f60
jmp 0x40ca40
cmp eax, 0x1461ac2d
jg 0x40d110
cmp eax, 0xe4e1cd8
jne 0x40ca40
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00412c24
mov dword [esp + 0x30], 0x45653989
jmp 0x40ca40
cmp eax, 0x18700905
jg 0x40d12f
cmp eax, 0x1461ac2e
jne 0x40ca40
mov dword [esp + 0x30], 0x954cafe0
jmp 0x40ca40
cmp eax, 0x387f4a7e
jg 0x40d14e
cmp eax, 0x18700906
jne 0x40ca40
mov dword [esp + 0x30], 0xfd1c563d
jmp 0x40ca40
cmp eax, 0x3b130005
jg 0x40d183
cmp eax, 0x387f4a7f
jne 0x40ca40
mov dword [0x464efc], 1
mov eax, dword [0x464f00]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x30], 0xa24b7b3f
jmp 0x40ca40
cmp eax, 0x3d77c1b5
jg 0x40d1c4
cmp eax, 0x3b130006
jne 0x40ca40
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00412c8b
mov dword [esp + 0x58], eax
mov ecx, 0xc47bf156
test eax, eax
je 0x40d1bb
mov ecx, 0xb853f312
mov dword [esp + 0x30], ecx
jmp 0x40ca40
cmp eax, 0x45653988
jg 0x40d1e3
cmp eax, 0x3d77c1b6
jne 0x40ca40
mov dword [esp + 0x30], 0x838d5067
jmp 0x40ca40
cmp eax, 0x489b5021
jg 0x40d202
cmp eax, 0x45653989
jne 0x40ca40
mov dword [esp + 0x30], 0x387f4a7f
jmp 0x40ca40
cmp eax, 0x49dd4394
jg 0x40d2c0
cmp eax, 0x489b5022
jne 0x40ca40
mov eax, dword [0x41d12c]
movzx eax, word [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [0x41d12c]
movzx eax, word [ecx + eax*2 + 2]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x41d12c]
mov edx, dword [esp + 0x40]
lea ebx, [ecx + edx*2 + 4]
add ecx, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00402b00
mov eax, dword [0x41d130]
movzx eax, word [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [0x41d130]
movzx eax, word [ecx + eax*2 + 2]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x41d130]
mov edx, dword [esp + 0x40]
lea ebx, [ecx + edx*2 + 4]
add ecx, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00402b00
mov eax, dword [esp + 0xac]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00413dc8
mov dword [esp + 0x30], 0x954cafe0
jmp 0x40ca40
cmp eax, 0x4ba611ac
jg 0x40d2eb
cmp eax, 0x49dd4395
jne 0x40ca40
mov eax, dword [0x464f00]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x30], 0x1446bde
jmp 0x40ca40
cmp eax, 0x4ba611ad
je 0x40d330
cmp eax, 0x4d280a78
jne 0x40d34e
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x464f00
mov dword [esp], 0
call dword [0x465e84]
sub esp, 0xc
test eax, eax
mov eax, 0xf9b455c8
jne 0x40d327
mov eax, 0xbd36c677
mov dword [esp + 0x30], eax
jmp 0x40ca40
mov al, byte [esp + 0xc3]
test al, al
mov eax, 0x4d280a78
jne 0x40d345
mov eax, 0x773402d5
mov dword [esp + 0x30], eax
jmp 0x40ca40
cmp eax, 0x4d366b73
jne 0x40ca40
mov dword [0x464efc], 1
mov eax, dword [0x464f00]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x30], 0x387f4a7f
jmp 0x40ca40
mov eax, dword [esp + 0xb8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret