Function at 0x40df10
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 [0x41e128]
mov word [esp + 0x4c], ax
mov eax, dword [0x41e124]
mov dword [esp + 0x48], eax
mov eax, dword [0x46b598]
mov dword [esp + 0xbc], eax
lea edi, [esp + 0xac]
lea esi, [esp + 0x84]
lea ebx, [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], 0x1d03691f
jmp 0x40e060
mov dword [esp + 0x30], 0x3ac7edea
nop
mov eax, dword [esp + 0x30]
cmp eax, 0x7cc67468
jg 0x40e1e0
cmp eax, 0x6e52c262
jg 0x40e1f0
cmp eax, 0x56c46f0b
jg 0x40e208
cmp eax, 0x3d14ac66
jg 0x40e230
cmp eax, 0x3ac7ede9
jg 0x40e263
cmp eax, 0x222e4440
jg 0x40e288
cmp eax, 0x1d03691e
jg 0x40e2ca
cmp eax, 0x1966151b
jg 0x40e2f2
cmp eax, 0x1611ef22
jg 0x40e30a
cmp eax, 0xa712a87
jg 0x40e33f
cmp eax, 0x9c761fd
jg 0x40e39d
cmp eax, 0x6d122b5
jg 0x40e3ef
cmp eax, 0x2c98534
jg 0x40e411
cmp eax, 0xfa3f7f37
jg 0x40e435
cmp eax, 0xf9188081
jg 0x40e44d
cmp eax, 0xf23b11da
jg 0x40e46f
cmp eax, 0xf1894153
jg 0x40e4f1
cmp eax, 0xf052ef80
jg 0x40e52b
cmp eax, 0xee8d58d7
jg 0x40e543
cmp eax, 0xec64a63d
jg 0x40e55b
cmp eax, 0xeb20748e
jg 0x40e572
cmp eax, 0xe7ea63a4
jg 0x40e59a
cmp eax, 0xd5d5d8a5
jg 0x40e5be
cmp eax, 0xd500790d
jg 0x40e5d6
cmp eax, 0xd07a6be1
jg 0x40e5ee
cmp eax, 0xc2bba235
jg 0x40e623
cmp eax, 0xc15d6c1a
jg 0x40e678
cmp eax, 0xaaedebf7
jg 0x40e73c
cmp eax, 0xa9c7c6d5
jg 0x40e749
cmp eax, 0x9f54f3e8
je 0x40e788
cmp eax, 0x9f6dd58e
jne 0x40e795
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x30], 0xaaedebf8
jmp 0x40e060
cmp eax, 0x7cc67469
jne 0x40e060
jmp 0x40e057
cmp eax, 0x6e52c263
jne 0x40e060
mov dword [esp + 0x30], 0x9f6dd58e
jmp 0x40e060
cmp eax, 0x56c46f0c
jne 0x40e060
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0x30], 0x7cc67469
jmp 0x40e060
cmp eax, 0x3d14ac67
jne 0x40e060
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], 0x6e52c263
jmp 0x40e060
cmp eax, 0x3ac7edea
jne 0x40e060
mov eax, 0x2c98535
cmp dword [esp + 0x58], 0
jne 0x40e27f
mov eax, 0xec64a63e
mov dword [esp + 0x30], eax
jmp 0x40e060
cmp eax, 0x222e4441
jne 0x40e060
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x46b59c
mov dword [esp], 0
call dword [0x46c520]
sub esp, 0xc
test eax, eax
mov eax, 0xeb20748f
jne 0x40e2c1
mov eax, 0xf9188082
mov dword [esp + 0x30], eax
jmp 0x40e060
cmp eax, 0x1d03691f
jne 0x40e060
mov eax, 0xe7ea63a5
cmp dword [esp + 0xbc], 0
jne 0x40e2e9
mov eax, 0xd07a6be2
mov dword [esp + 0x30], eax
jmp 0x40e060
cmp eax, 0x1966151c
jne 0x40e060
mov dword [esp + 0x30], 0x6d122b6
jmp 0x40e060
cmp eax, 0x1611ef23
jne 0x40e060
mov eax, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004146d8
test eax, eax
mov eax, 0xf052ef81
jne 0x40e336
mov eax, 0x1966151c
mov dword [esp + 0x30], eax
jmp 0x40e060
cmp eax, 0xa712a88
jne 0x40e060
mov ebx, edi
mov edi, esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
lea esi, [esp + 0x38]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 0x19
call dword [0x46c52c]
sub esp, 0x14
test eax, eax
mov eax, 0xa9c7c6d6
jne 0x40e38c
mov eax, 0xfa3f7f38
mov dword [esp + 0x30], eax
mov esi, edi
mov edi, ebx
lea ebx, [esp + 0x5c]
jmp 0x40e060
cmp eax, 0x9c761fe
jne 0x40e060
mov ebx, esi
mov esi, edi
mov edi, dword [0x46c530]
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 edi
sub esp, 0xc
test eax, eax
mov eax, 0xc2bba236
jne 0x40e3de
mov eax, 0x7cc67469
mov dword [esp + 0x30], eax
mov edi, esi
mov esi, ebx
lea ebx, [esp + 0x5c]
jmp 0x40e060
cmp eax, 0x6d122b6
jne 0x40e060
mov dword [0x46b59c], 1
mov dword [esp + 0x30], 0xee8d58d8
jmp 0x40e060
cmp eax, 0x2c98535
jne 0x40e060
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.0041356b
mov dword [esp + 0x30], 0xec64a63e
jmp 0x40e060
cmp eax, 0xfa3f7f38
jne 0x40e060
mov dword [esp + 0x30], 0x56c46f0c
jmp 0x40e060
cmp eax, 0xf9188082
jne 0x40e060
mov dword [0x46b59c], 0
mov dword [esp + 0x30], 0xeb20748f
jmp 0x40e060
cmp eax, 0xf23b11db
jne 0x40e060
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 [0x46c524]
sub esp, 0x2c
test eax, eax
mov eax, 0x222e4441
jne 0x40e4e8
mov eax, 0xd500790e
mov dword [esp + 0x30], eax
jmp 0x40e060
cmp eax, 0xf1894154
jne 0x40e060
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004135a3
mov dword [esp + 0x58], eax
mov ecx, 0x3d14ac67
test eax, eax
je 0x40e522
mov ecx, 0xa712a88
mov dword [esp + 0x30], ecx
jmp 0x40e060
cmp eax, 0xf052ef81
jne 0x40e060
mov dword [esp + 0x30], 0xd5d5d8a6
jmp 0x40e060
cmp eax, 0xee8d58d8
jne 0x40e060
mov dword [esp + 0x30], 0xf052ef81
jmp 0x40e060
cmp eax, 0xec64a63e
jne 0x40e060
mov dword [0x46b598], 1
jmp 0x40e5a5
cmp eax, 0xeb20748f
jne 0x40e060
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [0x46c51c]
sub esp, 4
mov dword [esp + 0x30], 0xd500790e
jmp 0x40e060
cmp eax, 0xe7ea63a5
jne 0x40e060
mov eax, dword [0x46b59c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x30], 0x6e52c263
jmp 0x40e060
cmp eax, 0xd5d5d8a6
jne 0x40e060
mov dword [esp + 0x30], 0xfa3f7f38
jmp 0x40e060
cmp eax, 0xd500790e
jne 0x40e060
mov dword [esp + 0x30], 0x3ac7edea
jmp 0x40e060
cmp eax, 0xd07a6be2
jne 0x40e060
call fcn.00403890
mov ecx, dword [esp + 0xb4]
mov dword [ecx], eax
mov dword [esp + 0x34], eax
mov ecx, 0x9c761fe
cmp eax, 5
ja 0x40e61a
mov ecx, 0xf23b11db
mov dword [esp + 0x30], ecx
jmp 0x40e060
cmp eax, 0xc2bba236
jne 0x40e060
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 [0x46c52c]
sub esp, 0x14
mov eax, 0xf1894154
cmp dword [esp + 0x38], 0
jne 0x40e66f
mov eax, 0x56c46f0c
mov dword [esp + 0x30], eax
jmp 0x40e060
cmp eax, 0xc15d6c1b
jne 0x40e060
mov eax, dword [0x41e12c]
movzx eax, word [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [0x41e12c]
movzx eax, word [ecx + eax*2 + 2]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x41e12c]
mov edx, dword [esp + 0x40]
lea edi, [ecx + edx*2 + 4]
add ecx, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00403410
mov eax, dword [0x41e130]
movzx eax, word [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [0x41e130]
movzx eax, word [ecx + eax*2 + 2]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x41e130]
mov edx, dword [esp + 0x40]
lea edi, [ecx + edx*2 + 4]
add ecx, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00403410
mov eax, dword [esp + 0xac]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004146d8
test eax, eax
mov eax, 0x1611ef23
jne 0x40e72c
mov eax, 0x1966151c
mov dword [esp + 0x30], eax
lea edi, [esp + 0xac]
jmp 0x40e060
cmp eax, 0xaaedebf8
jne 0x40e060
jmp 0x40e7b7
cmp eax, 0xa9c7c6d6
jne 0x40e060
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov eax, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [0x46c528]
sub esp, 8
test eax, eax
mov eax, 0xc15d6c1b
jne 0x40e77f
mov eax, 0xd5d5d8a6
mov dword [esp + 0x30], eax
jmp 0x40e060
mov dword [esp + 0x30], 0x9f6dd58e
jmp 0x40e060
cmp eax, 0xa6d70556
jne 0x40e060
mov dword [0x46b59c], 1
mov dword [esp + 0x30], 0x6d122b6
jmp 0x40e060
mov eax, dword [esp + 0xc0]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret