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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
push 2
push 0
mov esi, eax
mov eax, dword [esi + 0xa8]
push 0x40000000
push eax
lea edi, [esi + 0xa4]
push edi
call fcn.0041cf12
test eax, eax
jl 0x41f43a
push 4
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x24], 0x777
call fcn.0041cee7
mov eax, dword [esi + 0x134]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x138]
mov dword [esp + 0x24], eax
push 8
lea eax, [esp + 0x24]
push eax
mov eax, esi
call fcn.0041f574
mov eax, dword [esi + 0x130]
push ecx
mov ebx, esp
push 0x10
pop edi
sub eax, edi
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
push dword [esi + 0x128]
push esi
call fcn.0041f505
push dword [esi + 0x12c]
push esi
call fcn.0041f505
push dword [esi + 0x64]
push esi
call fcn.0041f505
push dword [esi + 0x74]
push esi
call fcn.0041f505
push dword [esi + 0x6c]
push esi
call fcn.0041f505
push dword [esi + 0x68]
push esi
call fcn.0041f505
push dword [esi + 0x70]
push esi
call fcn.0041f505
push dword [esi + 0x78]
push esi
call fcn.0041f505
mov eax, dword [esi + 0x44]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
push dword [esi + 0x38]
push esi
call fcn.0041f505
push dword [esi + 0x34]
push esi
call fcn.0041f505
push dword [esi + 0x3c]
push esi
call fcn.0041f505
push dword [esi + 0x40]
push esi
call fcn.0041f505
push dword [esi + 0xd4]
push esi
call fcn.0041f505
push dword [esi + 0xd8]
push esi
call fcn.0041f505
push dword [esi + 0xdc]
push esi
call fcn.0041f505
push dword [esi + 0xb0]
push esi
call fcn.0041f505
push dword [esi + 0xb4]
push esi
call fcn.0041f505
push dword [esi + 0xb8]
push esi
call fcn.0041f505
push dword [esi + 0xbc]
push esi
call fcn.0041f505
push edi
lea eax, [esi + 0xc0]
push eax
mov eax, esi
call fcn.0041f574
movzx eax, word [esi + 0xd0]
push eax
push esi
call fcn.0041f505
push dword [esi]
push esi
call fcn.0041f505
push dword [esi + 4]
push esi
call fcn.0041f505
push dword [esi + 8]
push esi
call fcn.0041f505
push dword [esi + 0xc]
push esi
call fcn.0041f505
push dword [esi + 0x10]
push esi
call fcn.0041f505
push dword [esi + 0x14]
push esi
call fcn.0041f505
push dword [esi + 0x18]
push esi
call fcn.0041f505
push dword [esi + 0x1c]
push esi
call fcn.0041f505
push dword [esi + 0x20]
push esi
call fcn.0041f505
push dword [esi + 0x24]
push esi
call fcn.0041f505
push dword [esi + 0x28]
push esi
call fcn.0041f505
push dword [esi + 0x2c]
push esi
call fcn.0041f505
push dword [esi + 0x30]
push esi
call fcn.0041f505
mov eax, dword [esi + 0x4c]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, dword [esi + 0x50]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, dword [esi + 0x54]
push ecx
mov ebx, esp
sub eax, edi
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
push dword [esi + 0x58]
push esi
call fcn.0041f505
mov eax, dword [esi + 0x5c]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, dword [esi + 0x60]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, dword [esi + 0x7c]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, dword [esi + 0x80]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
push dword [esi + 0x88]
push esi
call fcn.0041f505
push dword [esi + 0x84]
push esi
call fcn.0041f505
mov eax, dword [esi + 0x8c]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, dword [esi + 0x90]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, dword [esi + 0x94]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, dword [esi + 0x98]
push ecx
mov ebx, esp
sub eax, edi
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, dword [esi + 0x9c]
push ecx
sub eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, edi
push esi
mov dword [ebx], eax
call fcn.0041f518
push dword [esi + 0xe0]
push esi
call fcn.0041f505
push dword [esi + 0xe4]
push esi
call fcn.0041f505
push dword [esi + 0xe8]
push esi
call fcn.0041f505
push dword [esi + 0xec]
push esi
call fcn.0041f505
push dword [esi + 0xf4]
push esi
call fcn.0041f505
push dword [esi + 0xf0]
push esi
call fcn.0041f505
push dword [esi + 0xf8]
push esi
call fcn.0041f505
push dword [esi + 0xfc]
push esi
call fcn.0041f505
push dword [esi + 0x100]
push esi
call fcn.0041f505
push dword [esi + 0x104]
push esi
call fcn.0041f505
push dword [esi + 0x10c]
push esi
call fcn.0041f505
and dword [esp + 0x10], 0
cmp dword [esi + 0x10c], 0
jbe 0x41f356
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
add eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push esi
lea ebx, [esp + 0x20]
call fcn.0041df67
lea edi, [esp + 0x14]
call fcn.0041d135
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0041ad22
mov edi, dword [esp + 0x14]
push ecx
add edi, 0xfffffff0
mov eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, 0x10
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, edi
call fcn.0041ad22
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x10c]
push 0x10
pop edi
jb 0x41f2ea
push dword [esi + 0x11c]
push esi
call fcn.0041f505
and dword [esp + 0x10], 0
cmp dword [esi + 0x11c], 0
jbe 0x41f3de
jmp 0x41f375
push 0x10
pop edi
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
add eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push esi
lea ebx, [esp + 0x20]
call fcn.0041e163
lea edi, [esp + 0x14]
call fcn.0041d135
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0041ad22
mov edi, dword [esp + 0x14]
push ecx
add edi, 0xfffffff0
mov eax, edi
mov ebx, esp
call fcn.0041cd37
add eax, 0x10
push esi
mov dword [ebx], eax
call fcn.0041f518
mov eax, edi
call fcn.0041ad22
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x11c]
jb 0x41f372
lea edi, [esi + 0xa4]
mov eax, dword [edi]
test eax, eax
je 0x41f3f4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi], 0
cmp dword [ebp + 8], 0
jne 0x41f43a
push dword [esi + 0xb0]
call fcn.0041ee43
cmp dword [esi + 0x34], 0
je 0x41f410
push dword [esi + 0x44]
jmp 0x41f415
push 0x4661a4
mov esi, 0x46ebc8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push 0x46eab0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x46ea90]
mov ecx, 0x46ea90
call dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4