Function at 0x416c03
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1cc0
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x1cc0], ecx
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x416c41
push ecx
lea eax, [ebp - 0xb24]
push eax
call fcn.00416b3f
jmp 0x416ca9
mov esi, str.wand.dat
lea edi, [ebp - 0x20]
push 5
pop ecx
lea eax, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push eax
push ebx
lea eax, [ebp - 0xb24]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, str.Opera_Mailwand.dat
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x6c643c
mov edi, 0x3e8
push esi
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0xb24]
call fcn.00405670
test eax, eax
jne 0x416cb1
lea eax, [ebp - 0x44]
push eax
push ebx
push esi
lea eax, [ebp - 0xb24]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0xb24]
call fcn.00405670
test eax, eax
je 0x416d59
xor ebx, ebx
lea eax, [ebp - 0x33b]
push 0x1f3
push ebx
push eax
mov edi, ebx
mov dword [ebp - 0x1ca8], ebx
mov byte [ebp - 0x33c], bl
call fcn.006390b0
add esp, 0xc
mov dword [ebp - 0x14], 0xffc7d83
lea eax, [ebp - 0xb24]
mov dword [ebp - 0x10], 0x69e8b38e
mov word [ebp - 0xc], 0xaf73
mov byte [ebp - 0xa], 0xff
push 0x6c5e0c
push eax
lea eax, [ebp - 0x1ca8]
push eax
call fcn.00649a00
add esp, 0xc
cmp dword [ebp - 0x1ca8], ebx
je 0x416d59
test eax, eax
jne 0x416d59
push 2
push ebx
push dword [ebp - 0x1ca8]
call fcn.00650f28
add esp, 0xc
push dword [ebp - 0x1ca8]
call fcn.00650730
mov esi, eax
pop ecx
push esi
mov dword [ebp - 0x1cb0], esi
call fcn.0064f743
mov ebx, eax
mov dword [ebp - 0x1cac], ebx
pop ecx
push dword [ebp - 0x1ca8]
test ebx, ebx
jne 0x416d6c
call fcn.00649273
pop ecx
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
call fcn.0065128a
pop ecx
push dword [ebp - 0x1ca8]
push 1
push esi
push ebx
call fcn.00651b3e
push dword [ebp - 0x1ca8]
call fcn.00649273
mov eax, dword [ebp - 0x1cb0]
add esp, 0x14
xor esi, esi
test eax, eax
je 0x41717c
sub eax, esi
push eax
lea eax, [esi + ebx]
push 8
push eax
call fcn.0063b190
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x41717c
inc ecx
mov esi, ecx
mov dword [ebp - 0x1cb8], ecx
sub esi, ebx
lea eax, [ecx - 8]
add ecx, 8
mov dword [ebp - 0x1cb4], eax
cmp eax, ebx
jb 0x41716e
mov eax, dword [ebp - 0x1cb0]
add eax, ebx
cmp ecx, eax
ja 0x41716e
mov ebx, dword [ebp - 0x1cb4]
movzx edx, byte [ebx]
movzx eax, byte [ebx + 1]
add ebx, 2
shl eax, 0x10
mov dword [ebp - 0x1cb4], ebx
movzx ebx, byte [ecx]
shl edx, 0x18
or edx, eax
shl ebx, 0x18
movzx eax, byte [ecx + 1]
add ecx, 2
shl eax, 0x10
or ebx, eax
mov dword [ebp - 0x1cbc], ecx
mov eax, dword [ebp - 0x1cbc]
movzx ecx, byte [ecx]
shl ecx, 8
movzx eax, byte [eax + 1]
or ecx, eax
mov eax, dword [ebp - 0x1cb4]
or ebx, ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
lea eax, [ebx + 0x10]
or ecx, edx
cmp ecx, eax
jne 0x417168
mov eax, dword [ebp - 0x1cb0]
sub eax, esi
sub eax, 0xc
cmp ebx, eax
ja 0x417168
cmp ebx, 8
jb 0x417168
test bl, 7
jne 0x417168
push 0xb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00638b30
add esp, 0xc
lea eax, [ebp - 0x139]
push 8
push dword [ebp - 0x1cb8]
push eax
call fcn.00638b30
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
push 0x13
pop edx
lea ecx, [ebp - 0x144]
call fcn.004052b4
push 0x10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00638b30
add esp, 0x14
lea eax, [ebp - 0x14]
push 0xb
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00638b30
add esp, 0xc
lea eax, [ebp - 0x129]
push 8
push dword [ebp - 0x1cb8]
push eax
call fcn.00638b30
pop ecx
pop ecx
lea eax, [ebp - 0x40]
push eax
push 0x23
pop edx
lea ecx, [ebp - 0x144]
call fcn.004052b4
lea edx, [ebp - 0x1ca4]
lea ecx, [ebp - 0x30]
call fcn.004477a0
lea edx, [ebp - 0x1c24]
lea ecx, [ebp - 0x28]
call fcn.004477a0
lea edx, [ebp - 0x1ba4]
lea ecx, [ebp - 0x40]
call fcn.004477a0
push 8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00638b30
mov ecx, dword [ebp - 0x1cb8]
lea eax, [ebp - 0x20]
add esp, 0x14
mov byte [ebp - 0xf24], 0
lea edx, [ebp - 0xf24]
lea ecx, [ecx + 0xc]
push 0
push eax
lea eax, [ebp - 0x1ba4]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1ca4]
push eax
push ebx
call fcn.00447514
mov al, byte [ebp - 0xf24]
add esp, 0x18
test al, al
je 0x417163
cmp al, 8
je 0x417163
lea ecx, [ebp + ebx - 0xf25]
movzx eax, byte [ecx]
push eax
sub ecx, eax
inc ecx
push 0
push ecx
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x1324]
push 0
push 0
push 0x400
push eax
lea eax, [ebp - 0xf24]
push eax
call fcn.00648cfd
pop ecx
push eax
lea eax, [ebp - 0xf24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xf24]
push eax
call fcn.00648cfd
pop ecx
cmp eax, 0x400
jae 0x41718b
push str.opera:mail_
mov byte [ebp + eax - 0x1324], 0
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x1324]
push str.opera:mail_
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x417041
lea eax, [ebp - 0x1324]
push eax
lea eax, [ebp - 0x73c]
push 0x400
push eax
call fcn.006494f3
xor edi, edi
add esp, 0xc
inc edi
jmp 0x417163
sub edi, 1
je 0x417145
sub edi, 1
je 0x417056
xor edi, edi
jmp 0x417163
lea eax, [ebp - 0x1324]
push eax
lea eax, [ebp - 0x1724]
push 0x400
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x73c]
xor edi, edi
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.0064ffd4
lea eax, [ebp - 0x73c]
push str._pop
push eax
call fcn.00639500
add esp, 0x10
test eax, eax
je 0x4170ad
mov ecx, str.POP3
jmp 0x4170cf
lea eax, [ebp - 0x73c]
push str._imap
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
mov ecx, str.IMAP
mov edx, str.SMTP
cmove ecx, edx
push ecx
lea eax, [ebp - 0x33c]
push 0x1f4
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x73c]
push 0x2f
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x41710e
inc eax
push eax
lea eax, [ebp - 0x73c]
push 0x400
push eax
call fcn.006494f3
add esp, 0xc
mov ecx, dword [ebp - 0x1cc0]
lea eax, [ebp - 0x1724]
push 0xffffffffffffffff
push 0x6c5bb9
push eax
lea eax, [ebp - 0x1b24]
push eax
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0x100
push 2
call fcn.0043ee6b
jmp 0x417163
lea eax, [ebp - 0x1324]
push eax
lea eax, [ebp - 0x1b24]
push 0x400
push eax
call fcn.006494f3
add esp, 0xc
push 2
pop edi
add ebx, 0xc
add esi, ebx
mov ebx, dword [ebp - 0x1cac]
mov eax, dword [ebp - 0x1cb0]
cmp esi, eax
jb 0x416d9f
push ebx
call fcn.006434fb
xor eax, eax
pop ecx
inc eax
jmp 0x416d5b
call fcn.00612782
int3