joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445fb0
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x447da0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546f72
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x672114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00447330
mov ecx, esi
mov dword [esi + 0x4d8], 0
call fcn.00447fa0
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x6772b0]
test eax, eax
jne 0x447e22
push 0x4e4
call fcn.00474152
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x447e14
mov ecx, eax
call fcn.0044bbe0
jmp 0x447e16
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6772b0], eax
mov ecx, eax
call fcn.0044c750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44c750
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0047f03c
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x44c980
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5479e6
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x672114]
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 dword [ebp - 0x254], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44cbc3
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44ca03
mov ecx, 0x15
mov dword [ebp - 0x21c], 7
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
mov dword [ebp - 0x220], 0
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x44ca45
xor ecx, ecx
jmp 0x44ca5f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ca50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402650
push 1
push 0x656b9c
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00404240
cmp word [ebx], 0
jne 0x44ca95
xor ecx, ecx
jmp 0x44caaf
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44caa0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.00404240
push 4
push str..lnk
lea ecx, [ebp - 0x230]
call fcn.00404240
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x248]
push eax
call fcn.0044d410
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x24c]
test eax, eax
lea eax, [ebp - 0x230]
push 0
push 0
push 1
je 0x44cb4b
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push 0
push dword [ebp - 0x250]
push eax
call fcn.004e39c2
add esp, 0x20
jmp 0x44cb6a
cmp dword [ebp - 0x21c], 8
push 0
cmovae eax, dword [ebp - 0x230]
push dword [ebp - 0x250]
push eax
call fcn.004e3bdd
add esp, 0x1c
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x44cb88
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402750
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x44cbc3
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402750
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.00474193
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44cbf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547a28
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x672114]
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 dword [ebp - 0x5c], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
push eax
call fcn.004dc30c
add esp, 8
cmp word [edi], 0
mov dword [ebp - 4], 0
jne 0x44cc45
xor ecx, ecx
jmp 0x44cc5f
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44cc50
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00404240
push 4
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.00404240
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.0044d410
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
push 0
push 0
test eax, eax
lea eax, [ebp - 0x28]
push 1
je 0x44cccc
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push 0
push esi
push eax
call fcn.004e39c2
add esp, 0x20
jmp 0x44cce0
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.004e3bdd
add esp, 0x1c
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0044d410
push 0
push esi
push 0x150a
mov byte [ebp - 4], 2
call fcn.0044cd90
add esp, 0xc
test al, al
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x44cd29
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402750
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x44cd3e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402750
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x44cd67
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
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.00474193
mov esp, ebp
pop ebp
ret 0xc
Function at 0x455100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548876
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4551ac
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4551ac
call fcn.004539a0
mov esi, eax
jmp 0x45529c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4551cf
call fcn.004539a0
jmp 0x45528f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4551ed
call fcn.004539a0
jmp 0x45528f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x45520e
mov esi, 0x8007000e
jmp 0x455291
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00453780
jmp 0x455238
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x45524f
mov esi, 0x8007000e
jmp 0x455291
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x45526f
call fcn.004539a0
jmp 0x45528f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00454fa0
mov esi, eax
test edi, edi
je 0x45529c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4552c0
lea ecx, [ebp - 0x418]
call fcn.004547d0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00474193
mov esp, ebp
pop ebp
ret 0x10
Function at 0x455be0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x455bf9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x455c05
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x455c00
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x455c40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x455c55
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x455c60
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x460de0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a0d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x672114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push 0x460e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea esi, [edi + 0x2c]
mov dword [ebp + 8], eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x460e48
lea eax, [ebp + 8]
push eax
call fcn.00464ba0
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x463ac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a672
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x672114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x28], 8
lea edi, [ecx + 0x14]
mov dword [ebp - 0x10], 0
jb 0x463afb
mov eax, dword [edi]
jmp 0x463afd
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463b2b
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
push edi
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00402880
jmp 0x463b71
mov eax, dword [0x674ab8]
test eax, eax
jne 0x463b66
push 0x304
call fcn.00474152
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x463b58
mov ecx, eax
call fcn.00430f40
jmp 0x463b5a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x674ab8], eax
mov esi, dword [ebp + 8]
mov ecx, eax
push esi
call fcn.00431aa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x475340
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c833
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x672114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x678110
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x678110
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x55bc15
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00478f20
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x483191
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 0x4831b4
or esi, 1
push 1
call edi
test ax, ax
jns 0x4831c0
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4831cc
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4831d8
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x48817c
Capabilities:
Hide graphical window

Disassembly:
push 0x118
mov eax, 0x54cc29
call fcn.00513ea1
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
push 0x3b
pop ecx
mov esi, str.BsAeWA65xZjlQwaU8iFHITwO4niYINCYKeGbc5hCZSQxykGsnt06Pg8rEf76R8j2T3d1VsgEezYADyRZ3dz5qrctsNnpAFQbfCu4mSdhArVWEHrOiUfwNMP1sk0tjrqzEg9zvep7xOeGY5aMRf2UVS3EFrv1qTBakNu6UvaBXIwNSGOjvtpoZQGdlExC0wN8vwHwz52LHCh1oTdY9AeEvArMkYDexA31RoSFfm0xMy3V
mov dword [ebp - 4], eax
lea edi, [ebp - 0x100]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x118]
movsb byte es:[edi], byte [esi]
call fcn.004057d0
xor eax, eax
lea ecx, [ebp - 0x124]
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x118]
push eax
call fcn.00408170
xor esi, esi
lea ecx, [ebp - 0x118]
push 0
inc esi
push esi
call fcn.004096c0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x488219
cmp byte [ebp + 0xc], 0
push 4
pop ecx
cmovne ecx, esi
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x124]
call fcn.0047920e
call fcn.00513e4b
ret 8
Function at 0x4905dc
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x54ef18
call fcn.00513ea1
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0049096b
call fcn.00482ca4
push eax
lea ecx, [ebp - 0x94]
call fcn.004806c7
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00482caa
mov ecx, eax
call fcn.00480e97
test al, al
je 0x4906f2
push ebx
lea ecx, [ebp - 0x94]
call fcn.00480907
push edi
push 0x80
push 3
push edi
push 1
push connect
lea ecx, [ebp - 0x94]
call fcn.004d71d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x490663
push str.Error_opening_file
jmp 0x4907d3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x49076c
cmp edi, 0x400000
ja 0x49077d
and dword [ebp - 0x2c8], 0
push edi
call fcn.004741dd
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 0x4906db
push ebx
call fcn.004741e6
pop ecx
mov ecx, esi
call fcn.0049096b
push 0
push str.Could_not_read_file
jmp 0x4907d3
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0049081e
push dword [ebp - 0x2cc]
jmp 0x490801
call fcn.00482caa
push eax
lea ecx, [ebp - 0x94]
call fcn.004808ea
call fcn.00482feb
test al, al
je 0x490713
call fcn.00482cb0
jmp 0x49072a
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.004d71d0
push eax
call fcn.004a76e1
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x49073b
push eax
push str.Error_opening_zip_file
jmp 0x4907d3
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.004a7122
add esp, 0x14
test eax, eax
je 0x490762
push 0
push str.Could_not_find_ziped_file
jmp 0x4907d3
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x490775
push 0
push str.File_is_empty
jmp 0x4907d3
cmp ebx, 0x400000
jbe 0x490786
push 0
push 0x61246c
jmp 0x4907d3
push ebx
call fcn.004741dd
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.004a7aa1
add esp, 0x18
test eax, eax
je 0x4907de
cmp eax, 0x600
je 0x4907de
push dword [ebp - 0x2c8]
call fcn.004741e6
pop ecx
call fcn.00482feb
test al, al
jne 0x4907cc
push edi
call fcn.004a6f7c
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00490993
mov bl, al
jmp 0x490809
call fcn.00482feb
test al, al
jne 0x4907ee
push edi
call fcn.004a6f7c
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.0049081e
push edi
mov bl, al
call fcn.004741e6
pop ecx
lea ecx, [ebp - 0x94]
call fcn.00480803
mov al, bl
call fcn.00513e4b
ret 8
Function at 0x4a49f6
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4a4a0a
xor eax, eax
pop ebp
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4a4a1c
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4a4a06
push esi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4a4a37
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4a4a6e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call fcn.004f0560
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x4a4a72
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x4a4a75
xor eax, eax
inc eax
pop esi
pop ebp
ret

Function at 0x4a6993
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x88
mov eax, 0x54e1c0
call fcn.00513ea1
mov esi, ecx
cmp dword [esi + 0x4ec], 0
mov ebx, dword [ebp + 0x14]
je 0x4a6a87
cmp dword [ebp + 8], 0x100
jne 0x4a6a6d
cmp word [ebp + 0xc], 0xd
jne 0x4a6a06
cmp byte [esi + 0x4f2], 0
je 0x4a69e7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4a6a06
cmp byte [esi + 0x4f3], 0
jne 0x4a6a06
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4a69ff
push 0
push 0
push 0
push str.return
push esi
call fcn.0048606d
xor eax, eax
jmp 0x4a6a8a
cmp dword [ebp + 0xc], 0x43
jne 0x4a6a6d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4a6a6d
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.004a51ed
and dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00480d47
lea ecx, [ebp - 0x94]
lea eax, [eax*2 + 2]
push eax
call fcn.004d71d0
mov ecx, dword [esi + 0x40]
push eax
push 0x2042
call fcn.00482bee
push eax
call fcn.004a49f6
add esp, 0x10
lea ecx, [ebp - 0x94]
call fcn.00480803
jmp 0x4a69ff
mov eax, dword [esi + 0x4ec]
push ebx
push dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4a6a8a
xor eax, eax
inc eax
call fcn.00513e4b
ret 0x10
Function at 0x4a6fce
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4a7084
movzx eax, word [esi]
test ax, ax
je 0x4a7084
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x4a700e
cmp ax, 0x5c
jne 0x4a7010
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x4a7002
cmp edi, esi
je 0x4a7057
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.00500d44
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x4a7094
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.004a6fce
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00500d07
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00500c96
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret
call fcn.004746b5
int3

Function at 0x4a7659
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x4a76d5
cmp dword [edi + 4], 0xffffffff
jne 0x4a76d5
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x656b9c
push esi
call fcn.00500c96
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x4a76a7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4a76a7
mov eax, 0x2000000
jmp 0x4a76da
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a9b85
add esp, 0x10
test eax, eax
jne 0x4a76c5
mov eax, dword [ebp - 4]
jmp 0x4a76da
push eax
call fcn.004aa292
mov dword [edi], eax
mov eax, dword [0x678854]
pop ecx
jmp 0x4a76da
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a9c92
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x4a9cc6
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4a9cc1
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4a9ced
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x4a9cd6
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.004f0560
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x4a9e60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4a9e6e
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x4a9f2d
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc40]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc40]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc40]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc40]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc40]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc40]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc40]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc40]
sub edi, 1
jne 0x4a9e86
pop edi
test esi, esi
je 0x4a9f49
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61cc40]
inc edx
sub esi, 1
jne 0x4a9f31
not ecx
mov eax, ecx
pop esi
pop ebp
ret