joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4064c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 8], edi
je 0x4064f8
cmp dword [ebp + 0xc], edi
je 0x4064f8
push 0x200
call fcn.00461139
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x406502
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push 0x20119
push edi
push 0x4adb78
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40664a
mov edx, dword [ebp - 8]
push eax
push eax
push eax
push eax
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push edx
mov dword [ebp - 4], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4065e8
mov eax, dword [ebp - 8]
test eax, eax
jne 0x406553
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
push ecx
push 0x20119
push 0
push esi
push eax
call dword [0x5340ec83]
sub esp, 0x40
push ebx
push ebp
push esi
push edi
push 0x20
lea eax, [esp + 0x34]
push eax
call fcn.00408312
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], 0x10
push eax
mov eax, dword [ebp + 8]
call eax
lea eax, [esp + 0x30]
mov dword [esp + 0x10], 0x105
push eax
call fcn.00407f62
mov edi, eax
xor esi, esi
xor edx, edx
test edi, edi
je 0x4065c2
mov ecx, dword [esp + 0x64]
mov ebx, dword [ecx + 0x7c]
movzx ecx, word [esp + edx*2 + 0x30]
inc edx
imul esi, ebx
add esi, ecx
cmp edx, edi
jb 0x4065b3
xor esi, dword [esp + 0x60]
mov eax, dword [ebp]
push esi
call eax
mov eax, dword [esp + 0x60]
add esp, 4
mov dword [eax], esi
mov eax, dword [ebp + 4]
call eax
mov esi, eax
and esi, reloc.OLEAUT32.dll_VariantInit
jns 0x4065e9
dec esi
or esi, 0xfffffff8
inc esi
lea eax, [esp + 0x30]
push eax
call fcn.00407f62
lea edx, [eax + 3]
add edx, esi
xor eax, eax
mov dword [esp + 0x10], edx
nop dword [eax]
lea ecx, [eax + 0x41]
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, 0x1a
jb 0x406602
xor esi, esi
test edx, edx
je 0x40663c
mov edi, dword [esp + 0x58]
lea ebx, [esi + 0x1a]
nop word [eax + eax]
mov eax, dword [ebp + 4]
call eax
xor edx, edx
div ebx
movsx ax, byte [esp + edx + 0x14]
mov word [edi + esi*2], ax
inc esi
cmp esi, dword [esp + 0x10]
jb 0x406622
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x14
int3

Function at 0x407b60
Capabilities:
Encode data using xor

Disassembly:
and al, 4
mov eax, ecx
shr eax, 0x10
mov byte [esp + 5], al
mov eax, ecx
shr eax, 8
mov byte [esp + 7], cl
xor ecx, ecx
mov byte [esp + 6], al
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x407b9a
mov al, byte [esp + ecx + 8]
xor byte [edx + edi], al
lea eax, [ecx + 1]
xor ecx, ecx
inc edx
cmp eax, 4
cmovne ecx, eax
cmp edx, esi
jb 0x407b83
mov eax, dword [esp + 0x230]
mov dword [eax], esi
mov eax, dword [esp + 0x22c]
mov dword [eax], edi
mov al, 1
pop edi
pop esi
add esp, 0x218
ret 0x18
Function at 0x40dd8d
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [0x4c7d00], 0
push dword [eax]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4c7d00], eax
test eax, eax
je 0x40ddf5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40ddf5
push edi
push 0
push 0x49ba10
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x40ddef
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40dddf
push 9
jmp 0x40dde1
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
inc eax
pop edi
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40e406
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x40e429
xor eax, eax
jmp 0x40e463
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00461390
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
push edi
call fcn.0040d7ae
add esp, 0x1c
test eax, eax
je 0x40e425
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00461ffa
leave
ret

Function at 0x40e78c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push 2
push esi
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40e7c6
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40e7d4
lea ecx, [ebp + 8]
call fcn.0040e14c
pop edi
mov eax, esi
pop esi
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
jmp 0x40e7c6

Function at 0x40e7e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0
mov eax, 0x493491
call fcn.00462660
push dword [ebp + 0x10]
movzx eax, word [ebp + 0xc]
xor edi, edi
push eax
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x40e816
lea ecx, [ebp + 0x10]
call fcn.0040e14c
xor eax, eax
call fcn.00462738
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
je 0x40e806
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, edi
je 0x40e806
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
jne 0x40e849
lea ecx, [ebp + 0x10]
call fcn.0040e14c
mov eax, edi
jmp 0x40e810
push ebx
push eax
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push dword [ebp + 8]
push eax
call fcn.00421f6b
pop ecx
pop ecx
call fcn.0040e78c
add esp, 0xc
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x40e83d
Function at 0x4396b9
Capabilities:
Check if file exists
Delete file

Disassembly:
push 8
mov eax, 0x497148
call fcn.00462660
and dword [ebp - 0x14], 0
mov eax, dword [0x4bd024]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
add ecx, 0x1fc
xor edi, edi
push ecx
inc edi
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00413097
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x10]
push 0x49ead8
push eax
call fcn.00413187
mov eax, dword [ebp - 0x10]
add esp, 0xc
push eax
push dword [eax - 8]
mov ecx, esi
call fcn.0040e275
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439725
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.0040e14c
mov eax, esi
call fcn.00462738
ret 4

Function at 0x43995f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov esi, 0x20002
push esi
mov ebx, ecx
call fcn.0045fbe4
push esi
mov edi, eax
push 0
push edi
call fcn.00461390
add esp, 0x10
push 0x10000
push edi
push dword [ebx + 0x220]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 8]
push edi
call fcn.004130cd
push edi
call fcn.00460f5c
mov eax, dword [ebp + 8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43a13c
Capabilities:
Get graphical window text

Disassembly:
push 0x80c
mov eax, 0x49736d
call fcn.004626c9
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x814], eax
mov edi, ecx
mov ecx, dword [0x4bd024]
mov dword [ebp - 0x818], esi
mov dword [esi], ecx
push 0x7fe
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x80e]
xor ecx, ecx
push eax
mov dword [ebp - 0x814], 1
mov word [ebp - 0x810], cx
call fcn.00461390
add esp, 0xc
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor ecx, ecx
mov word [ebp + eax*2 - 0x810], cx
lea eax, [ebp - 0x810]
push eax
mov ecx, esi
call fcn.00411a2b
mov eax, esi
call fcn.0046274c
ret 8
Function at 0x43ae7f
Capabilities:
Hide graphical window

Disassembly:
push 0x20
mov eax, 0x497572
call fcn.00462660
mov edi, ecx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x43b084
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [edi + 0x218], ebx
call fcn.0042783a
mov esi, eax
call fcn.0042d117
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
je 0x43b05c
cmp esi, ebx
je 0x43b05c
lea eax, [ebp - 0x14]
push eax
call fcn.0042c5cf
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00427216
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040e14c
cmp dword [ebp - 0x2c], 0x168
je 0x43b050
push 0x49ec18
lea ecx, [ebp + 8]
call fcn.004130cd
mov eax, dword [ebp - 0x24]
push eax
push dword [eax - 8]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0040e275
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x498
push dword [edi + 4]
call esi
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x49ec08
push dword [ebp - 0x24]
call fcn.00461ee1
pop ecx
pop ecx
push 0x4a4
push dword [edi + 4]
test eax, eax
jne 0x43afad
call esi
push 1
push 0x12
push 0x64
push 0x188
push 0x104
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, 0x4a5
push ebx
push dword [edi + 4]
call esi
push 1
push 0x18
push 0x18
push 0x181
push 0xeb
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4a4
push dword [edi + 4]
call esi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 4]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x43afe8
call esi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 0x4a5
push ebx
push dword [edi + 4]
call esi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 4]
call esi
push 1
push 0
push 0
push 0x181
push 0xeb
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [edi + 0x54], 0
jne 0x43b035
lea ecx, [edi + 0x58]
call fcn.00446d05
push dword [ebp - 0x1c]
push dword [edi + 0x220]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0043995f
push eax
lea ecx, [edi + 0x200]
mov byte [ebp - 4], 4
call fcn.004119d8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e14c
mov ecx, edi
call fcn.00439faf
jmp 0x43b046
mov ecx, edi
mov dword [edi + 0x218], 1
call fcn.0043a021
lea ecx, [ebp + 8]
call fcn.0040e14c
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041aa48
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.0042bb4c
test eax, eax
jne 0x43b077
mov ecx, dword [ebp - 0x10]
push 1
call fcn.0042bb4c
test eax, eax
je 0x43b07a
xor ebx, ebx
inc ebx
push ebx
mov ecx, edi
call fcn.004367b4
jmp 0x43b08a
mov dword [edi + 0x218], ebx
call fcn.00462738
ret 8
Function at 0x44b129
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push edi
push 0x49d91c
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00463072
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x44b1a3
push esi
push 2
push edi
push ebx
call fcn.00468b4b
push ebx
call fcn.00468a5c
push edi
push edi
push ebx
mov esi, eax
call fcn.00468b4b
push esi
call fcn.0045fbe4
mov edi, dword [ebp + 0xc]
push ebx
push esi
push 1
push eax
mov dword [edi], eax
call fcn.004675f3
add esp, 0x30
cmp eax, esi
jne 0x44b190
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov dword [ebp - 4], 1
jmp 0x44b19b
push dword [edi]
call fcn.00460f5c
and dword [edi], 0
pop ecx
push ebx
call fcn.00462d6f
pop ecx
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x491ae0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov ecx, 0x20
xor eax, eax
push esi
mov esi, dword [esp + 0x190]
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x80
push eax
push esi
call fcn.00491720
mov edx, esi
lea ecx, [esp + 0x98]
add esp, 0xc
mov edi, 0x104
lea eax, [esp + 0x8c]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x491b35
mov byte [eax], cl
inc eax
dec edi
jne 0x491b26
jmp 0x491b39
test edi, edi
jne 0x491b3a
dec eax
mov byte [eax], 0
mov ecx, 0x104
lea eax, [esp + 0x8c]
cmp byte [eax], 0
je 0x491b54
inc eax
dec ecx
jne 0x491b49
jmp 0x491b9a
test ecx, ecx
je 0x491b9a
lea edx, [esp + 8]
test edx, edx
je 0x491b69
mov eax, 0x104
sub eax, ecx
jmp 0x491b6d
mov eax, dword [esp + 8]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x8c]
je 0x491b9a
lea esi, [esp + 0xc]
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x491b92
mov byte [eax], cl
inc eax
dec edx
jne 0x491b83
jmp 0x491b96
test edx, edx
jne 0x491b97
dec eax
mov byte [eax], 0
lea edi, [esp + 0x8c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x8c]
push ecx
push eax
push 1
push 0x4c7800
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop edi
pop esi
add esp, 0x188
ret
Function at 0x13cf7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
xor ecx, ecx
add eax, edx
mov dword [ebp - 8], ecx
cmp dword [eax + 0x7c], ecx
je 0x13d74
push ebx
push esi
mov esi, dword [eax + 0x78]
add esi, edx
mov ebx, dword [esi + 0x1c]
push edi
mov edi, dword [esi + 0x20]
add ebx, edx
add edi, edx
mov dword [ebp - 4], ecx
cmp dword [esi + 0x14], ecx
jbe 0x13d71
jmp 0x13d2e
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [edi + eax*4]
add ecx, edx
mov dword [ebp - 0xc], ecx
call fcn.000148aa
mov ecx, dword [ebp - 0xc]
mov edx, eax
call fcn.000148b8
test eax, eax
je 0x13d59
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jb 0x13d2b
jmp 0x13d71
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 4]
lea ecx, [eax + ecx*2]
mov eax, dword [ebp + 8]
movzx ecx, word [ecx + eax]
mov ebx, dword [ebx + ecx*4]
add ebx, eax
mov dword [ebp - 8], ebx
pop edi
pop esi
pop ebx
call fcn.00013cca
sub eax, dword [0x1500c]
mov ecx, 0x7fff
cmp ecx, eax
sbb eax, eax
not eax
and eax, dword [ebp - 8]
leave
ret
Function at 0x425bf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d82bb
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.004cb940
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x425c72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c8657
mov eax, dword [eax]
push 0x7be220
push eax
call fcn.004b9eb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004cbbcb
test bl, bl
je 0x425c72
push 0x7be220
lea ecx, [esp + 0xc]
call fcn.004cbf5b
push 0x7c1db0
lea ecx, [esp + 0xc]
call fcn.004cbf5b
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 0x425cae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004cbbcb
jmp 0x425d79
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 0x425d32
lea edx, [esp + 0x7c]
push 0x7c1dac
push edx
call fcn.004b9eb4
add esp, 8
test eax, eax
je 0x425d32
lea eax, [esp + 0x7c]
push 0x7c1da8
push eax
call fcn.004b9eb4
add esp, 8
test eax, eax
je 0x425d32
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 0x425cc2
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.004cbbcb
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 0x426fd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d841b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7cd458]
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 0x427108
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x427036
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cbbcb
xor eax, eax
jmp 0x42717f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004cbd08
push esi
lea ecx, [esp + 0xc]
call fcn.004cbf97
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7c1de8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42715d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x7c1de0
push closesocket
call fcn.00488cb0
test eax, eax
jne 0x42715d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x7c1dcc
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00488cb0
test eax, eax
jne 0x42715d
lea eax, [esp + 0x14]
push 0x7c1dc4
push eax
call fcn.004baef0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42713c
lea ecx, [esp + 0x14]
push 0x7c1dc0
push ecx
call fcn.004bae70
mov esi, eax
add esp, 8
test esi, esi
jne 0x42713c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42713f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004cbcb8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42704e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cbbcb
xor eax, eax
jmp 0x42717f
mov byte [esi], 0
push 0x7c1dbc
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.004cbbcb
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 0x432756
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x43277e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret
Function at 0x43c9a0
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 0x43ca0e
cmp si, 0x69
ja 0x43ca0e
add esi, 0xffd0
cmp si, 0x11
je 0x43c9de
push 0x11
call edi
test ax, ax
jge 0x43c9de
or esi, 0x2000
cmp si, 0x10
je 0x43c9f3
push 0x10
call edi
test ax, ax
jge 0x43c9f3
or esi, 0x4000
cmp si, 0x12
je 0x43ca08
push 0x12
call edi
test ax, ax
jge 0x43ca08
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43ca1b
mov esi, 0xbd
jmp 0x43c9cf
cmp si, 0x6e
jne 0x43ca28
mov esi, 0xbe
jmp 0x43c9cf
cmp si, 0x6f
jne 0x43c9c9
mov esi, 0xbf
jmp 0x43c9cf

Function at 0x43e480
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7dde78]
xor edx, edx
cmp eax, edx
jne 0x43e4a6
xor eax, eax
mov byte [eax + 0x7ddd78], al
inc eax
cmp eax, 0x100
jl 0x43e48e
mov dword [0x7dde78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7ddd78
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43e537
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 0x43e50a
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 0x43e4d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43e5b0
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 0x43e603
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 0x43e5ea
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 0x445040
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 0x4451d8
cmp ebp, ebx
jle 0x4451d8
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 0x44509e
dec eax
or eax, 0xfffffff8
inc eax
je 0x4450a5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4450b4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4450bb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004cb90c
add esp, 4
cmp eax, ebx
je 0x4450dc
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.004cb90c
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 0x4451ce
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 0x4451b5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4451a1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x445196
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 0x4451a4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4451a4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x445140
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 0x445131
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