Function at 0x481ee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x174], ebx
push esi
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x17c], edi
call fcn.0045d240
movzx eax, ax
push 8
push esi
mov dword [ebp - 0x190], eax
call fcn.0045d3f0
push esi
call fcn.0045d070
push dword [esi]
add eax, 0xb
mov dword [ebp - 0x18c], eax
call fcn.005960c7
add esp, 0x14
cmp eax, dword [ebp - 0x18c]
jge 0x4821cb
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x194], eax
lea esp, [esp]
push esi
call fcn.0045d070
mov ecx, eax
add esp, 4
mov ebx, ecx
and eax, 0x80000003
jns 0x481f89
dec eax
or eax, 0xfffffffc
inc eax
je 0x481fa1
jmp 0x481f90
inc ebx
mov eax, ebx
and eax, 0x80000003
jns 0x481f9f
dec eax
or eax, 0xfffffffc
inc eax
jne 0x481f90
sub ebx, ecx
push 0x25
push esi
mov dword [ebp - 0x180], ebx
call fcn.0045d3f0
mov eax, dword [ebp - 0x190]
add esp, 8
cmp eax, 1
jne 0x482004
push esi
call fcn.0045d240
push esi
call fcn.0045d240
push esi
call fcn.0045d240
push esi
call fcn.0045d240
push esi
call fcn.0045d240
push esi
call fcn.0045d070
push esi
mov ebx, eax
call fcn.0045d070
push esi
mov edi, eax
call fcn.0045d070
push esi
mov dword [ebp - 0x170], eax
call fcn.0045d070
add esp, 0x24
jmp 0x482039
cmp eax, 2
jne 0x482055
push pe_nt_image_headers32
push esi
call fcn.0045d3f0
push esi
call fcn.0045d070
push esi
mov ebx, eax
call fcn.0045d070
push esi
mov edi, eax
call fcn.0045d070
push esi
mov dword [ebp - 0x170], eax
call fcn.0045d070
add esp, 0x18
sub eax, edi
mov edi, dword [ebp - 0x170]
sub edi, ebx
mov dword [ebp - 0x178], eax
mov ebx, dword [ebp - 0x180]
mov dword [ebp - 0x170], edi
push esi
call fcn.0045d240
push dword [esi]
movzx eax, ax
mov dword [ebp - 0x188], eax
call fcn.00597fff
mov edx, dword [ebp - 0x184]
add esp, 8
mov ecx, edx
mov dword [ebp - 0x198], eax
inc edx
mov dword [ebp - 0x184], edx
mov edx, dword [ebp - 0x174]
cmp ecx, dword [edx + 0x90]
jne 0x482131
lea eax, [ebp - 0x16c]
push eax
call fcn.00457d90
mov eax, dword [0x5d9098]
mov edx, 1
mov ecx, dword [ebp - 0x178]
add esp, 4
movq xmm0, qword [str.Adobe_Brush]
mov dword [ebp - 0x7e], eax
mov eax, dword [ebp - 0x188]
mov word [ebp - 0x152], ax
cwde
imul eax, ecx
mov word [ebp - 0x154], dx
movq qword [ebp - 0x86], xmm0
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], edi
cdq
and edx, 7
mov dword [ebp - 0x164], edi
add eax, edx
sar eax, 3
cmp dword [ebp - 0x198], 0
mov dword [ebp - 0x14c], eax
je 0x482115
mov eax, 1
mov word [ebp - 0x12c], ax
push dword [esi]
call fcn.005960c7
mov dword [ebp - 0x17c], eax
add esp, 4
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x194], eax
xor edi, edi
test eax, eax
jne 0x482146
mov edi, dword [ebp - 0x170]
imul edi, dword [ebp - 0x178]
jmp 0x482169
mov eax, dword [ebp - 0x170]
test eax, eax
jle 0x482169
mov ebx, eax
push esi
call fcn.0045d240
movzx eax, ax
add esp, 4
add edi, eax
dec ebx
jne 0x482152
mov ebx, dword [ebp - 0x180]
push edi
push esi
call fcn.0045d3f0
mov eax, dword [ebp - 0x190]
add esp, 8
cmp eax, 1
jne 0x48218a
push ebx
push esi
call fcn.0045d3f0
add esp, 8
jmp 0x4821a1
cmp eax, 2
jne 0x4821a1
push 8
push esi
call fcn.0045d3f0
push ebx
push esi
call fcn.0045d3f0
add esp, 0x10
push dword [esi]
call fcn.005960c7
mov edi, dword [ebp - 0x170]
add esp, 4
cmp eax, dword [ebp - 0x18c]
jl 0x481f70
mov ebx, dword [ebp - 0x174]
mov edi, dword [ebp - 0x194]
jmp 0x4821d1
mov edi, dword [ebp - 0x188]
cmp dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x184]
mov dword [ebx + 0x3c], eax
je 0x482300
lea eax, [ebp - 0x16c]
push eax
push ebx
call fcn.00456000
movzx ebx, ax
add esp, 8
test bx, bx
jne 0x4822ec
push 0
push dword [ebp - 0x17c]
push dword [esi]
call fcn.00595cb4
add esp, 0xc
test edi, edi
jne 0x48226f
cmp dword [ebp - 0x158], edi
jle 0x4822d8
push dword [esi]
push 1
push dword [ebp - 0x15c]
push dword [ebp - 0x160]
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x482268
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x174]
call fcn.004585b0
movzx ebx, ax
add esp, 0x10
test bx, bx
jne 0x4822d8
inc edi
cmp edi, dword [ebp - 0x158]
jl 0x482225
jmp 0x4822d8
mov ebx, 4
jmp 0x4822d8
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x158], ebx
jle 0x482297
jmp 0x482280
push esi
call fcn.0045d240
movzx eax, ax
inc edi
add esp, 4
add ebx, eax
cmp edi, dword [ebp - 0x158]
jl 0x482280
push ebx
call fcn.00593e38
push dword [esi]
mov edi, eax
push 1
push ebx
push edi
call fcn.00595b79
push dword [ebp - 0x160]
push ebx
push edi
call fcn.00482320
push dword [ebp - 0x158]
push 0
push 0xffffffffffffffff
push dword [ebp - 0x174]
call fcn.004585b0
push edi
movzx ebx, ax
call fcn.00592c4b
add esp, 0x34
push 0
push 0
push 0
push dword [ebp - 0x174]
call fcn.00453f80
add esp, 0x10
pop edi
pop esi
invalid
invalid