joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0fa6
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x5c], eax
ret

Function at 0x4b11be
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x2e4
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x74]
push ebx
mov ebx, dword [ebp + 0x70]
push esi
mov esi, dword [ebp + 0x6c]
push edi
push 0x40
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp + 0x7c]
pop edi
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x280], eax
cmp ebx, edi
jbe 0x4b11fd
mov ebx, edi
push edi
lea eax, [ebp + 0x20]
push 0
push eax
call fcn.0059cb30
push edi
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.0059cb30
push 0x54
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0059cb30
push ebx
lea eax, [ebp + 0x20]
push esi
push eax
call fcn.0059d730
push ebx
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.0059d730
add esp, 0x3c
push 0x10
xor eax, eax
pop ecx
xor dword [ebp + eax + 0x20], 0x36363636
xor dword [ebp + eax - 0x20], 0x5c5c5c5c
add eax, 4
dec ecx
jne 0x4b1240
mov esi, dword [ebp - 0x278]
mov ecx, esi
call fcn.004b0fa6
push edi
lea eax, [ebp + 0x20]
push eax
call fcn.004b0fd5
push dword [ebp + 0x78]
mov ecx, esi
push dword [ebp - 0x27c]
call fcn.004b0fd5
lea eax, [ebp - 0x274]
push eax
mov ecx, esi
call fcn.004b10b9
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0059d730
push 0x14
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0059d730
add esp, 0x18
push dword [ebp - 0x280]
lea eax, [ebp - 0x74]
push 0x54
push eax
mov ecx, esi
call fcn.004b119a
mov ecx, dword [ebp + 0x60]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059ca15
add ebp, 0x64
leave
ret 0x14
Function at 0x4b1345
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x11c
push ebx
push esi
xor edx, edx
add eax, 2
push edi
movzx esi, byte [eax - 2]
movzx edi, byte [eax - 1]
shl esi, 8
or esi, edi
movzx edi, byte [eax]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 1]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x11c], esi
inc edx
add eax, 4
cmp edx, 0x10
jl 0x4b1359
lea eax, [ebp - 0xe4]
mov dword [ebp + 8], 0x30
mov edx, dword [eax - 0x34]
mov esi, dword [eax]
mov edi, edx
rol edi, 0xe
mov ebx, edx
shr edx, 3
ror ebx, 7
xor edi, ebx
xor edi, edx
mov edx, esi
rol edx, 0xf
mov ebx, esi
rol ebx, 0xd
xor edx, ebx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x38]
add eax, 4
add edi, dword [eax - 0x18]
dec dword [ebp + 8]
mov dword [eax + 4], edi
jne 0x4b1394
mov eax, dword [ecx + 0x50]
mov edi, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x64]
mov esi, dword [ecx + 0x5c]
and dword [ebp - 8], 0
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x54]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x60]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x68]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], eax
mov eax, esi
ror eax, 0xb
mov edx, esi
rol edx, 7
xor eax, edx
mov edx, esi
ror edx, 6
xor eax, edx
mov edx, esi
not edx
and edx, ebx
mov ebx, dword [ebp - 0xc]
and ebx, esi
xor edx, ebx
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [edx + 0x609c10]
mov ebx, edi
add eax, dword [ebp + edx - 0x11c]
mov edx, edi
add eax, dword [ebp - 0x14]
ror edx, 0xd
rol ebx, 0xa
xor edx, ebx
mov ebx, edi
add dword [ebp - 8], 4
ror ebx, 2
xor edx, ebx
mov ebx, dword [ebp + 8]
xor ebx, edi
and ebx, dword [ebp - 4]
mov edi, dword [ebp + 8]
and edi, dword [ebp - 0x10]
xor ebx, edi
mov edi, dword [ebp - 0x1c]
add edx, ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp + 8], edi
add esi, eax
cmp dword [ebp - 8], 0x100
lea edi, [edx + eax]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], edi
jl 0x4b13ff
mov eax, dword [ecx + 0x4c]
mov edx, dword [ebp + 8]
add eax, edi
mov dword [ecx + 0x4c], eax
mov eax, dword [ecx + 0x50]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [ecx + 0x50], eax
mov eax, dword [ecx + 0x54]
add eax, edx
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x54], eax
mov eax, dword [ecx + 0x58]
add eax, edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x58], eax
mov eax, dword [ecx + 0x5c]
add eax, esi
mov dword [ecx + 0x5c], eax
mov eax, dword [ecx + 0x60]
add eax, edx
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x60], eax
mov eax, dword [ecx + 0x64]
add eax, ebx
mov dword [ecx + 0x64], eax
mov eax, dword [ecx + 0x68]
pop edi
add eax, edx
pop esi
mov dword [ecx + 0x68], eax
pop ebx
leave
ret 4
Function at 0x4b16a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x8c
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x70]
push ebx
push esi
mov esi, dword [ebp + 0x64]
push edi
mov edi, dword [ebp + 0x68]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x78]
mov ebx, ecx
mov dword [ebp - 0x30], eax
cmp edi, 0x40
jbe 0x4b16da
push 0x40
pop edi
xor eax, eax
cmp dword [ebp + 0x7c], eax
je 0x4b173a
cmp dword [ebx + 0x158], eax
je 0x4b173a
cmp dword [ebx + 0x15c], eax
je 0x4b173a
mov eax, dword [ebp + 0x6c]
push 0x1c
lea edi, [ebx + 8]
lea esi, [ebx + 0x78]
pop ecx
rep movsd dword es:[edi], dword [esi]
test eax, eax
jle 0x4b1722
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp + 0x74]
sub edi, esi
mov dword [ebp - 0x2c], eax
push dword [edi + esi]
mov ecx, ebx
push dword [esi]
call fcn.004b14ec
add esi, 4
dec dword [ebp - 0x2c]
jne 0x4b170e
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.004b158f
lea esi, [ebx + 0xe8]
lea edi, [ebx + 8]
jmp 0x4b180e
push 0x40
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0059cb30
push 0x40
lea eax, [ebp + 0x18]
push 0
push eax
call fcn.0059cb30
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0059d730
push edi
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.0059d730
add esp, 0x30
xor eax, eax
xor dword [ebp + eax - 0x28], 0x36363636
xor dword [ebp + eax + 0x18], 0x5c5c5c5c
add eax, 4
cmp eax, 0x40
jl 0x4b176e
mov ecx, ebx
call fcn.004b1301
push 0x40
lea eax, [ebp - 0x28]
push eax
call fcn.004b14ec
cmp dword [ebp + 0x7c], 0
je 0x4b17b3
push 0x1c
lea esi, [ebx + 8]
lea edi, [ebx + 0x78]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x158], 1
mov eax, dword [ebp + 0x6c]
test eax, eax
jle 0x4b17d9
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp + 0x74]
sub edi, esi
mov dword [ebp - 0x2c], eax
push dword [esi + edi]
mov ecx, ebx
push dword [esi]
call fcn.004b14ec
add esi, 4
dec dword [ebp - 0x2c]
jne 0x4b17c5
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.004b158f
mov ecx, ebx
call fcn.004b1301
push 0x40
lea eax, [ebp + 0x18]
push eax
call fcn.004b14ec
cmp dword [ebp + 0x7c], 0
je 0x4b1813
lea esi, [ebx + 8]
lea edi, [ebx + 0xe8]
mov dword [ebx + 0x15c], 1
push 0x1c
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x20
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.004b14ec
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.004b158f
mov ecx, dword [ebp + 0x58]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059ca15
add ebp, 0x5c
leave
ret 0x1c
Function at 0x4b183d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x20]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x64], edx
mov edx, eax
sar edx, 0x18
push esi
mov esi, dword [ebp + 8]
mov byte [ebp - 0x48], dl
mov edx, eax
push edi
sar edx, 0x10
push 0
mov byte [ebp - 0x47], dl
mov edx, eax
mov byte [ebp - 0x45], al
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
push 2
push dword [ebp + 0xc]
sar edx, 8
push esi
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x60], 0x20
mov byte [ebp - 0x46], dl
call fcn.004b16a6
mov eax, dword [ebp + 0x18]
cmp eax, 1
push 8
pop ecx
lea esi, [ebp - 0x24]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jle 0x4b1918
lea ecx, [ebp - 0x44]
sub ecx, ebx
dec eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x68]
push 1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp - 0x5c]
call fcn.004b16a6
push 8
pop ecx
lea esi, [ebp - 0x44]
lea edi, [ebp - 0x24]
push 8
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
pop ecx
mov edx, dword [ebp - 0x54]
mov edx, dword [edx + eax]
xor dword [eax], edx
add eax, 4
dec ecx
jne 0x4b1905
dec dword [ebp - 0x4c]
jne 0x4b18d7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059ca15
leave
ret 0x1c

Function at 0x4b7899
Capabilities:
Initialize winsock library

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x30c], 0
je 0x4b78a9
mov al, 1
pop esi
ret
push edi
lea edi, [esi + 0x128]
push edi
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4b78d8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x304], eax
mov dword [esi + 0x308], 1
jmp 0x4b78fb
push 2
pop eax
cmp byte [edi], al
jne 0x4b78ef
cmp byte [edi + 1], al
jne 0x4b78ef
mov byte [esi + 0x30c], 1
mov al, 1
jmp 0x4b78fd
mov dword [esi + 0x308], eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
pop edi
pop esi
ret
Function at 0x4b799c
Capabilities:
Connect socket
Resolve dns

Disassembly:
push 0x1c
mov eax, 0x5e6060
call fcn.0059cac3
mov eax, dword [ebp + 8]
xor esi, esi
push eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], esi
or edi, 0xffffffff
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
cmp ebx, esi
je 0x4b7a2b
push esi
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x4b7a35
cmp word [ebp + 0xc], si
je 0x4b79e1
movzx eax, word [ebp + 0xc]
jmp 0x4b7a02
push esi
push str.mail
call dword [sym.imp.WS2_32.dll_getservbyname]
cmp eax, esi
jne 0x4b79fe
push 0x19
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
jmp 0x4b7a02
movzx eax, word [eax + 8]
push 2
pop ecx
mov word [ebp - 0x22], ax
mov word [ebp - 0x24], cx
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x4b7a2b
or edi, 0xffffffff
mov eax, edi
call fcn.0059cb1f
ret 8
mov eax, dword [ebp - 0x28]
push esi
push esi
mov dword [eax + 0x308], 7
call fcn.005a4171
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x308], 0xb
mov eax, 0x4b7a5c
ret
Function at 0x4b9bba
Capabilities:
Delete file

Disassembly:
push 0x18c
mov eax, 0x5e62e0
call fcn.0059cac3
mov esi, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
push 1
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x198], edi
mov dword [edi + 0x120], ebx
mov dword [ebp - 4], ebx
call fcn.004b06db
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x5f5c9c
push esi
lea ecx, [ebp - 0x194]
call fcn.004b0baa
cmp eax, ebx
jne 0x4b9c2e
lea ecx, [ebp - 0x194]
mov dword [edi + 0x120], 0xd
mov byte [ebp - 4], bl
call fcn.004b0b8e
xor eax, eax
call fcn.0059cb1f
ret 4
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0059cb30
add esp, 0xc
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x30], 0x12
mov dword [ebp - 0x2c], esi
call fcn.004b07f3
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], bl
call fcn.004b0b8e
xor eax, eax
inc eax
jmp 0x4b9c26
Function at 0x4bd1f9
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
sub esp, 0x438
lea ebp, [esp - 4]
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp + 0x438], eax
push 8
mov eax, 0x5e6739
call fcn.0059ca24
mov esi, ecx
lea ecx, [ebp]
call fcn.00427139
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
call fcn.00567d0d
push eax
lea ecx, [ebp - 0x14]
call fcn.00402440
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00571fa8
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x11c]
push eax
mov ecx, 0x66e868
call fcn.00477dd1
test eax, eax
je 0x4bd351
push dword [ebp - 0x10]
call fcn.0059bf90
inc eax
pop ecx
inc eax
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4bd2d0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x4bd2c9
push dword [ebp - 0x10]
call fcn.0059bf90
inc eax
push eax
push dword [ebp - 0x10]
push ebx
call fcn.0059d730
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jne 0x4bd2bb
xor eax, eax
jmp 0x4bd2be
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4bd307
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x4bd2d7
mov esi, dword [esi + 0x20]
push 0xd4
mov ecx, 0x66ea90
call fcn.0047ddbd
push eax
push 0x16
push esi
call fcn.00428d53
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x4bd351
push dword [ebp - 0x10]
call fcn.00564e3f
and dword [ebp - 0x10], 0
pop ecx
jmp 0x4bd351
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x10], 0
je 0x4bd32f
push dword [ebp - 0x10]
call fcn.00564e3f
and dword [ebp - 0x10], 0
pop ecx
test esi, esi
je 0x4bd336
mov esi, dword [esi + 0x20]
push 0xd5
mov ecx, 0x66ea90
call fcn.0047ddbd
push eax
push 0x13
push esi
call fcn.00428d53
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402490
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0042719c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
call fcn.0059ca15
add ebp, 0x43c
leave
ret
Function at 0x4bddc5
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 8
mov eax, 0x5e683f
call fcn.0059ca24
mov edi, ecx
lea ecx, [ebp]
call fcn.00493dd6
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00567d0d
push eax
lea ecx, [ebp - 0x10]
call fcn.00402440
push ebx
push str.WorkMode
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0049359e
push eax
push str.OperaOptionsIni
lea eax, [ebp - 0x10]
push str._s_d
push eax
call fcn.00401b30
add esp, 0x10
push ebx
push dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.0049352a
mov esi, eax
cmp esi, ebx
jne 0x4bde4c
push ebx
lea ecx, [edi + 0x74]
call fcn.00574aee
jmp 0x4bde86
push esi
push ebx
push str.Max_Global_History_Lines
push str.User_Prefs
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
mov dword [ebp - 0x14], eax
call fcn.00564e3f
pop ecx
push ebx
push dword [ebp - 0x14]
lea esi, [edi + 0x214]
push 0x3f6
mov ecx, edi
mov dword [esi], ebx
call fcn.005748a0
mov dword [esi], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402490
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00493516
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0059ca15
add ebp, 0x414
leave
ret
Function at 0x4bec2c
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x5e6a32
call fcn.0059ca24
mov esi, ecx
call fcn.00567d0d
push eax
lea ecx, [ebp - 0x10]
call fcn.00402440
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
and dword [ebp - 4], 0
push 2
push 0xffffffffffffffff
mov ebx, 0x100c
push ebx
push dword [esi + 0x13c]
call edi
test eax, eax
jge 0x4bec79
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x4bed75
push 2
push 0xffffffffffffffff
push ebx
push dword [esi + 0x13c]
call edi
xor ebx, ebx
push ebx
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x11c]
call fcn.0057ad5c
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402340
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402490
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x4bed72
push edi
call fcn.00428548
pop ecx
test eax, eax
jne 0x4bed10
push edi
call fcn.00428769
pop ecx
test eax, eax
jne 0x4bed10
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.00401b50
push str.www.
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401ec0
mov edi, dword [ebp + 0xc]
push dword [edi - 0xc]
lea ecx, [ebp - 0x10]
push edi
call fcn.0040d8b0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00402490
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 0x20]
push 1
push ebx
push ebx
push edi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, eax
cmp ebx, 0x20
ja 0x4bed72
push 0x113
mov ecx, 0x66ea90
call fcn.0047ddbd
push eax
lea ecx, [ebp - 0x10]
call fcn.00401ec0
push 0x5f5834
lea ecx, [ebp - 0x10]
call fcn.0040d820
push ebx
call fcn.0042848c
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d820
mov edi, dword [ebp - 0x10]
mov esi, dword [esi + 0x20]
push edi
push 0x16
push esi
call fcn.00428d53
add esp, 0xc
lea ecx, [edi - 0x10]
call fcn.00402490
call fcn.0059cafc
ret 8
Function at 0x4c31b4
Capabilities:
Read .ini file

Disassembly:
push 0x690
mov eax, 0x5e6ef9
call fcn.0059ca8d
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x69c]
call fcn.00428bc1
xor ebx, ebx
push ebx
push ebx
lea ecx, [ebp - 0x69c]
mov dword [ebp - 4], ebx
call fcn.00498d2a
push str.operaprefs.ini
push ebx
lea ecx, [ebp - 0x69c]
call fcn.00499340
lea ecx, [ebp - 0x69c]
call fcn.004992e9
lea ecx, [ebp - 0x69c]
test eax, eax
je 0x4c321e
or dword [ebp - 4], 0xffffffff
call fcn.0042719c
xor eax, eax
inc eax
call fcn.0059cb10
ret 4
push esi
call fcn.00498be1
push ebx
push ebx
lea ecx, [ebp - 0x69c]
call fcn.00498d2a
push str.Opera6.ini
push ebx
lea ecx, [ebp - 0x69c]
call fcn.00499340
lea ecx, [ebp - 0x69c]
call fcn.004992e9
test eax, eax
je 0x4c328a
lea eax, [ebp - 0x69c]
push eax
push ebx
push str.Newest_Used_Version
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebx
je 0x4c328a
cmp eax, 0x384
jl 0x4c3277
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x69c]
call fcn.0042719c
mov eax, ebx
jmp 0x4c3216
push 1
lea ecx, [ebp - 0x264]
call fcn.004b06db
push 0xff
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x110], bl
call fcn.0059cb30
add esp, 0xc
push 0x5f6264
push esi
lea ecx, [ebp - 0x264]
call fcn.004b0baa
test eax, eax
je 0x4c3382
mov edi, 0x100
push edi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x264]
call fcn.004b078b
push edi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x264]
call fcn.004b078b
push edi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x264]
call fcn.004b078b
push edi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 0x110], bl
call fcn.004b078b
test eax, eax
je 0x4c3382
lea esi, [ebp - 0x110]
mov eax, esi
push 0x20
push eax
call fcn.00428153
cmp byte [ebp - 0x110], 0x2d
pop ecx
pop ecx
jne 0x4c334b
lea esi, [ebp - 0x10f]
mov al, byte [esi]
cmp al, bl
je 0x4c336f
mov ecx, esi
lea edx, [ebp - 0x110]
sub ecx, edx
cmp ecx, edi
jae 0x4c336f
cmp al, 0x30
jl 0x4c3382
cmp al, 0x39
jg 0x4c3382
inc esi
mov al, byte [esi]
inc ecx
cmp al, bl
jne 0x4c335b
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], bl
call fcn.004b0b8e
jmp 0x4c3274
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], bl
call fcn.004b0b8e
jmp 0x4c3277
Function at 0x4c81f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
push esi
push edi
mov dword [esp + 0xc], ecx
call fcn.00567bd7
mov esi, dword [eax + 0xc]
push 0xe
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x4c8314
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
push ebp
call ebx
movzx eax, word [eax + 0x12]
push ebp
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x4c8262
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4c8262
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
movzx eax, word [esp + 0x18]
push 3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4c8311
push ebp
push esi
call edi
push dword [esp + 0x18]
mov esi, eax
call ebx
push esi
push 2
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
push ebp
push edi
call fcn.0059d730
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0xffffffffffffffff
push edi
call fcn.004c76cb
mov ebp, eax
test ebp, ebp
je 0x4c82db
push 0x30000
push 1
push esi
push edi
call dword [sym.imp.USER32.dll_CreateIconFromResource]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp dword [ecx], eax
push ebx
setne al
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x4c8304
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4c8304
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebp, ebp
je 0x4c8311
test esi, esi
je 0x4c8311
xor eax, eax
inc eax
jmp 0x4c8313
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x4c9388
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push ebp
push esi
push edi
call fcn.00567bd7
mov esi, dword [eax + 0xc]
push 0xe
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
mov dword [esp + 0xc], ebp
test ebp, ebp
je 0x4c9476
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
push ebp
call ebx
movzx eax, word [eax + 0x12]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esp + 0x18], eax
call ebp
test eax, eax
jne 0x4c93f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4c93f7
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
movzx eax, word [esp + 0x14]
push 3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4c9475
push dword [esp + 0x14]
push esi
call edi
push dword [esp + 0x10]
mov edi, eax
call ebx
push edi
push 2
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push dword [esp + 0x18]
mov ebx, eax
push ebx
call fcn.0059d730
push dword [esp + 0x2c]
push ebx
call fcn.004c831b
add esp, 0x14
push esi
mov edi, eax
call ebp
test eax, eax
jne 0x4c9473
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4c9473
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
pop ecx
ret

Function at 0x4cf61c
Capabilities:
Encode data using xor

Disassembly:
push ebx
or ebx, 0xffffffff
cmp dword [0x673328], 0
jne 0x4cf62e
call fcn.004cf5e8
cmp dword [esp + 0xc], 0
je 0x4cf657
mov eax, dword [esp + 8]
movzx ecx, byte [eax]
dec dword [esp + 0xc]
movzx edx, bl
xor ecx, edx
shr ebx, 8
xor ebx, dword [ecx*4 + 0x672f28]
inc eax
cmp dword [esp + 0xc], 0
jne 0x4cf639
mov eax, ebx
not eax
pop ebx
ret