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

Disassembly:
pushal
call 0x79d91e
pop ebp
sub ebp, 6
sub ebp, 0x39d918
jmp 0x79d97c
jmp 0x79d985
mov eax, 0x39d918
add eax, ebp
add eax, 0x93
mov ecx, 0x61f
mov edx, 0xa54cbc9
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d99c
jmp 0x79d9af
mov dword [0xd9c9a189], eax
leave
leave
mov eax, dword [0xc9e505c9]
dec eax
cmp dword [esi + 0x6f], ecx
sbb eax, 0x4e3948d0
outsd dx, dword [esi]
sbb eax, 0x9909fad0
pop esp
or eax, 0x99c9f969
inc edx
add al, 0x42
inc eax
cmc
leave
leave
leave
dec eax
or byte [ecx], dh
leave
leave
leave
retf 0x7104
Function at 0x401eb8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
mov esi, ecx
cmp dword [esi + 0x58], 0
jne 0x401ed8
call fcn.0041068d
test eax, eax
je 0x401fd9
push edi
mov edi, dword [esi + 0x54]
mov dword [ebp - 0xc], edi
cmp edi, 0x40
jb 0x401fd8
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0xf8]
cmp edi, edx
jb 0x401fd8
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x401fd8
add eax, ecx
cmp edi, dword [eax + 0x54]
jb 0x401fd8
mov esi, dword [esi + 0x58]
xor ecx, ecx
inc ecx
mov dword [ebp - 8], esi
test esi, esi
jne 0x401f2c
movzx ecx, word [eax + 0x16]
and ecx, 0x2000
cmp dword [eax], 0x4550
jne 0x401fd8
test ecx, ecx
je 0x401fd8
test byte [eax + 0x16], 2
je 0x401fd8
movzx ecx, word [eax + 6]
test cx, cx
je 0x401fd8
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x401fd8
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x401fd8
mov esi, dword [eax + 0x74]
xor ecx, ecx
push ebx
test esi, esi
je 0x401fb0
mov edx, dword [eax + ecx*8 + 0x7c]
mov edi, dword [eax + ecx*8 + 0x78]
cmp ecx, 0xe
ja 0x401fa8
movzx ebx, byte [ecx + 0xf81ff0]
jmp dword [ebx*4 + 0xf81fe0]
inc ecx
cmp ecx, esi
jb 0x401f75
mov edi, dword [ebp - 0xc]
movzx ecx, word [eax + 6]
xor edx, edx
test ecx, ecx
jle 0x401fd0
add eax, 0x108
mov esi, dword [eax + 4]
add esi, dword [eax]
cmp esi, edi
ja 0x401fd7
inc edx
add eax, 0x28
cmp edx, ecx
jl 0x401fbf
mov dword [ebp - 4], 1
pop ebx
pop edi
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x40d396
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0xc], eax
jle 0x40d3be
mov edx, dword [ebp + 8]
movsx edx, byte [edx + eax]
add ecx, edx
imul ecx, ecx, 0x401
mov edx, ecx
shr edx, 6
inc eax
xor ecx, edx
cmp eax, dword [ebp + 0xc]
jl 0x40d3a2
imul ecx, ecx, 9
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
pop ebp
ret
Function at 0x4132ef
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 0x50]
mov eax, dword [edx + 0x3c]
add eax, edx
movzx edx, word [eax + 0x14]
push ebx
push esi
lea esi, [eax + edx + 0x18]
movzx eax, word [eax + 6]
xor edx, edx
push edi
mov dword [ebp - 4], eax
test eax, eax
jle 0x413330
lea eax, [esi + 0xc]
mov edi, dword [eax]
cmp dword [ebp + 8], edi
jb 0x413327
mov ebx, dword [eax - 4]
add ebx, edi
cmp dword [ebp + 8], ebx
jb 0x41333d
inc edx
add eax, 0x28
cmp edx, dword [ebp - 4]
jl 0x413316
mov eax, dword [ecx + 0x50]
add eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
imul edx, edx, 0x28
mov eax, dword [esi + edx + 0x14]
sub eax, dword [esi + edx + 0xc]
add eax, dword [ebp + 8]
add eax, dword [ecx + 0x50]
jmp 0x413336
Function at 0x4146c3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x414702
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x414702
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x414702
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x414702
cmp dword [ecx + 0x74], 0xe
jbe 0x414702
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x426ae0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426b0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426b0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4019f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x4019ff
push esp
mov dword [ebp - 0x24], 0x40171b
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a9e
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a7f
pop ebp
ret 0x10
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40645d
pop dword [ebp - 0x24]
mov eax, 0xa57aee90
sub eax, 0xa53a8a33
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x94563981
sub dword [ebp - 0x34], 0x4603f436
mov dword [ebp - 0x30], 0x106c5ad5
sub dword [ebp - 0x30], 0xde390e90
mov dword [ebp - 0x2c], 0x481b1a39
add dword [ebp - 0x2c], 0x43129f5
mov dword [ebp - 0x28], 0xa791885e
sub dword [ebp - 0x28], 0xa791885e
lea eax, [ebp - 0x34]
push eax
mov eax, 0xd6f7e90a
add eax, 0x2948976e
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x5017f606
sub dword [ebp - 0x34], 0xdba58cb0
mov dword [ebp - 0x30], 0x412b3965
sub dword [ebp - 0x30], 0xffbed7f0
mov dword [ebp - 0x2c], 0x30629050
sub dword [ebp - 0x2c], 0xccf323e4
mov dword [ebp - 0x28], 0xdd473994
add dword [ebp - 0x28], 0x22b8c66c
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x7898a6b9
sub eax, 0x7858263d
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3bbf7
push 0
call eax
mov ecx, 0x5ac8
mov edx, eax
mov esi, 0xe5b2b2fa
sub esi, 0xe56d9efa
add esi, dword [ebp - 0x24]
mov ebx, 0x93bb583a
sub ebx, 0x641c5815
sub dword [ebp - 0x10], 0xe6ef3d2
mov edi, dword [esi]
add dword [ebp - 0x14], ebx
sub edi, ebx
sub dword [ebp - 0x14], 0xe60e8d76
mov dword [edx], edi
xor dword [ebp - 0x20], 0xad0c8202
add edx, 0x8eb8673f
add edx, 0x714798c5
add esi, 0xa878fb8e
sub esi, 0xa878fb8a
loop 0x406579
add eax, 0xf0036b60
sub eax, 0xf0020d6d
xor ebx, ebx
add ebx, eax
add eax, 0xda5a66e9
add eax, 0x25a5991c
mov ecx, 0x370bba74
sub ecx, 0x36cbba74
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

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

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x456ef0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [edx + 0x14]
push ebx
movzx ebx, word [edx + 6]
add eax, 0x18
push esi
add eax, edx
xor esi, esi
push edi
mov edi, ecx
test ebx, ebx
je 0x456f28
nop dword [eax + eax]
mov edx, dword [eax + 0xc]
cmp edi, edx
jb 0x456f20
mov ecx, dword [eax + 8]
add ecx, edx
cmp edi, ecx
jb 0x456f2f
inc esi
add eax, 0x28
cmp esi, ebx
jb 0x456f10
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [eax + 0x14]
sub eax, edx
add eax, edi
add eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x456f40
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push dword [ebp + 8]
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 4], edi
cmp edi, 0xffffffff
je 0x45702b
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
test eax, eax
je 0x457024
push esi
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x45701a
mov eax, 0x5a4d
cmp ax, word [esi]
jne 0x457013
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x457010
push dword [ebp + 0xc]
mov edx, edi
mov ecx, esi
call fcn.004573c0
add esp, 4
test al, al
je 0x456fd3
mov bl, 1
jmp 0x457010
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x457010
push esi
mov edx, edi
call fcn.00456ef0
mov edx, dword [ebp + 0xc]
mov ecx, edi
add edx, 0x18
push edx
push 0x69
push 0x4fecb4
push 0
push eax
push eax
mov edx, esi
call fcn.00457040
add esp, 0x1c
movzx ebx, bl
test al, al
mov ecx, 1
cmovne ebx, ecx
mov edi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4573c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, word [edx + 0x14]
push ebx
movzx ebx, word [edx + 6]
push esi
lea esi, [edx + 0x18]
mov dword [ebp - 0xc], ecx
add esi, eax
xor cl, cl
push edi
xor eax, eax
mov byte [ebp - 1], cl
xor edi, edi
test ebx, ebx
je 0x45741e
nop word [eax + eax]
push esi
push str..rsrc
call fcn.004af963
add esp, 8
test eax, eax
je 0x457413
inc edi
add esi, 0x28
cmp edi, ebx
jb 0x4573f0
mov cl, byte [ebp - 1]
xor esi, esi
xor eax, eax
jmp 0x457420
mov eax, dword [esi + 0x14]
mov esi, dword [esi + 8]
mov cl, byte [ebp - 1]
jmp 0x457420
xor esi, esi
mov ebx, dword [ebp - 0xc]
add ebx, eax
je 0x45751f
lea eax, [esi - 2]
push 2
add eax, ebx
push eax
push 0x4fecc4
call fcn.004b0030
add esp, 0xc
test eax, eax
jne 0x457515
cmp dword [esi + ebx - 6], 1
jne 0x457515
mov eax, dword [esi + ebx - 0xe]
lea edi, [esi - 0xa]
mov ecx, dword [edi + ebx]
sub edi, 8
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
mov edx, dword [edi + ebx]
sub edi, ecx
test byte [esi + 0x24], 1
mov dword [ebp - 0xc], edx
je 0x4574a3
add esi, 0x18
push esi
push ecx
mov ecx, esi
call fcn.00417a50
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, eax
je 0x45749d
sub eax, ecx
push eax
lea eax, [edi + ebx]
push eax
push ecx
call fcn.0047e880
add esp, 0xc
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
sub edi, eax
test byte [esi + 0x24], 4
je 0x4574dd
add esi, 0xc
push esi
push eax
mov ecx, esi
call fcn.00417a50
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, eax
je 0x4574da
sub eax, ecx
push eax
lea eax, [edi + ebx]
push eax
push ecx
call fcn.0047e880
mov esi, dword [ebp + 8]
mov al, 1
add esp, 0xc
mov byte [ebp - 1], al
jmp 0x4574e0
mov esi, dword [ebp + 8]
mov al, byte [ebp - 1]
test byte [esi + 0x24], 2
je 0x457521
push esi
push dword [ebp - 0xc]
mov ecx, esi
call fcn.00417a50
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, eax
je 0x457515
sub edi, dword [ebp - 0xc]
sub eax, ecx
push eax
add edi, ebx
push edi
push ecx
call fcn.0047e880
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4285f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4acc9b
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.004a1cdb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x428672
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049fbed
mov eax, dword [eax]
push 0x4e3cf0
push eax
call fcn.00492354
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a1f66
test bl, bl
je 0x428672
push 0x4e3cf0
lea ecx, [esp + 0xc]
call fcn.004a22f6
push 0x4e3cfc
lea ecx, [esp + 0xc]
call fcn.004a22f6
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 0x4286ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a1f66
jmp 0x428779
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 0x428732
lea edx, [esp + 0x7c]
push 0x4e3cf8
push edx
call fcn.00492354
add esp, 8
test eax, eax
je 0x428732
lea eax, [esp + 0x7c]
push 0x4e3cf4
push eax
call fcn.00492354
add esp, 8
test eax, eax
je 0x428732
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 0x4286c2
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.004a1f66
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 0x428f70
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 0x428fd2
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 0x428fe0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4acd1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f7528]
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 0x429118
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x429046
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1f66
xor eax, eax
jmp 0x42918f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a20a3
push esi
lea ecx, [esp + 0xc]
call fcn.004a2332
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 0x42916d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00428f70
test eax, eax
jne 0x42916d
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 closesocket
mov ecx, edi
call fcn.00428f70
test eax, eax
jne 0x42916d
lea eax, [esp + 0x14]
push 0x4e3d0c
push eax
call fcn.004933d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42914c
lea ecx, [esp + 0x14]
push 0x4e3d08
push ecx
call fcn.00493350
mov esi, eax
add esp, 8
test esi, esi
jne 0x42914c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42914f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a2053
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42905e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1f66
xor eax, eax
jmp 0x42918f
mov byte [esi], 0
push 0x4e3d04
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.004a1f66
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 0x438510
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 0x43857e
cmp si, 0x69
ja 0x43857e
add esi, 0xffd0
cmp si, 0x11
je 0x43854e
push 0x11
call edi
test ax, ax
jge 0x43854e
or esi, 0x2000
cmp si, 0x10
je 0x438563
push 0x10
call edi
test ax, ax
jge 0x438563
or esi, 0x4000
cmp si, 0x12
je 0x438578
push 0x12
call edi
test ax, ax
jge 0x438578
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43858b
mov esi, 0xbd
jmp 0x43853f
cmp si, 0x6e
jne 0x438598
mov esi, 0xbe
jmp 0x43853f
cmp si, 0x6f
jne 0x438539
mov esi, 0xbf
jmp 0x43853f

Function at 0x439e00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x508028]
xor edx, edx
cmp eax, edx
jne 0x439e26
xor eax, eax
mov byte [eax + 0x507f28], al
inc eax
cmp eax, 0x100
jl 0x439e0e
mov dword [0x508028], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x507f28
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x439eb7
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 0x439e8a
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 0x439e58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x439f30
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 0x439f83
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 0x439f6a
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
Function at 0x440f90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x441128
cmp ebp, ebx
jle 0x441128
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x440fee
dec eax
or eax, 0xfffffff8
inc eax
je 0x440ff5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x441004
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44100b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004a1ca7
add esp, 4
cmp eax, ebx
je 0x44102c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004a1ca7
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x44111e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x441105
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4410f1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4410e6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4410f4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4410f4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x441090
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x441081
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x444680
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ae208
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x4446b9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004a9609
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004a9655
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00444740
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004a9692
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24