Function at 0x40bf30
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 + 0xb0], eax
mov ax, word [0x47c128]
mov word [esp + 0x4c], ax
mov eax, dword [0x47c124]
mov dword [esp + 0x48], eax
mov eax, dword [0x4c3ac0]
mov dword [esp + 0xb8], eax
lea esi, [esp + 0x50]
lea edi, [esp + 0xa8]
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 + 0x50], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0xcf514ae1
jmp 0x40c080
mov dword [esp + 0x30], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x30]
cmp eax, 0x989a6f54
jg 0x40c0d0
cmp eax, 0x8962b69d
jne 0x40c080
mov ebx, dword [0x4c4a58]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], 0x2000000
call ebx
sub esp, 0xc
test eax, eax
mov eax, 0x717f67ac
jne 0x40c06d
mov eax, 0xc8d1d806
jmp 0x40c06d
cmp eax, 0x9ebe8ad3
jg 0x40c100
cmp eax, 0x989a6f55
jne 0x40c080
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [0x4c4a44]
sub esp, 4
mov dword [esp + 0x30], 0x6c91a46d
jmp 0x40c080
cmp eax, 0xa5cb56b3
jg 0x40c11f
cmp eax, 0x9ebe8ad4
jne 0x40c080
mov dword [esp + 0x30], 0x59428528
jmp 0x40c080
cmp eax, 0xac1efa33
jg 0x40c13e
cmp eax, 0xa5cb56b4
jne 0x40c080
mov dword [esp + 0x30], 0xe326502f
jmp 0x40c080
cmp eax, 0xb19110b9
jg 0x40c184
cmp eax, 0xac1efa34
jne 0x40c080
mov eax, dword [esp + 0x54]
mov dword [esp + 0xac], eax
mov eax, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [0x4c4a50]
sub esp, 8
test eax, eax
mov eax, 0x6b11efa3
jne 0x40c17b
mov eax, 0xe1e36451
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0xc6fc693c
jg 0x40c1dd
cmp eax, 0xb19110ba
jne 0x40c080
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
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 [0x4c4a54]
sub esp, 0x14
test eax, eax
mov eax, 0xac1efa34
jne 0x40c1d4
mov eax, 0x39788005
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0x78e4f798
jg 0x40c2a0
cmp eax, 0x7672c2aa
jg 0x40c2c9
cmp eax, 0x717f67ab
jg 0x40c2e1
cmp eax, 0x6e5af95d
jg 0x40c2f9
cmp eax, 0x6c91a46c
jg 0x40c309
cmp eax, 0x6bbdcc64
jg 0x40c321
cmp eax, 0x6b11efa2
jg 0x40c339
cmp eax, 0x67241324
jg 0x40c410
cmp eax, 0x60f5a48e
jg 0x40c492
cmp eax, 0xc780f973
jg 0x40c4bc
cmp eax, 0xc6fc693d
jne 0x40c080
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
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 [0x4c4a54]
sub esp, 0x14
cmp dword [esp + 0x38], 0
setne byte [esp + 0xbf]
mov dword [esp + 0x30], 0x3a73a4f7
jmp 0x40c080
cmp eax, 0x78e4f799
jne 0x40c080
mov al, byte [esp + 0xbe]
test al, al
mov eax, 0x8962b69d
jne 0x40c2c0
mov eax, 0x67241325
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0x7672c2ab
jne 0x40c080
mov dword [esp + 0x30], 0xe1e36451
jmp 0x40c080
cmp eax, 0x717f67ac
jne 0x40c080
mov dword [esp + 0x30], 0xc6fc693d
jmp 0x40c080
cmp eax, 0x6e5af95e
jne 0x40c080
jmp 0x40ca07
cmp eax, 0x6c91a46d
jne 0x40c080
mov dword [esp + 0x30], 0x59428528
jmp 0x40c080
cmp eax, 0x6bbdcc65
jne 0x40c080
mov dword [esp + 0x30], 0x57e84b81
jmp 0x40c080
cmp eax, 0x6b11efa3
jne 0x40c080
mov eax, dword [0x47c12c]
movzx eax, word [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [0x47c12c]
movzx eax, word [ecx + eax*2 + 2]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x47c12c]
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
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.00402870
mov eax, dword [0x47c130]
movzx eax, word [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [0x47c130]
movzx eax, word [ecx + eax*2 + 2]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x47c130]
mov edx, dword [esp + 0x40]
lea ebx, [ecx + edx*2 + 4]
mov dword [esp + 0x2c], ebx
add ecx, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
lea eax, [esp + 0x58]
mov dword [esp], eax
call fcn.00402870
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00413584
test eax, eax
mov eax, 0xf3c2dd49
jne 0x40c407
mov eax, 0x5e60b45a
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0x67241325
jne 0x40c080
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 [0x4c4a4c]
sub esp, 0x2c
test eax, eax
mov eax, 0x5aa43adf
jne 0x40c489
mov eax, 0x6bbdcc65
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0x60f5a48f
jne 0x40c080
call fcn.00402e20
mov ecx, dword [esp + 0xb0]
mov dword [ecx], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0x4e33078d
jmp 0x40c080
cmp eax, 0xc8d1d805
jg 0x40c50b
cmp eax, 0xc780f974
jne 0x40c080
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
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 [0x4c4a54]
sub esp, 0x14
mov dword [esp + 0x30], 0xc6fc693d
jmp 0x40c080
cmp eax, 0xca844c12
jg 0x40c52a
cmp eax, 0xc8d1d806
jne 0x40c080
mov dword [esp + 0x30], 0x57e84b81
jmp 0x40c080
cmp eax, 0xcf514ae0
jg 0x40c559
cmp eax, 0xca844c13
jne 0x40c080
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [0x4c4a44]
sub esp, 4
mov dword [esp + 0x30], 0x989a6f55
jmp 0x40c080
cmp eax, 0xd30a91da
jg 0x40c588
cmp eax, 0xcf514ae1
jne 0x40c080
mov eax, 0x2b55bfd6
cmp dword [esp + 0xb8], 0
jne 0x40c57f
mov eax, 0x228825c
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0xda71d1e4
jg 0x40c5a7
cmp eax, 0xd30a91db
jne 0x40c080
mov dword [esp + 0x30], 0x78d879c
jmp 0x40c080
cmp eax, 0xe1e36450
jg 0x40c5c6
cmp eax, 0xda71d1e5
jne 0x40c080
mov dword [esp + 0x30], 0x5027ebb4
jmp 0x40c080
cmp eax, 0xe326502e
jg 0x40c5e5
cmp eax, 0xe1e36451
jne 0x40c080
mov dword [esp + 0x30], 0x39788005
jmp 0x40c080
cmp eax, 0xefb397f8
jg 0x40c612
cmp eax, 0xe326502f
jne 0x40c080
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x30], 0x6e5af95e
jmp 0x40c080
cmp eax, 0xf3c2dd48
jg 0x40c647
cmp eax, 0xefb397f9
jne 0x40c080
mov dword [0x4c3ac0], 1
mov eax, dword [0x4c3ac4]
mov dword [esp + 0xb4], eax
mov dword [esp + 0x30], 0x7ab7f4a
jmp 0x40c080
cmp eax, 0xfd24de53
jg 0x40c687
cmp eax, 0xf3c2dd49
jne 0x40c080
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00413584
test eax, eax
mov eax, 0x7672c2ab
jne 0x40c67e
mov eax, 0x5e60b45a
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0x228825b
jg 0x40c6a6
cmp eax, 0xfd24de54
jne 0x40c080
mov dword [esp + 0x30], 0xd30a91db
jmp 0x40c080
cmp eax, 0x78d879b
jg 0x40c6c5
cmp eax, 0x228825c
jne 0x40c080
mov dword [esp + 0x30], 0x4e33078d
jmp 0x40c080
cmp eax, 0x5e60b459
jg 0x40c798
cmp eax, 0x5de2b056
jg 0x40c7ba
cmp eax, 0x5aa43ade
jg 0x40c7d2
cmp eax, 0x59428527
jg 0x40c814
cmp eax, 0x57e84b80
jg 0x40c82c
cmp eax, 0x54e05236
jg 0x40c851
cmp eax, 0x5027ebb3
jg 0x40c88b
cmp eax, 0x4e33078c
jg 0x40c8b4
cmp eax, 0x3fc5427d
jg 0x40c8e9
cmp eax, 0x3a73a4f6
jg 0x40c911
cmp eax, 0x39788004
jg 0x40c929
cmp eax, 0x2b55bfd5
jg 0x40c941
cmp eax, 0x245915cb
jg 0x40c951
cmp eax, 0x22dd6e41
jg 0x40c973
cmp eax, 0xefeb483
jg 0x40c98b
cmp eax, 0xdb7828d
jg 0x40c9af
cmp eax, 0x78d879c
je 0x40c9e2
cmp eax, 0x7ab7f4a
jne 0x40c9ef
mov dword [esp + 0x30], 0xe326502f
jmp 0x40c080
cmp eax, 0x5e60b45a
jne 0x40c080
mov dword [0x4c3ac4], 1
mov dword [esp + 0x30], 0x7672c2ab
jmp 0x40c080
cmp eax, 0x5de2b057
jne 0x40c080
mov dword [esp + 0x30], 0x989a6f55
jmp 0x40c080
cmp eax, 0x5aa43adf
jne 0x40c080
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c3ac4
mov dword [esp], 0
call dword [0x4c4a48]
sub esp, 0xc
test eax, eax
mov eax, 0x5de2b057
jne 0x40c80b
mov eax, 0x245915cc
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0x59428528
jne 0x40c080
mov dword [esp + 0x30], 0xca9676c
jmp 0x40c080
cmp eax, 0x57e84b81
jne 0x40c080
mov eax, 0xefeb484
cmp dword [esp + 0x54], 0
jne 0x40c848
mov eax, 0xefb397f9
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0x54e05237
jne 0x40c080
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00412421
mov dword [esp + 0x54], eax
mov ecx, 0xdb7828e
test eax, eax
je 0x40c882
mov ecx, 0xb19110ba
mov dword [esp + 0x30], ecx
jmp 0x40c080
cmp eax, 0x5027ebb4
jne 0x40c080
mov al, byte [esp + 0xbf]
test al, al
mov eax, 0x54e05237
jne 0x40c8ab
mov eax, 0x3fc5427e
mov dword [esp + 0x30], eax
jmp 0x40c080
cmp eax, 0x4e33078d
jne 0x40c080
call fcn.00402e20
mov ecx, dword [esp + 0xb0]
mov dword [ecx], eax
mov dword [esp + 0x34], eax
cmp eax, 5
seta byte [esp + 0xbe]
mov dword [esp + 0x30], 0x78e4f799
jmp 0x40c080
cmp eax, 0x3fc5427e
jne 0x40c080
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0x30], 0xc8d1d806
jmp 0x40c080
cmp eax, 0x3a73a4f7
jne 0x40c080
mov dword [esp + 0x30], 0xda71d1e5
jmp 0x40c080
cmp eax, 0x39788005
jne 0x40c080
mov dword [esp + 0x30], 0xd30a91db
jmp 0x40c080
cmp eax, 0x2b55bfd6
jne 0x40c080
jmp 0x40c62e
cmp eax, 0x245915cc
jne 0x40c080
mov dword [0x4c3ac4], 0
mov dword [esp + 0x30], 0x5de2b057
jmp 0x40c080
cmp eax, 0x22dd6e42
jne 0x40c080
mov dword [esp + 0x30], 0xda71d1e5
jmp 0x40c080
cmp eax, 0xefeb484
jne 0x40c080
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.004123e9
mov dword [esp + 0x30], 0xefb397f9
jmp 0x40c080
cmp eax, 0xdb7828e
jne 0x40c080
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0x30], 0x7ab7f4a
jmp 0x40c080
mov dword [esp + 0x30], 0x3fc5427e
jmp 0x40c080
cmp eax, 0xca9676c
jne 0x40c080
mov dword [esp + 0x30], 0x6bbdcc65
jmp 0x40c080
mov eax, dword [esp + 0xc0]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret