Function at 0x41b880
Capabilities:
Access peb ldr_data
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7b5b97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x334
push ebx
mov ebx, dword [esp + 0x348]
push ebp
push esi
push edi
mov ebp, ecx
push ebx
call fcn.0044a7c0
mov al, byte [0x870c08]
mov ecx, 0x7f
mov byte [esp + 0x44], al
xor eax, eax
lea edi, [esp + 0x45]
mov esi, dword [sym.imp.kernel32.dll_ReadFile]
rep stosd dword es:[edi], eax
xor edx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
push edx
push ecx
stosw word es:[edi], ax
lea edx, [esp + 0x48]
push 4
push edx
push ebx
stosb byte es:[edi], al
call esi
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [ebp + 0x38]
push 4
push ecx
push ebx
call esi
lea edx, [esp + 0x14]
push 0
lea eax, [ebp + 0x3c]
push edx
push 0xc
push eax
push ebx
call esi
lea ecx, [esp + 0x14]
push 0
lea eax, [ebp + 0xf0]
push ecx
push 0x40
push eax
push ebx
call esi
lea edx, [esp + 0x14]
push 0
lea eax, [ebp + 0x48]
push edx
push 0xc
push eax
push ebx
call esi
lea eax, [esp + 0x14]
push 0
lea edi, [ebp + 0x54]
push eax
push 0x5c
push edi
push ebx
call esi
mov ecx, dword [edi + 0xc]
xor eax, eax
lea edx, [esp + 0x14]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
push eax
push edx
lea eax, [esp + 0x20]
push 4
push eax
mov dword [edi + 0x3c], ecx
push ebx
call esi
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x41bbcd
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x4c]
push eax
push edx
push ebx
call esi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x244]
push ecx
push 0
push 0
lea edx, [esp + 0x50]
push 0
push edx
mov byte [esp + eax + 0x58], 0
call fcn.007a33b5
mov edi, dword [sym.imp.kernel32.dll_lstrcmpiA]
add esp, 0x14
lea eax, [esp + 0x244]
push 0x82b6a4
push eax
call edi
test eax, eax
jne 0x41baab
mov cl, byte [esp + 0x13]
push eax
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
call fcn.00404e60
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x20]
push edi
mov dword [esp + 0x34], edi
call fcn.00401b40
test al, al
je 0x41ba18
mov ecx, edi
mov edi, dword [esp + 0x20]
mov edx, ecx
lea esi, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.00405070
mov esi, dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [ebp + 0x15c]
mov dword [esp + 0x34c], 0
test eax, eax
je 0x41ba85
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x38]
call fcn.00404eb0
lea edx, [esp + 0x30]
mov ecx, ebp
push edx
mov byte [esp + 0x350], 1
call fcn.0041a9e0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x350], 0
call fcn.00404e60
lea eax, [esp + 0x1c]
lea ecx, [ebp + 0x130]
push eax
call fcn.00452c40
mov dword [esp + 0x34c], 0xffffffff
push 1
lea ecx, [esp + 0x20]
jmp 0x41bbc8
lea ecx, [esp + 0x244]
push 0x82b69c
push ecx
call edi
test eax, eax
jne 0x41bbcd
mov dl, byte [esp + 0x13]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], dl
call fcn.00404e60
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x20]
push edi
mov dword [esp + 0x34], edi
call fcn.00401b40
test al, al
je 0x41bb22
mov ecx, edi
mov edi, dword [esp + 0x20]
mov eax, ecx
lea esi, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00405070
mov esi, dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [ebp + 0x158]
mov dword [esp + 0x34c], 2
test eax, eax
je 0x41bb8f
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], dl
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x38]
call fcn.00404eb0
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
mov byte [esp + 0x350], 3
call fcn.0041a870
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x350], 2
call fcn.00404e60
lea edi, [ebp + 0x15c]
push 1
push edi
mov ecx, 0x8b1518
call fcn.00426e30
push 0
lea ecx, [esp + 0x20]
push 1
push ecx
mov ecx, 0x8b1518
call fcn.00426b30
mov dword [edi], eax
mov dword [esp + 0x34c], 0xffffffff
push 1
lea ecx, [esp + 0x20]
call fcn.00404e60
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x20]
push 4
push eax
push ebx
call esi
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x41bc86
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x4c]
push eax
push edx
push ebx
call esi
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x1c], cl
push 0
lea ecx, [esp + 0x20]
mov byte [esp + eax + 0x48], 0
call fcn.00404e60
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00401b40
test al, al
je 0x41bc58
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.00405070
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov dword [esp + 0x350], 4
call dword [eax + 0x24]
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x350], 0xffffffff
call fcn.00404e60
lea esi, [ebp + 0xb0]
mov ecx, esi
call fcn.00425b90
mov edx, dword [ebp + 0x48]
lea edi, [ebp + 0x48]
mov dword [esi], edx
mov eax, dword [edi + 4]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 8]
lea eax, [ebp + 0xf0]
mov dword [esi + 0x28], ecx
push eax
mov ecx, esi
call fcn.00426560
lea edx, [esp + 0x1c]
push edi
push edx
lea ecx, [ebp + 0x3c]
call fcn.004257b0
mov ecx, dword [eax]
pop edi
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x340]
mov dword [esi + 0x34], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x38], eax
mov dword [ebp + 0x34], 0
mov byte [ebp + 0x31], 1
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x340
ret 4