Function at 0x41bab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5dc720
push 0x544320
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5fc150]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x34], edi
push 0x5890c8
push dword [ebp + 0xc]
call fcn.0054b683
add esp, 8
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x41bf3f
push 2
push 0
push 0
push ebx
call fcn.0054f162
push ebx
call fcn.0054f760
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
push ebx
call fcn.0054f781
add esp, 0x18
push 0
push 6
push dword [ebp - 0x38]
push esi
call fcn.0052c640
mov esi, eax
test edx, edx
jb 0x41bb4c
ja 0x41bb45
cmp esi, 0x100000
jbe 0x41bb4c
mov esi, 0x100000
xor edx, edx
add esi, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
adc edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
jne 0x41bf0f
cmp esi, 0x7fffffff
ja 0x41bf0f
push 0
push 0
push 0x94e
mov ecx, dword [edi + 4]
call fcn.0040d9f0
push dword [ebp + 8]
push 0
push 0x936
mov ecx, dword [edi + 4]
call fcn.0040d9f0
push 0
push 0
push 0x85c
mov ecx, dword [edi + 4]
call fcn.0040d9f0
test eax, eax
setne al
mov byte [ebp + 0xb], al
test al, al
je 0x41bbbb
push 0
push 0
push 0x87b
mov ecx, dword [edi + 4]
call fcn.0040d9f0
push 0
push 0
push 0x7d4
mov ecx, dword [edi + 4]
call fcn.0040d9f0
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov dword [ebp + 0xc], eax
cmp eax, 0x55
jge 0x41bbf4
push 0
lea eax, [eax + eax*4]
push dword [eax*4 + 0x5fb558]
push 0xfa1
mov ecx, dword [edi + 4]
call fcn.0040d9f0
jmp 0x41bc29
call fcn.0040baa0
mov esi, dword [ebp + 0xc]
mov esi, dword [eax + esi*4 + 0x944]
call fcn.0040b9e0
push 0
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00427d90
push eax
push 0
push 0xfa6
mov ecx, dword [edi + 4]
call fcn.0040d9f0
mov esi, dword [ebp - 0x2c]
cmp dword [ebx + 4], 0xffffffff
je 0x41bc43
push 0
push 0xfde9
push 0x7f5
mov ecx, dword [edi + 4]
call fcn.0040d9f0
mov byte [ebp + 0xf], 1
mov byte [ebp - 0x19], 3
mov dword [ebp - 4], 0
push 0
push esi
push 0x98e
mov ecx, dword [edi + 4]
call fcn.0040d9f0
push 0
push 0
push 0x94f
mov ecx, dword [edi + 4]
call fcn.0040d9f0
test eax, eax
je 0x41bc80
push 0
push 0
call fcn.00543656
mov byte [ebp - 0x1a], 1
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp + 0x10]
lea esp, [esp]
push dword [ebp - 0x30]
mov eax, 0x20004
sub eax, ecx
push eax
push 1
lea eax, [ecx + esi]
push eax
call fcn.0054b87d
add esp, 0x10
mov ebx, eax
add ebx, dword [ebp - 0x20]
je 0x41be18
cmp byte [ebp - 0x1a], 0
je 0x41bd15
push ebx
push esi
call fcn.00501a00
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x18]
je 0x41bcd4
mov dword [eax + 4], 0xffffffff
jmp 0x41bcfe
cmp dword [eax + 4], 0xffffffff
jne 0x41bcfe
call fcn.0040baa0
cmp byte [eax + 0x9c], 0
je 0x41bcfb
push ebx
push esi
mov ecx, edi
call fcn.0041a7a0
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 4], eax
mov eax, ecx
jmp 0x41bcfe
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
jne 0x41bd11
push ebx
push esi
mov ecx, edi
call fcn.0041a7f0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov byte [ebp - 0x1a], 0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x41bd9a
cmp eax, 0xfde9
jne 0x41bd38
push esi
push ebx
push 0x8ea
mov ecx, dword [edi + 4]
call fcn.0040d9f0
jmp 0x41bd8e
call fcn.0040b9e0
mov esi, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
mov eax, dword [ebp + 0x18]
push dword [eax + 4]
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00424360
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x24]
push 0xfde9
push eax
mov ecx, esi
call fcn.00427d90
push eax
push dword [ebp - 0x2c]
push 0x8ea
mov ecx, dword [edi + 4]
call fcn.0040d9f0
mov esi, dword [ebp + 0x10]
cmp byte [ebp - 0x19], 3
jne 0x41bdd4
push 3
push ebx
push esi
jmp 0x41bdc9
push ebx
push esi
mov ecx, dword [ebp + 0x14]
call fcn.00501630
mov ecx, dword [ebp + 0x14]
push dword [ecx + 8]
push eax
push 0x8ea
mov ecx, dword [edi + 4]
call fcn.0040d9f0
cmp byte [ebp - 0x19], 3
jne 0x41bdd4
push 3
mov eax, dword [ebp + 0x14]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0041b2c0
mov byte [ebp - 0x19], al
add esp, 0xc
push 0
push 0
push 0x94f
mov ecx, dword [edi + 4]
call fcn.0040d9f0
test eax, eax
je 0x41bdf2
push 0
push 0
call fcn.00543656
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x41be10
push ecx
mov eax, esi
sub eax, ecx
add eax, 0x20004
push eax
push esi
call fcn.00543aa0
add esp, 0xc
mov ecx, dword [ebp - 0x20]
test ebx, ebx
jne 0x41bc90
mov dword [ebp - 4], 0xfffffffe
jmp 0x41be5f
mov ebx, dword [ebp - 0x3c]
push dword [ebp - 0x30]
call fcn.0054b476
add esp, 4
mov cl, byte [ebp - 0x19]
cmp cl, 3
jne 0x41bea7
call fcn.0040baa0
mov edx, eax
mov cl, byte [edx + 0xcc]
mov eax, dword [ebp + 0x18]
mov byte [eax + 8], cl
or ebx, dword [ebp - 0x38]
jne 0x41bead
cmp dword [edx + 0xd0], 4
jne 0x41bead
cmp byte [edx + 0xd4], bl
je 0x41bead
mov dword [eax + 4], 0xfde9
jmp 0x41bead
mov eax, dword [ebp + 0x18]
mov byte [eax + 8], cl
push 0
push 0
push 0x87f
mov ecx, dword [edi + 4]
call fcn.0040d9f0
push 0
push 0
push 0x7de
mov ecx, dword [edi + 4]
call fcn.0040d9f0
cmp byte [ebp + 0xb], 0
je 0x41bee6
push 0
push 1
push 0x87b
mov ecx, dword [edi + 4]
call fcn.0040d9f0
push dword [edi + 8]
push 0
push 0x936
mov ecx, dword [edi + 4]
call fcn.0040d9f0
mov al, byte [ebp + 0xf]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.0040baa0
push 0
push 0
push 0
push str.File_size_problem
push str.File_is_too_big_to_be_opened_by_Notepad
push 0
push str.FileTooBigToOpen
mov ecx, dword [eax + 0x234d8]
call fcn.004607b0
push ebx
call fcn.0054b476
add esp, 4
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14