joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4063c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473e98
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x49c404]
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.00401c20
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.004044a0
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 0x406470
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 0x406490
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40652e
movzx edx, byte [ebp - 0x2c]
movzx ebx, byte [ebp - 0x2b]
nop dword [eax]
inc dl
inc esi
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, cl
add al, byte [ebp + edx - 0x12c]
mov ecx, dword [ebp - 0x138]
movzx eax, al
movzx eax, byte [ebp + eax - 0x12c]
xor byte [edi + ecx], al
movsx edi, si
cmp edi, dword [ebp + 0xc]
jl 0x4064e0
mov eax, dword [ebp - 0x13c]
cmp eax, 0x10
jb 0x40657e
mov ecx, dword [ebp - 0x150]
inc eax
cmp eax, 0x1000
jb 0x406575
test cl, 0x1f
je 0x406551
call fcn.004614be
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40655d
call fcn.004614be
sub ecx, eax
cmp ecx, 4
jae 0x406569
call fcn.004614be
cmp ecx, 0x23
jbe 0x406573
call fcn.004614be
mov ecx, eax
push ecx
call fcn.0042ef8f
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4065c8
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x4065bf
test cl, 0x1f
je 0x40659b
call fcn.004614be
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4065a7
call fcn.004614be
sub ecx, eax
cmp ecx, 4
jae 0x4065b3
call fcn.004614be
cmp ecx, 0x23
jbe 0x4065bd
call fcn.004614be
mov ecx, eax
push ecx
call fcn.0042ef8f
add esp, 4
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.004582c7
mov esp, ebp
pop ebp
ret 8
Function at 0x406890
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 0x4068c2
mov dword [ebp - 8], 1
jmp 0x4068c9
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 0x407320
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x478800
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.SoftwareHeinoteUpdate
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.Version
push 0x478838
push SysReAllocString
call fcn.00402660
add esp, 0xc
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x49c404]
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.00459eb0
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x47891c
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.004582c7
mov esp, ebp
pop ebp
ret
Function at 0x407ce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47406b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x49c404]
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.00459eb0
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x478930
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.00401e40
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00404100
push eax
mov ecx, dword [ebp - 0x234]
call fcn.00407910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004582c7
mov esp, ebp
pop ebp
ret

Function at 0x407dd0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x4788a4
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402610
add esp, 8
movzx eax, al
test eax, eax
je 0x407e00
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallHeinote
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esp, ebp
pop ebp
ret
Function at 0x408860
Capabilities:
Check if file exists
Delete directory
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47420c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x49c404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29c], ecx
push str.Heinote_
push 0x1a
lea eax, [ebp - 0x260]
push eax
call fcn.004016e0
add esp, 8
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.00403220
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.00404390
lea ecx, [ebp - 0x2b8]
call fcn.00404fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2b8]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00404100
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.004084d0
lea edx, [ebp - 0x298]
push edx
lea ecx, [ebp - 0x2b8]
call fcn.00404fb0
jmp 0x408931
lea ecx, [ebp - 0x298]
call fcn.00406810
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00404fa0
push eax
lea ecx, [ebp - 0x298]
call fcn.004067f0
movzx ecx, al
test ecx, ecx
je 0x4089ba
lea ecx, [ebp - 0x298]
call fcn.00406820
mov ecx, eax
call fcn.00404100
push eax
lea edx, [ebp - 0x230]
push edx
call fcn.00401fb0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.00403b70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4089a6
lea ecx, [ebp - 0x230]
call fcn.00403b70
push eax
call fcn.00401780
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.00403fd0
jmp 0x408926
mov dword [ebp - 0x294], 0
jmp 0x4089d5
mov eax, dword [ebp - 0x294]
add eax, 1
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0x11
jae 0x4089f9
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx*4 + 0x49c038]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.00408ae0
jmp 0x4089c6
lea eax, [ebp - 0x278]
push eax
call fcn.004084b0
mov ecx, eax
call fcn.0040aa10
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.00404100
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x278]
call fcn.00404390
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.00459eb0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea edx, [ebp - 0x290]
push edx
call fcn.004084b0
mov ecx, eax
call fcn.0040aa10
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
call fcn.00404100
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x290]
call fcn.00404390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b8]
call fcn.00404fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00404390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004582c7
mov esp, ebp
pop ebp
ret
Function at 0x40b4c0
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 0x40b4f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
mov esp, ebp
pop ebp
ret
Function at 0x40c670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474699
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49c404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x54]
call fcn.00406e60
mov dword [ebp - 4], 0
push 0x47b1c0
lea ecx, [ebp - 0x40]
call fcn.00404a20
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.00401a80
add esp, 8
movzx eax, al
test eax, eax
je 0x40c6f7
lea ecx, [ebp - 0x54]
call fcn.004076d0
test eax, eax
jbe 0x40c6f7
mov dword [ebp - 0x58], 1
jmp 0x40c6fe
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 0x40c71f
and dword [ebp - 0x48], 0xfffffffe
lea ecx, [ebp - 0x40]
call fcn.00404390
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x40c863
push 0
push str.HEINOTE_MAIN_WND
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x5c], eax
push 0
push str.HEINOTE_MAIN_WND_U
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x60], eax
push 0
push str.HEINOTE_MAIN_WND_B
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x64], eax
push 0
push str.HEINOTE_MAIN_WND_U_B
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x5c], 0
jne 0x40c787
cmp dword [ebp - 0x60], 0
jne 0x40c787
cmp dword [ebp - 0x64], 0
jne 0x40c787
cmp dword [ebp - 0x68], 0
je 0x40c863
push 0x47b26c
lea ecx, [ebp - 0x28]
call fcn.00404a20
mov byte [ebp - 4], 2
push 0x47b288
lea ecx, [ebp - 0x28]
call fcn.00402c70
push 0x47b294
lea ecx, [ebp - 0x28]
call fcn.00402c70
push 4
push 0x47b2cc
lea ecx, [ebp - 0x28]
call fcn.00404100
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 6
jne 0x40c833
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00407520
jmp 0x40c7ef
push 0
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00407020
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00407670
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406f70
movzx ecx, al
test ecx, ecx
je 0x40c831
lea ecx, [ebp - 0x4c]
call fcn.00406fd0
mov edx, dword [eax]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x70], eax
push 0
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40c7e1
jmp 0x40c857
mov byte [ebp - 0x42], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00406ef0
mov al, byte [ebp - 0x42]
jmp 0x40c879
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404390
mov byte [ebp - 0x43], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00406ef0
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.004582c7
mov esp, ebp
pop ebp
ret
Function at 0x40c950
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4746cb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x49c404]
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 SysReAllocString
lea eax, [ebp - 0x230]
push eax
call fcn.00402440
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push 0x47b2f0
lea ecx, [ebp - 0x230]
call fcn.00402ad0
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x230]
call fcn.00402b90
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.00402a90
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402cb0
lea ecx, [ebp - 0x248]
call fcn.00404390
push 0
push 0x47b2f4
lea ecx, [ebp - 0x230]
call fcn.00402ad0
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.00402a90
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402cb0
lea ecx, [ebp - 0x260]
call fcn.00404390
mov byte [ebp - 0x261], 0
lea ecx, [ebp - 0x230]
call fcn.00404100
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40cad7
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x47b2f8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x40cac1
cmp dword [ebp - 0x26c], 0x20
ja 0x40cac1
mov dword [ebp - 0x270], 0
jmp 0x40cacb
mov dword [ebp - 0x270], 1
mov dl, byte [ebp - 0x270]
mov byte [ebp - 0x261], dl
movzx eax, byte [ebp - 0x261]
test eax, eax
jne 0x40cb9b
push 0x44
push 0
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.00459eb0
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.00459eb0
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.0040b5b0
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 0x40cb9b
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.00404390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004582c7
mov esp, ebp
pop ebp
ret 4
Function at 0x40cd00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4770cb
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x49c404]
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.0041b524
add esp, 4
push 4
call fcn.0041b799
add esp, 4
lea ecx, [ebp - 0x94]
push ecx
call fcn.004172ce
add esp, 4
mov dword [ebp - 4], 0
call fcn.00417418
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
je 0x40cd7f
cmp dword [ebp - 0xa0], 4
je 0x40cda8
jmp 0x40ce62
push str..._skinUninst_
lea ecx, [ebp - 0x94]
call fcn.0040e3e3
lea ecx, [ebp - 0x94]
call fcn.00406820
push eax
call fcn.0041b750
add esp, 4
jmp 0x40ce62
call fcn.004172c8
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 0x40ce62
mov dword [ebp - 0x9c], 0
call fcn.00417403
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 0x40ce55
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 0x40ce55
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.0041b7a6
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.0040e28b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004582c7
mov esp, ebp
pop ebp
ret 4
Function at 0x414fdb
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x474c1c
call fcn.00458b1c
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0041536a
call fcn.00417412
push eax
lea ecx, [ebp - 0x94]
call fcn.0040e164
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0041741e
mov ecx, eax
call fcn.0040e987
test al, al
je 0x4150f1
push ebx
lea ecx, [ebp - 0x94]
call fcn.0040e3e3
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00406820
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x415062
push str.Error_opening_file
jmp 0x4151d2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x41516b
cmp edi, 0x400000
ja 0x41517c
and dword [ebp - 0x2c8], 0
push edi
call fcn.00458c38
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 0x4150da
push ebx
call fcn.0045836e
pop ecx
mov ecx, esi
call fcn.0041536a
push 0
push str.Could_not_read_file
jmp 0x4151d2
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0041521d
push dword [ebp - 0x2cc]
jmp 0x415200
call fcn.0041741e
push eax
lea ecx, [ebp - 0x94]
call fcn.0040e3c6
call fcn.00417736
test al, al
je 0x415112
call fcn.00417424
jmp 0x415129
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00406820
push eax
call fcn.004313c9
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x41513a
push eax
push str.Error_opening_zip_file
jmp 0x4151d2
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00430e0a
add esp, 0x14
test eax, eax
je 0x415161
push 0
push str.Could_not_find_ziped_file
jmp 0x4151d2
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x415174
push 0
push str.File_is_empty
jmp 0x4151d2
cmp ebx, 0x400000
jbe 0x415185
push 0
push str.File_too_large
jmp 0x4151d2
push ebx
call fcn.00458c38
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00431789
add esp, 0x18
test eax, eax
je 0x4151dd
cmp eax, 0x600
je 0x4151dd
push dword [ebp - 0x2c8]
call fcn.0045836e
pop ecx
call fcn.00417736
test al, al
jne 0x4151cb
push edi
call fcn.00430c64
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00415392
mov bl, al
jmp 0x415208
call fcn.00417736
test al, al
jne 0x4151ed
push edi
call fcn.00430c64
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.0041521d
push edi
mov bl, al
call fcn.0045836e
pop ecx
lea ecx, [ebp - 0x94]
call fcn.0040e28b
mov al, bl
call fcn.00458ad7
ret 8
Function at 0x417860
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 0x417883
or esi, 1
push 1
call edi
test ax, ax
jns 0x41788f
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x41789b
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4178a7
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x41a3ad
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.0041c2af
mov edi, dword [ebp + 8]
test eax, eax
jle 0x41a403
push ebx
lea ecx, [esi + 0x298]
mov byte [ebp + 0xb], 0
call fcn.0040e376
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 0x41a463
lea ecx, [esi + 0x298]
inc ebx
call fcn.0041c2af
cmp ebx, eax
jl 0x41a3cc
sub edi, 0x100
je 0x41a4c9
sub edi, 4
je 0x41a467
dec edi
sub edi, 1
jne 0x41a4be
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00466e4a
pop ecx
mov ecx, dword [esi + 0x1e4]
lea edx, [ebp + 8]
push 0x80000012
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x41be92
call dword [eax + pe_nt_image_headers32]
mov esi, eax
test esi, esi
je 0x41a4be
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 0x41a4c0
cmp dword [esi + 0x1e8], 0
je 0x41a4be
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.00417860
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 0x41a4be
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x41a522
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x41a522
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x41a522
mov ecx, dword [esi + 0x1e8]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0045969e
pop ecx
pop ecx
test eax, eax
je 0x41a522
mov ecx, dword [esi + 0x1e8]
call fcn.004380f9
test al, al
jne 0x41a4be
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x41a56a
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x41a56a
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x41a56a
mov ecx, dword [esi + 0x1e8]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0045969e
pop ecx
pop ecx
test eax, eax
jne 0x41a4be
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0041b5fa
jmp 0x41a463