Function at 0x41a120
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44ff07
mov eax, dword fs:[0]
push eax
mov eax, 0x1020
call fcn.00446070
mov eax, dword [0x460164]
xor eax, esp
mov dword [esp + 0x101c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x1034]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1044]
xor ebx, ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x20], ebx
call fcn.00429680
lea eax, [esp + 0x28]
push eax
mov ecx, str.FFStartpage.html
mov dword [esp + 0x1040], ebx
call fcn.00401a60
lea ecx, [esp + 0x28]
push ecx
mov edx, esi
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1048], 1
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x103c], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a1d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
push ebx
push 0x80
push 4
push ebx
push ebx
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a21b
push ebp
mov ecx, 0x454c34
call fcn.00401a60
mov byte [esp + 0x103c], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41a36d
mov edx, dword [0x461acc]
mov eax, dword [edx + 0xc]
mov ecx, 0x461acc
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x1001
lea ecx, [esp + 0x30]
push ebx
push ecx
mov byte [esp + 0x1048], 4
call fcn.00439d50
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push ebx
lea edx, [esp + 0x24]
push edx
push 0x1000
lea eax, [esp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x41a2c5
lea ebx, [ebx]
cmp dword [esp + 0x20], ebx
jbe 0x41a2c5
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41a280
sub eax, edx
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0041c0a0
push 0x1001
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00439d50
add esp, 0xc
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0x1000
lea edx, [esp + 0x38]
push edx
push esi
call edi
test eax, eax
jne 0x41a270
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x18]
call fcn.004281f0
mov ebx, esi
mov byte [esp + 0x103c], 5
call fcn.00403b40
mov edi, eax
call fcn.00403bc0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00401dd0
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x103c], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a329
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x103c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a351
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x103c], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a379
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x103c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a3a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x1034]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x101c]
xor ecx, esp
call fcn.00435245
add esp, 0x102c
ret 4