joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431320
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x468
mov dl, byte [0x481910]
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x169]
mov byte [esp + 0x168], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x26d]
mov byte [esp + 0x26c], dl
rep stosd dword es:[edi], eax
mov ecx, dword [0x481a90]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x478]
lea edx, [esp + 0x26c]
push eax
push ecx
push 0x4768d4
push edx
xor esi, esi
call ebx
add esp, 0x10
call fcn.0042c280
lea eax, [esp + 0x64]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x63], 0x5c
je 0x4313ca
push 0x104
lea edx, [esp + 0x68]
push 0x4695f4
push edx
call fcn.0042f1f0
add esp, 0xc
push 0x104
lea eax, [esp + 0x68]
push 0x474ed4
push eax
call fcn.0042f1f0
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x2c]
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
push eax
push 0x30
push eax
push eax
push eax
lea eax, [esp + 0x28c]
lea ecx, [esp + 0x84]
push eax
push ecx
mov dword [esp + 0x48], 0x44
mov word [esp + 0x78], 0xa
mov dword [esp + 0x74], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x431465
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea edx, [esp + 0x168]
push esi
push 0x4768a8
push edx
call ebx
lea eax, [esp + 0x174]
push esi
push eax
call fcn.00446e00
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x468
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x431513
cmp eax, 0xffffffff
je 0x431513
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4314f0
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4314f0
mov al, byte [0x481910]
mov ecx, 0x40
mov byte [esp + 0x370], al
xor eax, eax
lea edi, [esp + 0x371]
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x374]
push 0x476880
push ecx
stosb byte es:[edi], al
call ebx
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x370]
push eax
push edx
call fcn.00446e00
add esp, 8
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x468
ret
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x468
ret
Function at 0x433020
Capabilities:
Get common file path

Disassembly:
sub esp, 0x38c
mov dl, byte [0x481910]
push ebp
push esi
push edi
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x191]
mov byte [esp + 0x190], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 1
stosb byte es:[edi], al
call fcn.0042b620
mov ecx, dword [esp + 0x39c]
mov ebp, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push ecx
call fcn.0042f390
add esp, 8
test eax, eax
jne 0x4330ed
lea edx, [esp + 0x190]
push eax
push edx
call fcn.0042ab40
add esp, 8
lea eax, [esp + 0x190]
lea ecx, [esp + 0x8c]
push eax
push 0x476a30
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x3b4]
add esp, 0xc
lea edx, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x8c]
push 0
push ecx
call fcn.00446e00
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x38c
ret
test ebp, ebp
je 0x4330fb
push 0
call fcn.0042b5e0
add esp, 4
lea edx, [esp + 0x294]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [esp + 0x298]
push 0x476634
push eax
call fcn.0042f1f0
mov ecx, dword [esp + 0x3b0]
mov edx, dword [esp + 0x3ac]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x14]
push ecx
push edx
push 0x476a00
push eax
call edi
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x2c]
push 0xea60
lea eax, [esp + 0x2b0]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x34], 0
call fcn.0042af20
add esp, 0x28
test eax, eax
je 0x433184
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4331f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x433196
mov esi, eax
cmp esi, 1
jne 0x4331a0
mov esi, 0x52e
lea edx, [esp + 0x190]
push esi
push edx
call fcn.0042ab40
add esp, 8
lea eax, [esp + 0x190]
lea ecx, [esp + 0x8c]
push eax
push 0x4769d8
push ecx
call edi
mov eax, dword [esp + 0x3b4]
add esp, 0xc
lea edx, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x8c]
push esi
push ecx
call fcn.00446e00
add esp, 8
xor esi, esi
test ebp, ebp
je 0x433202
push 1
call fcn.0042b5e0
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x433211
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x38c
ret
Function at 0x4334d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x370
mov dl, byte [0x481910]
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x27d]
mov byte [esp + 0x27c], dl
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0x481910
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x75]
mov byte [esp + 0x74], dl
mov dword [esp + 0x1c], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x481a90]
lea ecx, [esp + 0x74]
push eax
push 0x473c98
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov ebp, 0x30
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x481a8c]
lea edx, [esp + 0x178]
push 0x104
push edx
push eax
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, dword [esp + 0x384]
cmp dword [ebx], esi
je 0x4335cf
push 0x473c24
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4335cf
push 0x473c0c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x473bf4
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
mov dword [esp + 0x1c], eax
je 0x4335cf
mov ecx, dword [ebx]
push 0
lea edx, [esp + 0x18]
push ecx
push edx
call edi
test eax, eax
je 0x4335cf
mov ebp, 0x430
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push edx
mov edx, dword [ebx]
push ebp
push 0
push 0
lea eax, [esp + 0x90]
push 0
lea ecx, [esp + 0x198]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x433688
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xe9
jne 0x4336cf
push eax
push 0x476a90
call fcn.00446e00
mov eax, dword [esp + 0x20]
add esp, 8
inc eax
cmp eax, 0xc8
mov dword [esp + 0x18], eax
jge 0x4336cf
push 0
call esi
push 0x1f4
call esi
push 0
call esi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push edx
mov edx, dword [ebx]
push ebp
push 0
push 0
lea eax, [esp + 0x90]
push 0
lea ecx, [esp + 0x198]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x43360e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4336ad
cmp eax, 0xffffffff
je 0x4336ad
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x4336c4
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4336c4
push eax
call ecx
mov eax, dword [esp]
add esp, 0x370
ret
lea eax, [esp + 0x178]
lea ecx, [esp + 0x27c]
push eax
push edi
push 0x476a58
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x28c]
push edi
push edx
call fcn.00446e00
add esp, 0x18
mov dword [esp + 0x10], 0
jmp 0x4336ad
Function at 0x4354a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00406100
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.00406110
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 0x238]
mov ecx, 0x28
lea esi, [esp + 0x4c]
lea edi, [esp + 0x18c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18c]
push ecx
push edx
push eax
call fcn.004061b0
mov ecx, dword [esp + 0x254]
add esp, 0x1c
dec ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 4
inc edx
mov dword [esp + 0x10], edx
je 0x43562c
push ebx
push ebp
mov dword [esp + 0x10], 0
mov ebx, 1
lea ebp, [esp + 0x1c]
xor edx, edx
mov ecx, 0x28
mov dword [esp + 0x1c], edx
lea esi, [esp + 0x184]
lea edi, [esp + 0xe4]
mov dword [esp + 0x20], edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], edx
mov ecx, ebx
mov dword [esp + 0x28], edx
mov eax, ebx
shr ecx, 0x10
mov dword [esp + 0x2c], edx
mov byte [esp + 0x31], cl
mov ecx, dword [esp + 0x238]
mov edx, ebx
shr eax, 0x18
shr edx, 8
mov byte [esp + 0x30], al
mov byte [esp + 0x32], dl
test ecx, ecx
mov byte [esp + 0x33], bl
mov eax, 4
jbe 0x4355e9
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
call fcn.004061b0
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x3c]
push eax
push 0x14
push ecx
call fcn.00406260
add esp, 0x18
xor eax, eax
mov dl, byte [esp + eax + 0x30]
mov cl, byte [esp + eax + 0x1c]
xor cl, dl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x14
jb 0x4355b8
mov ecx, 0x28
lea esi, [esp + 0x44]
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
jne 0x43558c
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [esp + 0x240]
jae 0x43560c
mov esi, dword [esp + 0x23c]
mov dl, byte [eax + ebp]
inc ecx
mov byte [eax + esi], dl
inc eax
cmp ecx, 0x14
jb 0x4355ef
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc ebx
add esi, 0x14
sub ebp, 0x14
mov dword [esp + 0x10], esi
lea eax, [ebx - 1]
cmp eax, ecx
jb 0x43552e
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x214
ret 0x1c
Function at 0x435640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x43564b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x43574e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x46184c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x46184c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x46184c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x46184c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x46184c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x46184c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x46184c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x46184c]
xor eax, edx
inc ecx
dec edi
jne 0x435666
pop edi
test esi, esi
je 0x435770
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x46184c]
xor eax, edx
inc ecx
dec esi
jne 0x435752
pop esi
pop ebx
not eax
ret
Function at 0x435fe0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0xc
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
mov edx, dword [eax + 0x4772c0]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x435feb
xor eax, eax
mov ecx, 0x100
mov edx, dword [edi + 4]
mov esi, dword [eax + 0x477308]
mov dword [eax + edx], esi
add eax, 4
dec ecx
jne 0x436005
cmp eax, 0x1000
jl 0x436000
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], eax
mov edx, dword [edi]
xor ebx, ebx
add eax, edx
mov dword [esp + 0x24], eax
lea eax, [esi + 1]
cdq
idiv ebp
lea eax, [esi + 2]
mov bl, byte [edx + ecx]
cdq
idiv ebp
mov bh, byte [esi + ecx]
xor eax, eax
shl ebx, 8
mov al, byte [edx + ecx]
or ebx, eax
lea eax, [esi + 3]
cdq
idiv ebp
xor eax, eax
shl ebx, 8
mov al, byte [edx + ecx]
or ebx, eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
xor edx, ebx
mov dword [eax], edx
lea eax, [esi + 4]
cdq
idiv ebp
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0x48
mov dword [esp + 0x18], eax
mov esi, edx
jl 0x43602e
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.004357e0
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax], ecx
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x436090
mov esi, 4
mov ebx, 0x80
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.004357e0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax - 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov dword [esi + edx], eax
add esi, 8
dec ebx
jne 0x4360c6
cmp esi, 0x1004
jl 0x4360c1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x4361a0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [eax]
mov esi, dword [esp + 0x50]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x54]
push edi
cmp eax, 1
mov dword [ebp + 0xc], edx
jae 0x4361d7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x38
jbe 0x4361e1
mov eax, 0x38
mov ecx, eax
lea edi, [esp + 0x18]
mov edx, ecx
lea ebx, [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
mov dword [esp + 0x58], 0x12
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x12
mov esi, 0x461c4c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x58]
mov ecx, 0x400
mov esi, 0x461c94
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov edi, ebx
xor esi, esi
mov dword [esp + 0x5c], 4
xor ebx, ebx
mov bl, byte [edx]
shl esi, 8
or esi, ebx
inc edx
inc ecx
cmp ecx, eax
jne 0x436244
xor ecx, ecx
lea edx, [esp + 0x18]
mov ebx, dword [esp + 0x5c]
dec ebx
mov dword [esp + 0x5c], ebx
jne 0x43622f
mov ebx, dword [edi]
add edi, 4
xor ebx, esi
mov esi, dword [esp + 0x58]
mov dword [edi - 4], ebx
dec esi
mov dword [esp + 0x58], esi
jne 0x436225
xor edi, edi
lea esi, [ebp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.004362f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x12
jb 0x436271
lea eax, [ebp + 0x58]
mov dword [esp + 0x5c], 4
mov ebx, eax
xor edi, edi
mov esi, ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.004362f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x100
jl 0x4362a7
mov eax, dword [esp + 0x5c]
add ebx, 0x400
dec eax
mov dword [esp + 0x5c], eax
jne 0x4362a3
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
Function at 0x438070
Capabilities:
Copy file
Delete file
Get common file path
Move file

Disassembly:
sub esp, 0x208
lea eax, [esp + 0x104]
push esi
push 0x104
push eax
call fcn.0042b3a0
push 0x104
lea ecx, [esp + 0x114]
push 0x46ddbc
push ecx
call fcn.0042f1f0
lea edx, [esp + 0x11c]
push edx
call fcn.0042b3e0
add esp, 0x18
test eax, eax
jne 0x4380c3
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
add esp, 0x208
ret
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea edx, [esp + 8]
push 0x46ddb0
push edx
call fcn.0042f1f0
add esp, 0xc
call fcn.00445610
test eax, eax
jne 0x438119
lea eax, [esp + 4]
lea ecx, [esp + 0x108]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop esi
add esp, 0x208
ret
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea edx, [esp + 4]
push 1
lea eax, [esp + 0x10c]
push edx
push eax
call esi
test eax, eax
jne 0x438167
lea ecx, [esp + 4]
push eax
lea edx, [esp + 0x10c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x438167
push 4
push eax
lea eax, [esp + 0xc]
push eax
call esi
lea ecx, [esp + 4]
push 4
lea edx, [esp + 0x10c]
push ecx
push edx
call esi
pop esi
add esp, 0x208
ret
Function at 0x4392e0
Capabilities:
Log keystrokes

Disassembly:
mov edx, dword [esp + 4]
push esi
xor ecx, ecx
mov eax, 0x462ccc
cmp dword [eax], edx
je 0x439301
add eax, 4
inc ecx
cmp eax, 0x462e30
jb 0x4392ec
xor eax, eax
pop esi
ret 0xc
mov esi, dword [ecx*4 + 0x462ccc]
call fcn.004455e0
test eax, eax
je case.0x439323.20
lea eax, [esi - 0x11]
cmp eax, 0x94
ja case.0x439323.20
xor ecx, ecx
mov cl, byte [eax + 0x439384]
jmp dword [ecx*4 + 0x439374]
mov esi, 0x10
jmp case.0x439323.20
mov esi, 0x11
jmp case.0x439323.20
mov esi, 0x12
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
jne 0x43934c
mov eax, 2
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x439356
or al, 1
push 0
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push esi
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, 1
pop esi
ret 0xc

Function at 0x439420
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
mov cl, byte [eax]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov byte [esp + 8], al
mov esi, dword [esp + 8]
mov eax, esi
and eax, 0xff
cmp eax, 0xffffffff
jne 0x439448
xor eax, eax
pop esi
ret 8
mov edx, dword [esp + 0xc]
push 0
neg edx
sbb edx, edx
and edx, 0xfffffffe
add edx, 2
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push esi
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, 1
pop esi
ret 8

Function at 0x43ba40
Capabilities:
Log keystrokes

Disassembly:
call fcn.004459b0
test eax, eax
jne 0x43ba52
push eax
call fcn.004458a0
add esp, 4
push esi
push edi
call fcn.00445380
test eax, eax
je 0x43bb0b
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004455e0
push 0
push 0
test eax, eax
push 0
je 0x43babd
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x12
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call edi
push 0
push 0
push 0
push 0xd
call esi
push eax
push 0xd
call edi
push 0
push 2
push 0
push 0xd
call esi
push eax
push 0xd
call edi
push 0
push 2
push 0
push 0x12
call esi
push eax
push 0x12
call edi
pop edi
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0xa5
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0xa5
call edi
push 0
push 0
push 0
push 0xd
call esi
push eax
push 0xd
call edi
push 0
push 2
push 0
push 0xd
call esi
push eax
push 0xd
call edi
push 0
push 2
push 0
push 0xa5
call esi
push eax
push 0xa5
call edi
pop edi
pop esi
ret
Function at 0x43c6b0
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esp + 4]
push esi
lea edx, [esp + 8]
push edi
mov edi, ecx
push edx
mov ecx, dword [esp + 0x14]
push 4
push edi
push 0x43c730
push 0
push 0
mov dword [edi + 0xb28], eax
mov dword [edi + 0xb20], ecx
mov dword [esp + 0x24], 0
call fcn.0045233c
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x43c6f4
pop edi
pop esi
ret 0xc
push 2
push 0
add edi, 4
push 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret 0xc
Function at 0x43edb0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push esi
push 0x800
mov dword [esp + 8], 0x800
call fcn.004520a2
mov esi, eax
add esp, 4
test esi, esi
jne 0x43edd4
pop esi
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push eax
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x43ee03
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call fcn.00451fb9
add esp, 4
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x43f550
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push ebp
push esi
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
mov edx, dword [esi + 0x579c]
push eax
push eax
push 2
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43f5a4
call ebp
cmp eax, 0x7a
je 0x43f5a4
push eax
push 0x47b22c
call fcn.00446e00
add esp, 8
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0xc]
push edi
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov edi, eax
mov eax, dword [esi + 0x579c]
push ecx
push edx
push edi
push 2
push eax
call ebx
test eax, eax
jne 0x43f5e8
call ebp
push eax
push 0x47b210
call fcn.00446e00
add esp, 8
mov dword [esp + 0x14], 0
jmp 0x43f61f
mov eax, dword [edi]
xor ebx, ebx
test eax, eax
jbe 0x43f61f
mov ebp, dword [esp + 0x20]
lea esi, [edi + 8]
mov ecx, dword [esi - 4]
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x43f60b
test byte [esi], 4
jne 0x43f617
mov eax, dword [edi]
inc ebx
add esi, 8
cmp ebx, eax
jb 0x43f5f7
jmp 0x43f61f
mov dword [esp + 0x14], 1
test edi, edi
je 0x43f62a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret