Function at 0x41f4c7
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x2e8, 0
push eax
sub ebp, 0x82
lea edx, [ebp - 0x162]
mov eax, 0x41f17b
mov ebx, dword [sym.imp.kernel32.dll_LoadLibraryA]
call fcn.0041fd6f
push eax
call dword [ebx]
lea edx, [ebp - 0x162]
mov esi, eax
mov ebx, eax
mov eax, 0x41f19b
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push esi
call dword [edi]
mov dword [ebp - 0xe], eax
cmp dword [ebp - 0x26a], 0
jne 0x41f525
push 0
call dword [ebp - 0xe]
mov dword [ebp - 0x26a], eax
lea edx, [ebp - 0x162]
mov eax, 0x41f1ac
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
push 0x104
mov dword [ebp - 0x52], eax
lea eax, [ebp - 0x266]
push eax
push dword [ebp - 0x26a]
call dword [ebp - 0x52]
mov eax, dword [ebp - 0x26a]
mov edi, eax
add edi, dword [eax + 0x3c]
lea eax, [edi + 0x18]
movzx edx, word [edi + 0x14]
add eax, edx
mov dword [ebp + 0x1e], eax
movzx eax, word [edi + 6]
lea edx, [ebp - 0x162]
mov dword [ebp + 0x2a], eax
mov eax, 0x41f184
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 6], eax
mov eax, 0x41f1bf
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x1e], eax
mov eax, 0x41f1cb
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x1a], eax
mov eax, 0x41f1de
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
mov dword [ebp - 0x26], eax
lea edx, [ebp - 0x162]
mov eax, 0x41f1ec
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x62], eax
mov eax, 0x41f1fc
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp + 0xe], eax
mov eax, 0x41f208
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp + 0x6e], eax
mov eax, 0x41f217
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp - 0x22], eax
mov eax, 0x41f229
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
lea edx, [ebp - 0x162]
mov dword [ebp + 6], eax
mov eax, 0x41f190
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call fcn.0041fd6f
push eax
push ebx
call dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov dword [ebp + 0x5a], eax
lea eax, [ebp - 0x266]
push eax
call dword [ebp - 0x1e]
mov dword [ebp + 0x42], eax
cmp eax, 0xffffffff
jne 0x41f6c6
lea eax, [ebp - 0x266]
call fcn.0041f366
push 0
push 0
push 0
push 2
push 0
push dword [ebp + 0x42]
call dword [ebp - 0x1a]
mov dword [ebp + 0xa], eax
test eax, eax
jne 0x41f6e8
lea eax, [ebp - 0x266]
call fcn.0041f366
push 0
push 0
push 0
push 4
push dword [ebp + 0xa]
call dword [ebp - 0x26]
mov dword [ebp + 0x12], eax
test eax, eax
jne 0x41f708
lea eax, [ebp - 0x266]
call fcn.0041f366
mov esi, dword [ebp + 0x12]
add esi, dword [0x41f0b1]
cmp dword [esi], 0x4181996
je 0x41f724
lea eax, [ebp - 0x266]
call fcn.0041f351
lea eax, [esi + 0x54]
mov dword [ebp + 0x52], eax
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp + 0x52]
shl eax, 4
push 0x10004
add edx, eax
push 0
mov dword [ebp - 0x4e], edx
call dword [ebp - 6]
mov dword [ebp + 0x6a], eax
test eax, eax
jne 0x41f754
lea eax, [ebp - 0x266]
call fcn.0041f32c
mov edx, dword [ebp - 0x26a]
mov ecx, dword [ebp + 0x6a]
mov eax, dword [edi + 0x28]
mov ebx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp - 0x4e]
mov dword [ebp + 0x1a], edx
add edx, dword [esi + 8]
call fcn.0041fe74
mov dword [ebp - 0x4e], eax
test eax, eax
jne 0x41f78a
mov edx, 0xfffffffd
lea eax, [ebp - 0x266]
call fcn.0041f4b1
mov edx, dword [ebp + 0x1a]
mov ecx, dword [ebp + 0x6a]
mov eax, dword [ebp - 0x4e]
mov ebx, dword [esi + 0x14]
add edx, dword [esi + 0x10]
call fcn.0041fe74
mov dword [ebp - 0x4e], eax
test eax, eax
jne 0x41f7b5
mov edx, 0xfffffffd
lea eax, [ebp - 0x266]
call fcn.0041f4b1
mov eax, dword [edi + 0x38]
dec eax
mov dword [ebp + 0x3a], eax
lea eax, [edi + 0x78]
mov ebx, dword [ebp - 0x26a]
mov dword [ebp + 0x4a], eax
sub ebx, dword [edi + 0x34]
je 0x41f7ef
cmp dword [esi + 0x18], 0
jne 0x41f7de
lea eax, [ebp - 0x266]
call fcn.0041f499
mov ecx, dword [ebp - 0x26a]
mov eax, dword [ebp - 0x4e]
mov edx, dword [esi + 0x18]
call fcn.0041fd10
mov eax, dword [esi + 0x18]
add dword [ebp - 0x4e], eax
call dword [ebp - 0x22]
push 0
push 0
push eax
mov dword [ebp - 0x12], eax
call dword [ebp + 6]
mov eax, dword [ebp - 6]
mov dword [0x41f324], eax
mov eax, dword [ebp + 0x5a]
mov dword [0x41f328], eax
mov eax, dword [esi + 0x20]
mov edx, dword [edi + 0x28]
mov dword [ebp - 0x56], eax
mov eax, dword [ebp - 0x26a]
mov ebx, dword [ebp - 0x56]
add eax, edx
sub ebx, edx
inc eax
lea edx, [ebx - 5]
mov dword [eax], edx
mov eax, dword [ebp + 0x52]
mov dword [ebp + 0x7e], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x5e], 0
mov dword [ebp + 0x16], eax
jmp 0x41f872
mov dword [ebp - 0x46], 2
cmp dword [ebp - 0x46], 4
je 0x41f86b
mov eax, dword [ebp + 0x7e]
mov eax, dword [eax]
cmp eax, dword [esi + 0x3c]
je 0x41f86b
lea eax, [ebp - 0x4a]
push eax
push dword [ebp - 0x46]
push dword [ebp + 0x4e]
push dword [ebp - 0x42]
call dword [ebp + 0x6e]
inc dword [ebp + 0x5e]
add dword [ebp + 0x7e], 0x10
mov eax, dword [ebp + 0x5e]
cmp eax, dword [ebp + 0x16]
jae 0x41f917
mov eax, dword [ebp + 0x7e]
imul eax, dword [eax], 0x28
mov edx, dword [ebp + 0x1e]
add edx, eax
mov eax, edx
mov dword [ebp + 2], edx
mov edx, dword [ebp - 0x26a]
add edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x7e]
mov dword [ebp - 0x42], edx
mov eax, dword [eax]
cmp eax, dword [esi + 0x3c]
jne 0x41f8aa
mov eax, dword [esi + 0x40]
add dword [ebp - 0x42], eax
mov eax, dword [ebp + 0x7e]
mov eax, dword [eax + 8]
mov dword [ebp + 0x4e], eax
lea eax, [ebp - 0x46]
push eax
push 4
push dword [ebp + 0x4e]
push dword [ebp - 0x42]
lea ebx, [ebp - 0x42]
call dword [ebp + 0x6e]
push dword [ebp + 0x6a]
mov ecx, dword [ebp + 0x7e]
lea edx, [ebp - 0x4e]
lea eax, [ebp - 0x266]
push dword [ebp + 0x4e]
mov ecx, dword [ecx + 0xc]
call fcn.0041fca6
mov eax, dword [ebp + 0x7e]
mov edx, dword [ebp + 2]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x24]
and eax, 0x80000000
and edx, 0x80000000
cmp eax, edx
je 0x41f84b
mov eax, dword [ebp + 0x7e]
test byte [eax + 4], 0x20
je 0x41f844
mov dword [ebp - 0x46], 0x20
jmp 0x41f84b
cmp dword [esi + 0x24], 0
je 0x41fa4e
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x26a]
mov dword [ebp + 0x2e], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp + 0x32], eax
mov eax, dword [ebp + 0x4a]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp + 0x4a]
mov dword [ebp - 2], eax
add eax, dword [edx + 0x64]
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x3e]
push eax
push 4
push dword [ebp + 0x32]
push dword [ebp + 0x2e]
call dword [ebp + 0x6e]
mov eax, dword [ebp - 0x26a]
add eax, dword [esi + 0x24]
mov dword [ebp + 0x76], eax
mov dword [ebp - 0xa], eax
jmp 0x41f969
add dword [ebp + 0x76], 0x14
mov eax, dword [ebp + 0x76]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41fa3e
mov edx, dword [ebp + 0x76]
cmp edx, dword [ebp - 0xa]
jbe 0x41f98a
mov ebx, dword [ebp + 0x76]
mov edx, dword [edx + 0x10]
cmp edx, dword [ebx - 4]
je 0x41f965
mov edx, dword [ebp - 0x26a]
add edx, eax
mov eax, dword [sym.imp.kernel32.dll_LoadLibraryA]
push edx
mov dword [ebp + 0x56], edx
call dword [eax]
mov dword [ebp - 0x5e], eax
test eax, eax
jne 0x41f9b2
mov edx, dword [ebp + 0x56]
lea eax, [ebp - 0x266]
call fcn.0041f37b
mov eax, dword [ebp + 0x76]
mov edx, dword [ebp - 0x26a]
add edx, dword [eax + 0x10]
mov dword [ebp + 0x7a], edx
jmp 0x41f9f1
test eax, 0x80000000
jne 0x41f9d5
add eax, dword [ebp - 0x26a]
lea ebx, [eax + 2]
jmp 0x41fa1a
mov edx, eax
and edx, 0x7fffffff
shr edx, 0x10
and edx, 0xffff
movzx edx, dx
test edx, edx
je 0x41fa17
add dword [ebp + 0x7a], 4
mov eax, dword [ebp + 0x7a]
mov eax, dword [eax]
test eax, eax
je 0x41f965
cmp eax, dword [ebp - 2]
jb 0x41f9c3
cmp eax, dword [ebp - 0x16]
jae 0x41f9c3
add eax, dword [ebp - 0x26a]
mov edx, dword [ebp + 0x7a]
mov eax, dword [eax]
mov dword [edx], eax
jmp 0x41f9ed
movzx ebx, ax
push ebx
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
push dword [ebp - 0x5e]
call dword [eax]
mov edx, dword [ebp + 0x7a]
mov dword [edx], eax
test eax, eax
jne 0x41f9ed
mov edx, dword [ebp + 0x56]
lea eax, [ebp - 0x266]
call fcn.0041f3b7
jmp 0x41f9ed
lea eax, [ebp - 0x3a]
push eax
push dword [ebp - 0x3e]
push dword [ebp + 0x32]
push dword [ebp + 0x2e]
call dword [ebp + 0x6e]
mov eax, dword [ebp - 0x26a]
sub eax, dword [edi + 0x34]
mov dword [ebp + 0x3e], eax
je 0x41fc2f
cmp dword [esi + 0x30], 0
jne 0x41fa71
lea eax, [ebp - 0x266]
call fcn.0041f499
mov dword [ebp - 0x36], 4
mov dword [ebp - 0x32], 0
push dword [ebp + 0x6a]
lea ebx, [ebp - 0x32]
lea edx, [ebp - 0x4e]
lea eax, [ebp - 0x266]
push dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
call fcn.0041fca6
mov ebx, dword [ebp - 0x32]
mov dword [ebp + 0x72], 0
mov eax, ebx
mov dword [ebp + 0x62], 0
add eax, dword [esi + 0x30]
mov edi, dword [ebp - 0x26a]
mov dword [ebp - 0x5a], eax
cmp ebx, dword [ebp - 0x5a]
jb 0x41faf6
jmp 0x41fc0f
movzx eax, word [ebx]
add eax, 0x101
inc ebx
inc ebx
add edi, eax
jmp 0x41fb0f
movzx eax, byte [ebx + 1]
movzx edx, byte [ebx]
shl eax, 8
or eax, edx
movzx edx, byte [ebx + 2]
shl edx, 0x10
or eax, edx
add eax, 0x10100
add ebx, 3
jmp 0x41facc
add edi, dword [ebx]
add ebx, 4
jmp 0x41fb0f
mov al, byte [ebx]
inc ebx
cmp al, 1
jb 0x41fb05
jbe 0x41fad0
cmp al, 2
je 0x41faef
jmp 0x41fb09
test al, al
je 0x41fac2
movzx eax, al
inc eax
jmp 0x41facc
cmp edi, dword [ebp + 0x62]
jb 0x41fc05
cmp dword [ebp - 0x36], 4
je 0x41fb32
lea eax, [ebp - 0x4a]
push eax
mov eax, dword [ebp + 0x62]
push dword [ebp - 0x36]
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x6e]
mov eax, edi
sub eax, dword [ebp - 0x26a]
mov dword [ebp + 0x66], 0
mov dword [ebp + 0x36], eax
mov eax, dword [ebp + 0x1e]
jmp 0x41fb4f
inc dword [ebp + 0x66]
add eax, 0x28
mov edx, dword [ebp + 0x66]
cmp edx, dword [ebp + 0x2a]
jge 0x41fbf2
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
ja 0x41fb69
mov ecx, dword [eax + 8]
mov dword [ebp + 0x46], ecx
mov ecx, dword [ebp + 0x46]
add ecx, dword [ebp + 0x3a]
mov dword [ebp - 0x2e], ecx
mov ecx, dword [ebp + 0x3a]
mov dword [ebp - 0x2a], ecx
not dword [ebp - 0x2a]
mov ecx, dword [ebp - 0x2e]
and ecx, dword [ebp - 0x2a]
add ecx, edx
mov dword [ebp + 0x22], ecx
cmp edx, dword [ebp + 0x36]
ja 0x41fb49
mov ecx, dword [ebp + 0x36]
cmp ecx, dword [ebp + 0x22]
jae 0x41fb49
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x26a]
mov dword [ebp + 0x26], eax
add ecx, edx
mov edx, dword [ebp - 0x26a]
mov eax, dword [ebp + 0x52]
add edx, dword [ebp + 0x22]
mov dword [ebp + 0x72], ecx
mov dword [ebp + 0x62], edx
xor edx, edx
jmp 0x41fbbe
inc edx
add eax, 0x10
cmp edx, dword [ebp + 0x16]
jae 0x41fbd0
mov ecx, dword [eax]
cmp ecx, dword [ebp + 0x66]
jne 0x41fbba
mov eax, dword [eax + 4]
mov dword [ebp + 0x26], eax
test byte [ebp + 0x29], 0x80
jne 0x41fbeb
lea eax, [ebp - 0x36]
push eax
mov eax, dword [ebp + 0x62]
push 4
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x6e]
jmp 0x41fbf2
mov dword [ebp - 0x36], 4
mov eax, dword [ebp + 0x66]
cmp eax, dword [ebp + 0x2a]
jne 0x41fc05
lea eax, [ebp - 0x266]
call fcn.0041f351
mov eax, dword [ebp + 0x3e]
add dword [edi], eax
jmp 0x41fab8
cmp dword [ebp - 0x36], 4
je 0x41fc29
lea eax, [ebp - 0x4a]
push eax
mov eax, dword [ebp + 0x62]
push dword [ebp - 0x36]
sub eax, dword [ebp + 0x72]
push eax
push dword [ebp + 0x72]
call dword [ebp + 0x6e]
push dword [ebp - 0x32]
call dword [ebp + 0x5a]
cmp dword [esi + 0x44], 0
je 0x41fc6e
mov eax, dword [ebp + 0x4a]
mov edx, dword [ebp - 0x26a]
add edx, dword [eax + 0x48]
mov ebx, dword [ebp - 0x26a]
mov edi, dword [edx + 8]
add ebx, dword [esi + 0x44]
mov edi, dword [edi]
mov dword [ebx], edi
mov eax, edx
mov edx, dword [edx + 4]
mov esi, dword [eax]
sub edx, dword [eax]
mov eax, edi
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + eax*4]
mov ecx, edx
mov edi, eax
push edi
repne movsb byte es:[edi], byte [esi]
pop edi
push dword [ebp + 0x12]
call dword [ebp - 0x62]
push dword [ebp + 0xa]
call dword [ebp + 0xe]
push dword [ebp + 0x42]
call dword [ebp + 0xe]
push 0
push 0
push dword [ebp - 0x12]
call dword [ebp + 6]
push dword [ebp + 0x6a]
call dword [ebp + 0x5a]
mov eax, dword [ebp - 0x26a]
add eax, dword [ebp - 0x56]
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret