joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f300
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 8], esi
test esi, esi
je 0x40f45f
lea ecx, [esi*8]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [esi*8]
lea eax, [ecx + ecx*2]
add eax, eax
sub edx, eax
sub edx, 2
je 0x40f349
sub edx, 2
jne 0x40f34c
add ecx, 2
jmp 0x40f34c
add ecx, 3
mov eax, dword [ebp + 0xc]
inc ecx
cmp dword [eax], ecx
jge 0x40f361
pop esi
mov dword [eax], ecx
mov eax, 0xfffffff0
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x55555556
imul esi
push edi
mov edi, dword [ebp + 8]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
xor eax, eax
test ecx, ecx
jle 0x40f3f6
dec ecx
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
inc eax
mov dword [ebp - 4], eax
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 2], al
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x40f392
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, esi
jge 0x40f451
movzx edx, byte [ebx]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jge 0x40f40b
movzx ecx, byte [ebx + 1]
jmp 0x40f40d
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], al
cmp dword [ebp - 0xc], esi
jge 0x40f446
and ecx, 0xf
mov al, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 2], al
jmp 0x40f44a
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov ecx, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [ebp + 8]
mov dword [ecx], eax
mov byte [edi], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f5f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0d78
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
call fcn.0040f560
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 0
push eax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], 0
mov byte [ebp - 0x150], 0
call fcn.00404a00
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x12c]
cmp dword [ebp - 0x13c], 0x10
mov edx, 0x100
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
mov dword [ebp - 0x130], eax
xor eax, eax
nop word [eax + eax]
mov byte [ecx], al
lea ecx, [ecx + 1]
inc eax
cmp ax, dx
jl 0x40f6a0
xor dl, dl
mov word [ebp - 0x2c], 0
xor ebx, ebx
lea esi, [ebp - 0x12c]
mov edi, 0x100
mov eax, dword [ebp - 0x130]
lea esi, [esi + 1]
mov cl, byte [esi - 1]
movzx edx, dl
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
movzx eax, byte [ebp + ebx - 0x12c]
mov byte [esi - 1], al
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x134]
mov byte [ebp + ebx - 0x12c], cl
sub edi, 1
jne 0x40f6c0
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x40f75a
movzx edx, byte [ebp - 0x2c]
movzx ebx, byte [ebp - 0x2b]
nop dword [eax + eax]
inc dl
movzx edx, dl
mov cl, byte [ebp + edx - 0x12c]
add bl, cl
movzx ebx, bl
movzx eax, byte [ebp + ebx - 0x12c]
mov byte [ebp + edx - 0x12c], al
mov byte [ebp + ebx - 0x12c], cl
movzx eax, byte [ebp + edx - 0x12c]
add al, cl
mov ecx, dword [ebp - 0x138]
movzx eax, al
movzx eax, byte [ebp + eax - 0x12c]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x40f710
lea ecx, [ebp - 0x150]
call fcn.004048f0
lea ecx, [ebp - 0x28]
call fcn.004048f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004640c2
mov esp, ebp
pop ebp
ret 8

Function at 0x40fa90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x204]
lea esi, [edi + 0x100]
sub dword [ebp + 8], eax
add ecx, eax
mov bh, byte [edi + 0x209]
sub edx, eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ecx
cmp eax, ecx
jae 0x40fb0a
sub edx, dword [ebp + 8]
mov edi, edx
nop dword [eax]
mov edx, dword [ebp - 4]
movzx ecx, al
add esi, ecx
mov bl, byte [esi]
add bh, bl
movzx ecx, bh
add edx, ecx
movzx ecx, byte [edx]
mov byte [esi], cl
mov byte [edx], bl
movzx ecx, byte [esi]
mov edx, dword [ebp + 8]
add cl, bl
mov esi, dword [ebp - 4]
add edx, eax
movzx ecx, cl
inc eax
movzx ecx, byte [ecx + esi]
xor cl, byte [edi + edx]
mov byte [edx], cl
cmp eax, dword [ebp - 8]
jb 0x40fad0
mov edi, dword [ebp - 0xc]
mov byte [edi + 0x209], bh
mov dword [edi + 0x204], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fe00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x40fe6c
mov edx, dword [esi + 0x1c]
lea eax, [edx + 1]
mov dword [esi + 0x1c], eax
cmp edx, 0x186a0
jl 0x40fe41
mov eax, dword [esi]
test eax, eax
je 0x40fe32
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [esi + 0x1c], 0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fe46
mov eax, dword [esi]
sub ecx, edx
cmp eax, 0xffffffff
je 0x40fe6c
push 0
lea edx, [ebp + 8]
mov dword [ebp + 8], 0
push edx
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret 4

Function at 0x4102a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x4115f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x411622
mov dword [ebp - 8], 1
jmp 0x411629
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x411c90
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x4c5aa8
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.SoftwareJZipUpdate
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0x4c5ad8
push 0x4c5ae0
push reloc.WS2_32.dll_accept
call fcn.00402b70
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x411ee0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00465ca0
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4c5b70
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004640c2
mov esp, ebp
pop ebp
ret
Function at 0x4121e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0fcb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00465ca0
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4c5b84
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.004022f0
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00404660
push eax
mov ecx, dword [ebp - 0x234]
call fcn.00411f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004048f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004640c2
mov esp, ebp
pop ebp
ret

Function at 0x4122d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x4c5af8
push reloc.WS2_32.dll_bind
call fcn.00402b20
add esp, 8
movzx eax, al
test eax, eax
je 0x412300
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallJZip
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esp, ebp
pop ebp
ret
Function at 0x415e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x415e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
mov esp, ebp
pop ebp
ret

Function at 0x417140
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1629
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x54]
call fcn.00416f30
mov dword [ebp - 4], 0
push 0x4c8550
lea ecx, [ebp - 0x40]
call fcn.00404fd0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
or eax, 1
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00401e20
add esp, 8
movzx eax, al
test eax, eax
je 0x4171c7
lea ecx, [ebp - 0x54]
call fcn.004179b0
test eax, eax
jbe 0x4171c7
mov dword [ebp - 0x58], 1
jmp 0x4171ce
mov dword [ebp - 0x58], 0
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0x41], cl
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x48]
and edx, 1
je 0x4171ef
and dword [ebp - 0x48], 0xfffffffe
lea ecx, [ebp - 0x40]
call fcn.004048f0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x4172d7
push 0x4c8564
lea ecx, [ebp - 0x28]
call fcn.00404fd0
mov byte [ebp - 4], 2
push 0x4c8580
lea ecx, [ebp - 0x28]
call fcn.00403080
push 0x4c858c
lea ecx, [ebp - 0x28]
call fcn.00403080
push 4
push 0x4c85c4
lea ecx, [ebp - 0x28]
call fcn.00404660
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 6
jne 0x4172a7
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00417800
jmp 0x417263
push 0
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004170f0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00417950
push eax
lea ecx, [ebp - 0x4c]
call fcn.00417040
movzx ecx, al
test ecx, ecx
je 0x4172a5
lea ecx, [ebp - 0x4c]
call fcn.004170a0
mov edx, dword [eax]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x60], eax
push 0
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x417255
jmp 0x4172cb
mov byte [ebp - 0x42], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004048f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00416fc0
mov al, byte [ebp - 0x42]
jmp 0x4172ed
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004048f0
mov byte [ebp - 0x43], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00416fc0
mov al, byte [ebp - 0x43]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004640c2
mov esp, ebp
pop ebp
ret
Function at 0x417430
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c169b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
push 1
push 0x64
push 0
push str.http_shellopencommand
push accept
lea eax, [ebp - 0x230]
push eax
call fcn.004029f0
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push 0x4c84b4
lea ecx, [ebp - 0x230]
call fcn.00402f70
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x230]
call fcn.00403030
sub eax, dword [ebp - 0x268]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x268]
add ecx, 1
push ecx
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x230]
call fcn.00402f30
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x230]
call fcn.004030c0
lea ecx, [ebp - 0x248]
call fcn.004048f0
push 0
push 0x4c84b8
lea ecx, [ebp - 0x230]
call fcn.00402f70
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
push 0
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x230]
call fcn.00402f30
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.004030c0
lea ecx, [ebp - 0x260]
call fcn.004048f0
mov byte [ebp - 0x261], 0
lea ecx, [ebp - 0x230]
call fcn.00404660
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4175b7
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x4c84bc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x4175a1
cmp dword [ebp - 0x26c], 0x20
ja 0x4175a1
mov dword [ebp - 0x270], 0
jmp 0x4175ab
mov dword [ebp - 0x270], 1
mov dl, byte [ebp - 0x270]
mov byte [ebp - 0x261], dl
movzx eax, byte [ebp - 0x261]
test eax, eax
jne 0x41767b
push 0x44
push 0
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.00465ca0
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x2d0], 0x44
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00465ca0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
lea eax, [ebp - 0x218]
push eax
call fcn.0040f4f0
add esp, 0xc
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x2d0]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41767b
mov ecx, dword [ebp - 0x288]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004048f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004640c2
mov esp, ebp
pop ebp
ret 4
Function at 0x417bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c173b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4f6414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00426bf4
add esp, 4
push 4
call fcn.00426e69
add esp, 4
lea ecx, [ebp - 0x94]
push ecx
call fcn.00422856
add esp, 4
mov dword [ebp - 4], 0
call fcn.004229a0
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
je 0x417c2f
cmp dword [ebp - 0xa0], 4
je 0x417c58
jmp 0x417d12
push str.skinUninst_
lea ecx, [ebp - 0x94]
call fcn.00419917
lea ecx, [ebp - 0x94]
call fcn.00405cc0
push eax
call fcn.00426e20
add esp, 4
jmp 0x417d12
call fcn.00422850
mov dword [ebp - 0xac], eax
push str.ZIPRES
push str.SKINDATA
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x417d12
mov dword [ebp - 0x9c], 0
call fcn.0042298b
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x417d05
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jbe 0x417d05
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.00426e76
add esp, 8
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004197af
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004640c2
mov esp, ebp
pop ebp
ret 4
Function at 0x4204ac
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x4c1bea
call fcn.0046491c
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0042083b
call fcn.0042299a
push eax
lea ecx, [ebp - 0x94]
call fcn.00419688
xor edi, edi
mov dword [ebp - 4], edi
call fcn.004229a6
mov ecx, eax
call fcn.00419ea7
test al, al
je 0x4205c2
push ebx
lea ecx, [ebp - 0x94]
call fcn.00419917
push edi
push 0x80
push 3
push edi
push 1
push accept
lea ecx, [ebp - 0x94]
call fcn.00405cc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x420533
push str.Error_opening_file
jmp 0x4206a3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x42063c
cmp edi, 0x400000
ja 0x42064d
and dword [ebp - 0x2c8], 0
push edi
call fcn.00464a38
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x4205ab
push ebx
call fcn.0046416e
pop ecx
mov ecx, esi
call fcn.0042083b
push 0
push str.Could_not_read_file
jmp 0x4206a3
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004206ee
push dword [ebp - 0x2cc]
jmp 0x4206d1
call fcn.004229a6
push eax
lea ecx, [ebp - 0x94]
call fcn.004198fa
call fcn.00422cf4
test al, al
je 0x4205e3
call fcn.004229ac
jmp 0x4205fa
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00405cc0
push eax
call fcn.0043cbb2
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x42060b
push eax
push str.Error_opening_zip_file
jmp 0x4206a3
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0043c5f3
add esp, 0x14
test eax, eax
je 0x420632
push 0
push str.Could_not_find_ziped_file
jmp 0x4206a3
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x420645
push 0
push str.File_is_empty
jmp 0x4206a3
cmp ebx, 0x400000
jbe 0x420656
push 0
push 0x4cb5bc
jmp 0x4206a3
push ebx
call fcn.00464a38
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0043cf72
add esp, 0x18
test eax, eax
je 0x4206ae
cmp eax, 0x600
je 0x4206ae
push dword [ebp - 0x2c8]
call fcn.0046416e
pop ecx
call fcn.00422cf4
test al, al
jne 0x42069c
push edi
call fcn.0043c44d
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00420863
mov bl, al
jmp 0x4206d9
call fcn.00422cf4
test al, al
jne 0x4206be
push edi
call fcn.0043c44d
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.004206ee
push edi
mov bl, al
call fcn.0046416e
pop ecx
lea ecx, [ebp - 0x94]
call fcn.004197af
mov al, bl
call fcn.004648d7
ret 8
Function at 0x422e1e
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x422e41
or esi, 1
push 1
call edi
test ax, ax
jns 0x422e4d
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x422e59
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x422e65
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4259b7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x298]
call fcn.0042a9a0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x425a0d
push ebx
lea ecx, [esi + 0x298]
mov byte [ebp + 0xb], 0
call fcn.004198aa
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x425a6d
lea ecx, [esi + 0x298]
inc ebx
call fcn.0042a9a0
cmp ebx, eax
jl 0x4259d6
sub edi, 0x100
je 0x425ad3
sub edi, 4
je 0x425a71
dec edi
sub edi, 1
jne 0x425ac8
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00474e0b
pop ecx
mov ecx, dword [esi + 0x1e4]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_select
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x427569
call dword [eax + pe_nt_image_headers32]
mov esi, eax
test esi, esi
je 0x425ac8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x425aca
cmp dword [esi + 0x1e8], 0
je 0x425ac8
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x1f8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x1fc]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00422e1e
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x1e8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x425ac8
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x425b2c
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x425b2c
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x425b2c
mov ecx, dword [esi + 0x1e8]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00465498
pop ecx
pop ecx
test eax, eax
je 0x425b2c
mov ecx, dword [esi + 0x1e8]
call fcn.004437c6
test al, al
jne 0x425ac8
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x425b74
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x425b74
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x425b74
mov ecx, dword [esi + 0x1e8]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00465498
pop ecx
pop ecx
test eax, eax
jne 0x425ac8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00426cca
jmp 0x425a6d