joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f1f8
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x46f215
add esp, 0xfffffff0
call fcn.00403a74
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x46f314
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x46f262
mov eax, esi
call fcn.00404a2c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov edi, eax
mov eax, edi
and eax, 2
cmp eax, 2
je 0x46f253
mov eax, edi
and eax, 1
cmp eax, 1
jne 0x46f262
push 0x20
mov eax, esi
call fcn.00404a2c
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0x80
xor eax, eax
mov al, byte [ebp + 0xc]
mov eax, dword [eax*4 + 0x4c9510]
push eax
push 0
push 3
push 0xc0000000
mov eax, esi
call fcn.00404a2c
push eax
call sub.kernel32.dll_CreateFileA
mov ecx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b7c0
cmp dword [ebx + 4], 0
jge 0x46f2e5
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0040959c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x1c]
call fcn.0040c130
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [0x4ca8a8]
mov dl, 1
mov eax, dword [0x416330]
call fcn.0040ca40
call fcn.00403edc
cmp byte [ebp + 8], 0
je 0x46f2f9
push edi
mov eax, esi
call fcn.00404a2c
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f31b
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404590
ret
Function at 0x46fb74
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x46fc91
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.0046fa3c
pop ecx
test al, al
je 0x46fc6c
mov eax, dword [ebp + 8]
push eax
call fcn.0046f880
pop ecx
test al, al
jne 0x46fc6c
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x138]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x46fc6c
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.0046f8c0
pop ecx
test al, al
je 0x46fc6c
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004047dc
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00408f34
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x180], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x180]
cmp esi, 0xc8
je 0x46fc37
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x46fc6c
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.0046f8c0
pop ecx
test al, al
je 0x46fc6c
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004047dc
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00408f34
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.0046f880
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fc98
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404590
ret
Function at 0x474e18
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x474f6c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x4cbea0]
call fcn.00404a2c
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x474edf
mov dl, 1
mov eax, dword [0x417144]
call fcn.0040370c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x474ecf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x474f78
mov edx, 0x474f78
mov eax, dword [0x4cb668]
call fcn.0046d95c
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474ed6
mov eax, dword [ebp - 0x10]
call fcn.0040373c
ret
push 1
push dword [0x4cbea0]
push 0x474f88
lea edx, [ebp - 0x1c]
mov eax, dword [0x4ca694]
mov eax, dword [eax]
call fcn.0045e2c4
push dword [ebp - 0x1c]
push 0x474f94
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004048ec
mov eax, dword [ebp - 0x18]
call fcn.00404a2c
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov byte [eax + 0x25c], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x1f2], 0
je 0x474f4c
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1f4]
call dword [ebx + 0x1f0]
jmp 0x474f51
call fcn.0046d9ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474f73
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404590
ret

Function at 0x47503c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], edx
xor eax, eax
push ebp
push 0x475127
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [0x4ca694]
mov eax, dword [eax]
call fcn.0045e2c4
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.004094e8
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.0040d648
lea eax, [ebp - 0x144]
mov edx, 0x47513c
call fcn.00404834
mov eax, dword [ebp - 0x144]
call fcn.00404a2c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x475109
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.004047dc
mov eax, dword [ebp - 0x150]
call fcn.00409448
lea eax, [ebp - 0x140]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4750d1
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47512e
lea eax, [ebp - 0x150]
mov edx, 4
call fcn.00404590
ret
Function at 0x47b21c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47b36d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x47b268
cmp dword [ebp - 0x8c], 1
je 0x47b26c
xor ebx, ebx
jmp 0x47b26e
mov bl, 1
mov dl, 1
mov eax, dword [0x46369c]
call fcn.0046376c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b348
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0046380c
test bl, bl
je 0x47b2ab
mov edx, 0x47b384
mov eax, dword [ebp - 4]
call fcn.00463994
jmp 0x47b2b8
mov edx, 0x47b3b8
mov eax, dword [ebp - 4]
call fcn.00463994
lea ecx, [ebp - 0x1a0]
mov edx, 0x47b3f0
mov eax, dword [ebp - 4]
call fcn.00463cf4
mov edx, dword [ebp - 0x1a0]
lea eax, [esi + 0x1c]
call fcn.004045c0
lea ecx, [ebp - 0x1a4]
mov edx, 0x47b408
mov eax, dword [ebp - 4]
call fcn.00463cf4
mov edx, dword [ebp - 0x1a4]
lea eax, [esi + 0x20]
call fcn.004045c0
mov eax, dword [ebp - 4]
call fcn.004637dc
cmp dword [esi + 0x1c], 0
jne 0x47b332
mov dword [ebp - 8], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x19c]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [esi + 0x1c]
lea edx, [ebp - 0x19c]
mov ecx, pe_nt_image_headers32
call fcn.004047dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b34f
mov eax, dword [ebp - 4]
call fcn.0040373c
ret
Function at 0x47e2d0
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 [0x415f88]
call fcn.00405040
xor eax, eax
push ebp
push 0x47e414
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c962c], 0
jne 0x47e323
mov ecx, dword [0x4ca2d0]
mov dl, 1
mov eax, dword [0x407d34]
call fcn.0040ca04
call fcn.00403edc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403130
mov eax, ebx
call fcn.00404df4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47e424
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.004061d4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e04
test eax, eax
jle 0x47e3bb
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 0x47e3b4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004047f4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047dc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c18
test eax, eax
jne 0x47e3b4
mov ebx, 0x15
jmp 0x47e3c0
mov ebx, 0x10
jmp 0x47e3c0
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 [0x4c962c]
call fcn.0047e148
mov eax, dword [ebp - 8]
call fcn.0047e148
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004061ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e41b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404590
lea eax, [ebp - 0x10]
mov edx, dword [0x415f88]
call fcn.00405110
ret

Function at 0x4892b8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x489372
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404c78
mov eax, dword [0x4ca36c]
cmp byte [eax], 0
je 0x489327
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404fd8
mov eax, dword [ebx]
call fcn.00404e04
push eax
mov eax, dword [ebx]
call fcn.00404df4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404e04
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404fd8
jmp 0x489359
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004098f0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489379
lea eax, [ebp - 0x3f0]
call fcn.0040456c
ret
Function at 0x489380
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.004098f0
add esp, 0x3ec
pop ebx
ret

Function at 0x489540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x489606
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00454d54
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004891fc
mov edi, eax
test edi, edi
je 0x48959f
mov al, byte [0x489614]
cmp al, bl
jne 0x48959f
mov edx, edi
mov eax, ebp
call fcn.00489134
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x489606
cmp byte [ebp + 0x161], 2
jne 0x4895ca
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4ca7c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0043f02c
test eax, eax
jne 0x489606
jmp 0x489601
mov edx, dword [0x4ca694]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x489601
test byte [eax + 0x2f4], 8
jne 0x489601
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4ca694]
mov eax, edx
mov edx, 0xb006
call fcn.0043f02c
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48f908
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4ca7c8]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x48f9ae
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x48f94d
cmp eax, dword [esp]
pop edx
pop eax
jae 0x48f989
jmp 0x48f951
pop edx
pop eax
jge 0x48f989
mov eax, dword [0x4ca7c8]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048a334
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x48f9ae
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x48f9ae
cmp dword [ebx + 0x11c], 0
je 0x48f9ae
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00435740
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4968dc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x496996
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404c78
mov eax, dword [0x4ca36c]
cmp byte [eax], 0
je 0x49694b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404fd8
mov eax, dword [ebx]
call fcn.00404e04
push eax
mov eax, dword [ebx]
call fcn.00404df4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404e04
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404fd8
jmp 0x49697d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004098f0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49699d
lea eax, [ebp - 0x3f0]
call fcn.0040456c
ret

Function at 0x499c2c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x499c86
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00499c90
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499c8d
ret

Function at 0x4a04c0
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4a04f6
jmp 0x4a059c
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4a053a
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4a053a
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4a054a
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4a054a
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4a0563
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0049ce4c
jmp 0x4a059c
mov dl, 1
mov eax, dword [0x421720]
call fcn.00423688
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00424040
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00423238
mov edx, esp
mov eax, esi
call fcn.00423d8c
mov eax, esi
call fcn.0040373c
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4a2da0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.004447b0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0043dd98
pop ebx
ret
Function at 0x4ad3e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4ad40e
push 0
mov eax, dword [ebx + 0x94]
call fcn.004447b0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4ad4c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ad639
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4ad61e
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.004098f0
mov dl, 1
mov eax, dword [0x483724]
call fcn.0048377c
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x417144]
call fcn.0040370c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004837f8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4ad61b
mov dl, 1
mov eax, dword [0x484d34]
call fcn.00484d9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x4ad650
call fcn.00483f60
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404878
xor eax, eax
push ebp
push 0x4ad614
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0048509c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ad658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad61b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.0040373c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040373c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040373c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad640
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404590
ret
Function at 0x4b1584
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b15b2
mov eax, ebx
call fcn.004b2038
cmp dword [ebx + 0x40], 0
je 0x4b15ab
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b1623
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b1615
cmp dword [ebx + 8], 0
je 0x4b15d4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4b15e6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b1615
cmp dword [ebx + 8], 0
je 0x4b15c7
cmp eax, 3
je 0x4b15f9
dec eax
jne 0x4b15c7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b15c7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b15c7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b1641
cmp dword [ebx + 0x14], 0xcc
je 0x4b1641
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b164c
pop ebx
ret

Function at 0x4c2474
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407720
ret

Function at 0x4c2e1c
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a1c
mov eax, dword [ebp - 8]
call fcn.00404a1c
mov eax, dword [ebp - 0xc]
call fcn.00404a1c
xor eax, eax
push ebp
push 0x4c2ef9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x4c2f10
call fcn.00404878
lea eax, [ebp - 0x10]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404a2c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4c2ed1
push dword [ebp - 8]
push 0x4c2f58
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004048ec
mov eax, dword [ebp - 0x14]
call fcn.0040482c
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404a2c
push eax
push 1
push 0
push 0x4c2f5c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2f00
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404590
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404590
ret