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

Disassembly:
sub esp, 0x268
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
mov ebp, dword [esp + 0x274]
push esi
push 0x80
push 0x4c79a8
lea eax, [esp + 0x178]
push eax
mov esi, ecx
mov ecx, dword [0x4d95fc]
push 0x4cabcc
push ecx
call fcn.00460eb0
cmp word [esp + 0x170], 0
push 0x100
lea edx, [esp + 0x174]
push edx
setne bl
call fcn.0046a760
push ebp
lea eax, [esp + 0x10]
mov edx, 0x32
test bl, bl
je 0x453fea
push 0x4cabc4
push eax
call fcn.00483770
mov edx, dword [0x4d95fc]
add esp, 0xc
push 0x80
push 0x4c79a8
push esi
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00460eb0
cmp word [esi], 0
jne 0x454069
xor al, al
jmp 0x454130
push str.PE_d
push eax
call fcn.00483770
push 0x100
lea ecx, [esp + 0x80]
push 0
push ecx
call fcn.004b14b0
mov ecx, dword [0x4d95fc]
add esp, 0x18
push 0x100
push 0
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00460f00
test eax, eax
je 0x453fe3
xor ecx, ecx
test eax, eax
jle 0x454041
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x70], dl
inc ecx
cmp ecx, eax
jl 0x454033
push 0x80
push esi
lea eax, [esp + 0x78]
push eax
call fcn.00477fd0
push 0x100
lea edx, [esp + 0x74]
xor ecx, ecx
push edx
mov word [esi + 0xfe], cx
call fcn.0046a760
push edi
push ebp
lea eax, [esp + 0x14]
push 0x4cabb0
push eax
mov edx, 0x32
call fcn.00483770
mov edx, dword [0x4d95fc]
add esp, 0xc
push 0xc8
push 0x4c79a8
lea edi, [esi + 0x100]
push edi
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00460eb0
push ebp
lea eax, [esp + 0x14]
push 0x4caba8
push eax
mov edx, 0x32
call fcn.00483770
mov eax, dword [0x4d95fc]
add esp, 0xc
push 0x400
push 0x4c79a8
lea ecx, [esi + 0x290]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00460eb0
push ebp
lea ecx, [esp + 0x14]
push 0x4caba0
push ecx
mov edx, 0x32
call fcn.00483770
mov eax, dword [0x4d95fc]
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00460ee0
test eax, eax
setne cl
cmp word [edi], 0
mov byte [esi + 0xc20], cl
push 0xc8
je 0x454120
push edi
jmp 0x454121
push esi
add esi, 0xa90
push esi
call fcn.004709a0
mov al, 1
pop edi
mov ecx, dword [esp + 0x270]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x268
ret 4
Function at 0x48bb90
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
call edi
push ebx
mov esi, eax
call edi
mov ebp, dword [esp + 0x38]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push 0x18
push ebp
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [esp + 0x40], eax
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x24]
push 0xcc0020
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov edx, eax
neg edx
push edx
push 0
lea edx, [eax - 1]
push edx
push esi
push ecx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov edx, dword [esp + 0x18]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4

Function at 0x48bd60
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x800], eax
cmp byte [0x52b4c8], 0
push esi
mov esi, dword [esp + 0x80c]
je 0x48bd9d
mov eax, dword [esp + 0x810]
push eax
push esi
push 0x52b4c8
call fcn.00477f50
jmp 0x48be25
push edi
mov edi, dword [esp + 0x814]
push edi
push 0x4c79a8
push esi
push str.TempFolder
push 0x4c7a48
call fcn.00460eb0
xor ecx, ecx
mov word [esp + 8], cx
cmp word [esi], cx
je 0x48bdfa
push 0x400
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x48bde8
push edi
lea eax, [esp + 0xc]
push eax
push esi
call fcn.004709a0
cmp word [esi], 0
je 0x48bdfa
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48be24
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x48be0c
cmp word [esi], 0
jne 0x48be24
mov eax, str._rartemp
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x48be15
pop edi
push esi
call fcn.004561a0
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.004b102c
add esp, 0x804
ret 8
Function at 0x49b000
Capabilities:
Copy file
Move file

Disassembly:
mov eax, 0x202c
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x2028], eax
cmp byte [0x51b789], 0
je 0x49b215
push ebx
push 0x401
lea eax, [esp + 0x828]
push eax
mov ecx, 0x5229e0
call fcn.00413320
push 1
push 0x4c8624
push 0x4c7f2c
call fcn.00460ee0
test eax, eax
setne bl
test bl, bl
je 0x49b075
push 0x400
push 0x4c79a8
lea ecx, [esp + 0x2c]
push ecx
push str.SaveArcFolder
push str.InterfaceMisc
call fcn.00460eb0
cmp word [esp + 0x24], 0
jne 0x49b087
lea edx, [esp + 0x24]
push edx
call fcn.00442d30
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x24]
mov word [esp + eax + 0x1028], cx
add eax, 2
test cx, cx
jne 0x49b090
lea eax, [esp + 0x1028]
push eax
call fcn.004561a0
lea ecx, [esp + 0x824]
push ecx
call fcn.00456820
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b0c1
push esi
push edi
lea edi, [esp + 0x1030]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x49b0e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
push 0
lea edx, [esp + 0x1038]
mov ecx, eax
push edx
and ecx, 3
push 0x5af
rep movsb byte es:[edi], byte [esi]
call fcn.004671c0
push eax
mov eax, dword [0x51c8dc]
push eax
call fcn.00419e00
pop edi
pop esi
test al, al
je 0x49b214
push 0x400
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1030]
push edx
call fcn.00456d60
test bl, bl
je 0x49b157
lea eax, [esp + 0x24]
push eax
push str.SaveArcFolder
push str.InterfaceMisc
call fcn.00460de0
lea eax, [esp + 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b161
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x826], cx
lea eax, [esp + 0x1028]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b184
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x102a], dx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea edx, [esp + 4]
lea eax, [esp + 0x824]
lea ecx, [esp + 0x1028]
push edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x49b214
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push 0x5b0
call fcn.004671c0
push eax
call fcn.0049a620
add esp, 0xc
mov ecx, 0x508304
call fcn.0042cce0
pop ebx
mov ecx, dword [esp + 0x2028]
xor ecx, esp
call fcn.004b102c
add esp, 0x202c
ret
Function at 0x49e120
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1804
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1800], eax
push esi
push 0x1000
push 0
lea eax, [esp + 0x80c]
push eax
push str.rarreg.key
push 0x4c79a8
call fcn.00460f00
mov esi, eax
test esi, esi
je 0x49e1b1
push edi
lea ecx, [esp + 8]
push ecx
push str.Rar_RK
call fcn.0048c630
mov edi, eax
test edi, edi
je 0x49e1a1
push edi
push esi
lea edx, [esp + 0x810]
push 1
push edx
call fcn.004b39f8
push edi
call fcn.004b3dae
add esp, 0x14
lea eax, [esp + 8]
push eax
call fcn.0049adc0
lea ecx, [esp + 8]
push ecx
call fcn.00435da0
push str.rarreg.key
push 0x4c79a8
call fcn.00460a60
pop edi
mov ecx, dword [esp + 0x1804]
pop esi
xor ecx, esp
call fcn.004b102c
add esp, 0x1804
ret

Function at 0x49e1d0
Capabilities:
Copy file
Move file

Disassembly:
mov eax, 0x182c
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1828], eax
push 0
push str.AppDataCopied
push 0x4c7f2c
call fcn.00460ee0
test eax, eax
jne 0x49e388
push esi
push 0x401
lea eax, [esp + 0x82c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x828]
push ecx
mov esi, 0x4cef5c
call fcn.00456820
lea esp, [esp]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x49e230
lea edx, [esp + 0x102c]
push edx
call fcn.00457020
xor eax, eax
pop esi
jmp 0x49e260
movzx ecx, word [esp + eax + 0x1028]
mov word [esp + eax + 0x20], cx
add eax, 2
test cx, cx
jne 0x49e260
lea eax, [esp + 0x20]
push eax
call fcn.004561a0
lea eax, [esp + 0x20]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x49e286
mov ecx, dword [0x4cef5c]
mov edx, dword [0x4cef60]
mov dword [eax], ecx
mov ecx, dword [0x4cef64]
mov dword [eax + 4], edx
mov dx, word [0x4cef68]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x824]
push eax
call fcn.00435ac0
test al, al
je 0x49e377
lea ecx, [esp + 0x20]
push ecx
call fcn.00435ac0
test al, al
jne 0x49e377
lea eax, [esp + 0x824]
lea edx, [eax + 2]
jmp 0x49e2f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49e2f0
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x826], dx
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49e310
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x22], cx
xor eax, eax
mov dword [esp + 8], eax
lea edx, [esp + 0x824]
mov dword [esp + 4], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea edx, [esp]
lea eax, [esp + 0x20]
mov ecx, 0x14
push edx
mov dword [esp + 8], 2
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 1
push str.AppDataCopied
push 0x4c7f2c
call fcn.00460e00
mov ecx, dword [esp + 0x1828]
xor ecx, esp
call fcn.004b102c
add esp, 0x182c
ret
Function at 0x49e3a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x428
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x424], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], 0x41400
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0xc
push 0
lea ecx, [esp + 8]
push ecx
push str.VerInfo
push 0x4c7f2c
call fcn.00460f00
lea edx, [esp + 0x24]
push edx
call fcn.00456fa0
lea eax, [esp + 0x24]
push eax
call fcn.00456ce0
lea eax, [esp + 0x24]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x49e3f8
mov ecx, dword [str.version.dat]
mov edx, dword [0x4cef8c]
mov dword [eax], ecx
mov ecx, dword [0x4cef90]
push esi
mov dword [eax + 4], edx
lea edx, [esp + 0x28]
push 0x4c9388
push edx
mov dword [eax + 8], ecx
mov dword [esp + 0x18], 0
call fcn.004b57d4
mov esi, eax
add esp, 8
test esi, esi
je 0x49e453
push esi
push 0xc
lea eax, [esp + 0x18]
push 1
push eax
call fcn.004b3d1a
push esi
call fcn.004b3dae
add esp, 0x14
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x49e505
mov ecx, dword [esp + 0x10]
push 0xc
cmp ecx, eax
je 0x49e4d1
lea ecx, [esp + 0x20]
push ecx
push str.VerInfo
push 0x4c7f2c
call fcn.00460e60
lea edx, [esp + 0x28]
push 0x4ca078
push edx
call fcn.004b57d4
mov esi, eax
add esp, 8
test esi, esi
je 0x49e4b1
push esi
push 0xc
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004b39f8
push esi
call fcn.004b3dae
add esp, 0x14
mov dword [0x51c028], 0
pop esi
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.004b102c
add esp, 0x428
ret
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
push str.VerInfo
push 0x4c7f2c
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.00460e60
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x49e54f
cmp dword [esp + 0x10], eax
je 0x49e54f
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x28]
push 0x4ca078
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004b57d4
mov esi, eax
add esp, 8
test esi, esi
je 0x49e54f
push esi
push 0xc
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.004b39f8
push esi
call fcn.004b3dae
add esp, 0x14
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
xor eax, eax
push 1
xor esi, esi
sub ecx, edx
push eax
sbb esi, eax
push esi
push ecx
call fcn.004b1ad0
mov ecx, dword [esp + 8]
xor esi, esi
sub eax, ecx
mov ecx, dword [esp + 0x20]
sbb edx, esi
push esi
add eax, ecx
push 0x989680
adc edx, esi
push edx
push eax
call fcn.004b2110
push esi
push 0xe10
push edx
push eax
call fcn.004b2110
push esi
push 0x18
push edx
push eax
call fcn.004b2110
mov dword [0x51c028], eax
test eax, eax
jge 0x49e5b2
mov dword [0x51c028], 0x168
mov ecx, dword [esp + 0x428]
pop esi
xor ecx, esp
call fcn.004b102c
add esp, 0x428
ret
Function at 0x4a3850
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4c636b
mov eax, dword fs:[0]
push eax
mov eax, 0x40ac
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x40a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4da8f0]
xor eax, esp
push eax
lea eax, [esp + 0x40c0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x40d4]
mov ebp, dword [esp + 0x40d0]
push eax
call fcn.00456820
mov ebx, eax
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a38b0
sub eax, edx
mov ecx, ebx
sar eax, 1
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4a38c4
sub ecx, esi
sar ecx, 1
lea eax, [ecx + eax + 1]
cmp eax, 0x800
jae 0x4a3a72
lea edx, [esp + 0x10bc]
mov eax, edi
sub edx, edi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a38f0
lea ecx, [esp + 0x10bc]
push ecx
call fcn.004561a0
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a3910
lea edi, [esp + 0x10bc]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4a3930
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4a3930
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.004710c0
mov dword [esp + 0x40c8], 0
push 0x1000
push 0x4c79a8
lea edx, [esp + 0x20c4]
push edx
push str.ViewerIgnoreModifications
push 0x4c8324
call fcn.00460eb0
cmp word [esp + 0x20bc], 0
je 0x4a39a2
push 0
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x20c8]
push ecx
call fcn.004714c0
push 0x400
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x1c]
call fcn.00471480
test al, al
je 0x4a3a5e
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x4a39d0
push 0x400
lea eax, [esp + 0x8c0]
push eax
lea ecx, [esp + 0xc4]
push ecx
call edi
lea edx, [esp + 0x8be]
push 0x4cf310
push edx
call fcn.004b4526
mov esi, eax
add esp, 8
test esi, esi
je 0x4a3a9e
xor eax, eax
mov word [esi], ax
add esi, 4
cmp word [esi], ax
jne 0x4a3a18
mov esi, 0x4c7f44
push 4
push ebp
lea ecx, [esp + 0x8c4]
push ecx
call fcn.0044c4e0
test al, al
je 0x4a3a40
push 4
lea edx, [esp + 0x10c0]
push edx
push esi
call fcn.0044c4e0
test al, al
jne 0x4a3aa7
push 0x400
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x1c]
call fcn.00471480
test al, al
jne 0x4a39d0
mov dword [esp + 0x40c8], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401bb0
xor al, al
mov ecx, dword [esp + 0x40c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40a8]
xor ecx, esp
call fcn.004b102c
add esp, 0x40b8
ret 8
lea esi, [esp + 0x8bc]
jmp 0x4a3a2c
mov dword [esp + 0x40c8], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401bb0
mov al, 1
jmp 0x4a3a74
Function at 0x41c1c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a9db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047d3c0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c242
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047aa6a
mov eax, dword [eax]
push 0x5c41f0
push eax
call fcn.0046d624
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047d64b
test bl, bl
je 0x41c242
push 0x5c41f0
lea ecx, [esp + 0xc]
call fcn.0047da27
push 0x5c7d58
lea ecx, [esp + 0xc]
call fcn.0047da27
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41c27e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047d64b
jmp 0x41c349
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41c302
lea edx, [esp + 0x7c]
push 0x5c7d54
push edx
call fcn.0046d624
add esp, 8
test eax, eax
je 0x41c302
lea eax, [esp + 0x7c]
push 0x5c7d50
push eax
call fcn.0046d624
add esp, 8
test eax, eax
je 0x41c302
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41c292
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047d64b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41cb40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41cba2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41cbb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48aa5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5cecd8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41cce8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41cc16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047d64b
xor eax, eax
jmp 0x41cd5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047d7d4
push esi
lea ecx, [esp + 0xc]
call fcn.0047da63
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41cd3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0041cb40
test eax, eax
jne 0x41cd3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.0041cb40
test eax, eax
jne 0x41cd3d
lea eax, [esp + 0x14]
push 0x5c7d6c
push eax
call fcn.0046e7d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cd1c
lea ecx, [esp + 0x14]
push 0x5c7d68
push ecx
call fcn.0046e750
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cd1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41cd1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047d784
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41cc2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047d64b
xor eax, eax
jmp 0x41cd5f
mov byte [esi], 0
push 0x5c7d64
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0047d64b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x430340
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4303ae
cmp si, 0x69
ja 0x4303ae
add esi, 0xffd0
cmp si, 0x11
je 0x43037e
push 0x11
call edi
test ax, ax
jge 0x43037e
or esi, 0x2000
cmp si, 0x10
je 0x430393
push 0x10
call edi
test ax, ax
jge 0x430393
or esi, 0x4000
cmp si, 0x12
je 0x4303a8
push 0x12
call edi
test ax, ax
jge 0x4303a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4303bb
mov esi, 0xbd
jmp 0x43036f
cmp si, 0x6e
jne 0x4303c8
mov esi, 0xbe
jmp 0x43036f
cmp si, 0x6f
jne 0x430369
mov esi, 0xbf
jmp 0x43036f

Function at 0x431b70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5dfb10]
xor edx, edx
cmp eax, edx
jne 0x431b96
xor eax, eax
mov byte [eax + 0x5dfa10], al
inc eax
cmp eax, 0x100
jl 0x431b7e
mov dword [0x5dfb10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5dfa10
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x431c27
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x431bfa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x431bc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x431ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x431cf3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x431cda
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret