joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e740
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
mov al, byte [0x518699]
test al, al
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
je 0x46e820
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push edx
push 0x5d5e3a
push ecx
call fcn.004d1ac0
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push 0x5d5e3d
lea edx, [ebp - 0x48]
push edx
call fcn.004d1ac0
add esp, 0xc
mov ecx, dword [ebp + 0x14]
push ecx
push 0x5d5e40
lea eax, [ebp - 0x68]
push eax
call fcn.004d1ac0
add esp, 0xc
mov edx, dword [ebp + 0x18]
push edx
push 0x5d5e43
lea ecx, [ebp - 0x88]
push ecx
call fcn.004d1ac0
add esp, 0xc
mov eax, dword [ebp + 0x1c]
push eax
push 0x5d5e46
lea edx, [ebp - 0xa8]
push edx
call fcn.004d1ac0
add esp, 0xc
test byte [0x514ff1], 4
je 0x46e7eb
push 0x5d5e51
push 0x5d5e49
push 0x514ff4
call fcn.00451068
add esp, 0xc
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xa8]
push ecx
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x141
call fcn.00462598
add esp, 0x2c
jmp 0x46e946
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x46e837
push 0
push 0
push 0xb8
push 0x12
call sub.USER32.dll_keybd_event
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x46e84e
push 0
push 0
push 0x9d
push 0x11
call sub.USER32.dll_keybd_event
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46e865
push 0
push 0
push 0xaa
push 0x10
call sub.USER32.dll_keybd_event
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x46e879
push 0
push 0
push 0
push 9
call sub.USER32.dll_keybd_event
mov esi, ebx
mov bl, byte [esi]
test bl, bl
je 0x46e8c0
push ebx
call sub.USER32.dll_VkKeyScanA
mov ebx, eax
xor eax, eax
mov byte [ebp - 1], 0
xor edi, edi
test bl, bl
mov dword [ebp - 8], eax
je 0x46e8a7
mov edx, dword [ebp - 8]
push edx
push edi
mov cl, byte [ebp - 1]
push ecx
push ebx
call sub.USER32.dll_keybd_event
test bl, bl
je 0x46e8bd
mov eax, dword [ebp - 8]
or edi, 2
push eax
push edi
mov dl, byte [ebp - 1]
push edx
push ebx
call sub.USER32.dll_keybd_event
inc esi
jmp 0x46e87b
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x46e8d4
push 0
push 2
push 0
push 9
call sub.USER32.dll_keybd_event
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46e8eb
push 0
push 2
push 0xb8
push 0x12
call sub.USER32.dll_keybd_event
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x46e902
push 0
push 2
push 0x9d
push 0x11
call sub.USER32.dll_keybd_event
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46e919
push 0
push 2
push 0xaa
push 0x10
call sub.USER32.dll_keybd_event
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x46e92d
push 0
push 0
push 0
push 0xd
call sub.USER32.dll_keybd_event
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x46e941
push 0
push 2
push 0
push 0xd
call sub.USER32.dll_keybd_event
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470308
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ebx, ebx
mov byte [ebp - 1], 0
push 0x5d62b5
lea eax, [ebp - 0x108]
push eax
call fcn.004d1ac0
add esp, 8
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x108]
push 1
push 0x104
push edx
push 0x5d6301
push ecx
push 0x80000002
call fcn.00406a20
add esp, 0x18
test eax, eax
je 0x470572
mov esi, 0x5d6307
lea edi, [ebp - 0x108]
mov eax, edi
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x108]
push edx
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004cd568
add esp, 8
test eax, eax
jne 0x470572
push 0x5d6341
lea eax, [ebp - 0x108]
push eax
call fcn.004d1ac0
add esp, 8
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x108]
push 1
push 0x104
push edx
push 0x5d6377
push ecx
push 0x80000001
call fcn.00406a20
add esp, 0x18
test eax, eax
je 0x470572
push 0
push 0x2001
push 0x5d637d
lea eax, [ebp - 0x108]
push eax
call fcn.004530bc
add esp, 0x10
push 0x5d6387
lea edx, [ebp - 0x108]
push edx
call fcn.004cd308
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004cd3e4
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.004cd600
add esp, 0xc
test eax, eax
jne 0x470572
lea ecx, [ebp - 0x108]
push ecx
call fcn.004cd3e4
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.004cd600
add esp, 0xc
test eax, eax
jne 0x470459
mov bl, 1
push 0x5d638f
lea eax, [ebp - 0x108]
push eax
call fcn.004d1ac0
add esp, 8
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x108]
push 1
push 0x104
push edx
push 0x5d63c9
push ecx
push 0x80000001
call fcn.00406a20
add esp, 0x18
test eax, eax
je 0x470572
push 0
push 0x2001
push 0x5d63cf
lea eax, [ebp - 0x108]
push eax
call fcn.004530bc
add esp, 0x10
push 0x5d63d9
lea edx, [ebp - 0x108]
push edx
call fcn.004cd308
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004cd3e4
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.004cd600
add esp, 0xc
test eax, eax
jne 0x470572
lea ecx, [ebp - 0x108]
push ecx
call fcn.004cd3e4
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.004cd600
add esp, 0xc
test eax, eax
jne 0x47051f
mov byte [ebp - 1], 1
mov cl, byte [ebp - 1]
cmp bl, cl
je 0x470572
mov byte [ebp + 8], bl
mov al, byte [ebp + 8]
test al, al
je 0x470552
test byte [0x514ff1], 4
je 0x470572
push 0x5d63ef
push 0x5d63e1
push 0x514ff4
call fcn.00451068
add esp, 0xc
jmp 0x470572
test byte [0x514ff1], 4
je 0x470572
push 0x5d6403
push 0x5d63f5
push 0x514ff4
call fcn.00451068
add esp, 0xc
mov al, byte [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470fb8
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
add esp, 0xfffffcf4
push 0x5d65b2
lea eax, [esp + 4]
push eax
call fcn.004d1ac0
add esp, 8
push 0x5d65fe
lea edx, [esp + 0x20c]
push edx
call fcn.004d1ac0
add esp, 8
push 1
push 0x104
lea ecx, [esp + 0x10c]
push ecx
push 0x5d6638
lea eax, [esp + 0x10]
push eax
push 0x80000002
call fcn.00406a20
add esp, 0x18
test eax, eax
je 0x47102f
lea edx, [esp + 0x208]
push edx
lea ecx, [esp + 0x108]
push ecx
call fcn.004cd568
add esp, 8
test eax, eax
jne 0x47102f
mov al, 1
jmp 0x47105a
push 1
lea edx, [esp + 0x20c]
push edx
push 0x5d663e
lea ecx, [esp + 0xc]
push ecx
push 0x80000002
call fcn.00406a5c
add esp, 0x14
test eax, eax
je 0x471058
mov al, 1
jmp 0x47105a
xor eax, eax
add esp, 0x30c
ret
Function at 0x47a978
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x594360
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.004cfcb8
mov word [ebp - 0x14], 8
call fcn.00401270
mov word [ebp - 0x14], 8
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x28]
push edx
push 0x4004667f
push esi
call sub.WSOCK32.dll_ioctlsocket
inc eax
jne 0x47a9d3
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47a9d3
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47aa3f
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x47aa04
call fcn.00401270
sub eax, ebx
cmp eax, 0x2710
jbe 0x47a9f6
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47aa3f
push 0
push 0
call fcn.004013d8
add esp, 8
jmp 0x47a9a6
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47aa3f
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret

Function at 0x47aa4c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x594374
push ebx
push esi
push edi
call fcn.004cfcb8
mov word [ebp - 0x14], 8
xor edx, edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
push ecx
push 0x4004667f
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_ioctlsocket
inc eax
jne 0x47aaa0
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47aaa0
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47aaf2
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x47aab8
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47aaf2
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47aaf2
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret
Function at 0x47ab00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x594388
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.004cfcb8
xor ebx, ebx
xor esi, esi
call fcn.00401270
mov dword [ebp - 0x28], eax
mov word [ebp - 0x14], 8
push edi
call fcn.0047a978
pop ecx
sub eax, 0xffffffff
je 0x47ab3c
dec eax
je 0x47aba5
dec eax
je 0x47ab4d
jmp 0x47ab4d
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ac0a
push 0
mov ecx, dword [ebp + 0x10]
sub ecx, ebx
push ecx
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
push edi
call sub.WSOCK32.dll_recv
mov esi, eax
test esi, esi
jne 0x47ab78
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ac0a
cmp esi, 0xffffffff
jne 0x47aba5
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47ab97
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ac0a
push 0
push 0
call fcn.004013d8
add esp, 8
xor esi, esi
add ebx, esi
mov eax, dword [ebp + 0x10]
cmp ebx, eax
je 0x47abd1
call fcn.00401270
mov edx, dword [ebp - 0x28]
sub eax, edx
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jbe 0x47ab28
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ac0a
mov eax, ebx
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47ac0a
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret

Function at 0x47ac38
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x59439c
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
call fcn.004cfcb8
xor ebx, ebx
call fcn.00401270
mov word [ebp - 0x14], 8
mov edi, eax
push 0
mov eax, esi
sub eax, ebx
push eax
mov edx, dword [ebp + 0xc]
add edx, ebx
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
jne 0x47aca0
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x47ac92
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47acfe
push 0
push 0
call fcn.004013d8
add esp, 8
xor eax, eax
add ebx, eax
cmp esi, ebx
je 0x47acc2
call fcn.00401270
sub eax, edi
cmp eax, 0x2710
jbe 0x47ac5d
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47acfe
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47acfe
mov esp, ebp
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
pop ebp
ret
Function at 0x47bdfc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x594544
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.004cfcb8
mov word [ebp - 0x14], 8
push 0
call sub.KERNEL32.dll_Sleep
test ebx, ebx
jne 0x47be42
push ebx
push 0x5d7a59
call fcn.0047b690
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47bf4b
mov ecx, dword [ebx + 4]
cmp ecx, 0x18b6
je 0x47be6c
push ebx
push 0x5d7a64
call fcn.0047b690
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47bf4b
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x47bebc
xor eax, eax
mov dword [ebx + 0xc], eax
push 0xfe
call fcn.004ccdc0
pop ecx
mov esi, eax
call fcn.00401270
mov ecx, ebx
xor esi, eax
or esi, 1
mov eax, 0x14
mov dword [ebx + 0x10], esi
lea edx, [ecx + 0x14]
movsx ecx, byte [edx]
add dword [ebx + 0xc], ecx
inc eax
mov cl, byte [ebx + 0x10]
xor byte [edx], cl
inc edx
cmp eax, 0x18b6
jne 0x47be9c
xor eax, eax
mov edx, dword [ebx + 0xc]
sub eax, edx
mov dword [ebx + 0xc], eax
jmp 0x47befe
mov dl, byte [ebx + 0xc]
mov ecx, ebx
mov eax, 0x14
lea esi, [ecx + 0x14]
mov cl, byte [ebx + 0x10]
inc eax
xor byte [esi], cl
add dl, byte [esi]
inc esi
cmp eax, 0x18b6
jne 0x47bec9
test dl, dl
je 0x47bef9
push ebx
push 0x5d7a6f
call fcn.0047b690
add esp, 8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x47bf4b
xor eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [ebx]
test eax, eax
je 0x47bf0b
mov ebx, eax
jmp 0x47be18
mov word [ebp - 0x14], 0
jmp 0x47bf32
mov dword [0x4dc074], 0x160
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
pop ebp
ret

Function at 0x48461c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x595048
push ebx
push esi
push edi
call fcn.004cfcb8
xor edx, edx
mov dword [0x594fec], 1
mov dword [ebp - 0x28], edx
mov ecx, dword [0x594fe8]
mov word [ebp - 0x14], 8
test ecx, ecx
je 0x4846a4
xor esi, esi
mov ebx, 0x594e9c
mov eax, dword [ebx]
test eax, eax
je 0x48469b
push eax
call sub.USER32.dll_IsWindow
test eax, eax
je 0x48467d
push 0
mov edx, dword [ebx]
push edx
call sub.USER32.dll_ShowWindow
push 0
push 0
push 0x10
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_PostMessageA
xor eax, eax
xor edx, edx
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor ecx, ecx
xor eax, eax
mov dword [ebx + 8], ecx
xor edx, edx
mov dword [ebx - 8], eax
mov dword [ebx - 4], edx
dec dword [0x594fe8]
inc esi
add ebx, 0x14
cmp esi, 0x10
jne 0x484655
mov word [ebp - 0x14], 0
xor ecx, ecx
mov dword [0x594fec], ecx
jmp 0x4846d7
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret
Function at 0x484834
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0x59546c
call fcn.004cfcb8
xor edx, edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
push edi
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
je 0x484876
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48492e
push 0x1f8
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
jne 0x484894
push 0x1f7
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
jne 0x4848a5
push 0x1f6
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
jne 0x4848b6
push 0x1f5
push esi
call sub.USER32.dll_GetDlgItem
mov ebx, eax
test ebx, ebx
jne 0x4848c8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48492e
push 0xfffffffffffffff4
push ebx
call sub.USER32.dll_GetWindowLongA
push eax
push 0xffffffffffffffeb
push ebx
call sub.USER32.dll_SetWindowLongA
push edi
push 0xfffffffffffffff4
push ebx
call sub.USER32.dll_SetWindowLongA
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
call sub.USER32.dll_SetWindowTextA
push 5
push ebx
call sub.USER32.dll_ShowWindow
mov word [ebp - 0x14], 0
jmp 0x48491f
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret

Function at 0x48493c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x595480
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.004cfcb8
xor edx, edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
test ebx, ebx
jne 0x48496f
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4849cd
push 0xffffffffffffffeb
push ebx
call sub.USER32.dll_GetWindowLongA
push eax
push 0xfffffffffffffff4
push ebx
call sub.USER32.dll_SetWindowLongA
push 0x5d8f34
push ebx
call sub.USER32.dll_SetWindowTextA
push 0
push ebx
call sub.USER32.dll_ShowWindow
mov word [ebp - 0x14], 0
jmp 0x4849be
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
pop ebp
ret
Function at 0x484e84
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
mov eax, 0x5958a8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.004cfcb8
xor edx, edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x14], 8
push esi
lea edi, [ebp - 0x228]
mov esi, 0x5954a8
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
pop esi
lea edi, [ebp - 0x428]
mov word [ebp - 0x14], 8
push esi
mov esi, 0x5956a8
mov ecx, 0x80
lea eax, [ebp - 0x228]
rep movsd dword es:[edi], dword [esi]
pop esi
push eax
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.004180e0
add esp, 0xc
test eax, eax
je 0x484fd7
lea ecx, [ebp - 0x228]
push ecx
call fcn.004cd3e4
pop ecx
mov ebx, eax
lea eax, [ebp + ebx - 0x228]
movsx edx, byte [eax]
cmp edx, 0x29
jne 0x484f13
mov byte [eax], 0
movsx edx, byte [eax]
cmp edx, 0x2e
je 0x484f4a
cmp edx, 0x2a
jne 0x484f31
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
jmp 0x48500e
test ebx, ebx
jne 0x484f46
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48500e
dec ebx
dec eax
jmp 0x484f08
lea ecx, [ebp - 0x428]
push ecx
push 0x200
push 0xd
mov eax, dword [ebp + 0x10]
push eax
push esi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_SendMessageA
lea edx, [ebp - 0x428]
push edx
call fcn.004cd3e4
pop ecx
mov edx, eax
lea eax, [ebp + edx - 0x428]
movsx ecx, byte [eax]
cmp ecx, 0x2e
jne 0x484f8b
mov byte [eax], 0
jmp 0x484f93
test edx, edx
je 0x484f93
dec edx
dec eax
jmp 0x484f7e
mov al, byte [ebp - 0x428]
test al, al
jne 0x484fae
push esi
lea edi, [ebp - 0x428]
mov eax, edi
mov esi, 0x5d8ffc
movsw word es:[edi], word [esi]
pop esi
lea edx, [ebp - 0x228]
add ebx, edx
push ebx
lea ecx, [ebp - 0x428]
push ecx
call fcn.004cd308
add esp, 8
lea eax, [ebp - 0x428]
push eax
mov edx, dword [ebp + 0x10]
push edx
push esi
call sub.USER32.dll_SetDlgItemTextA
mov word [ebp - 0x14], 0
jmp 0x485002
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x434]
mov esi, dword [ebp - 0x430]
mov ebx, dword [ebp - 0x42c]
pop ebp
ret
Function at 0x487144
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
mov ebx, 1
push 3
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebp + 0x20]
push edx
mov ecx, dword [ebp + 0x1c]
push ecx
mov eax, dword [ebp + 0x18]
push eax
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00486c10
add esp, 0x24
test eax, eax
je 0x4871f8
push ebx
lea ecx, [ebp - 0x200]
push ecx
push 0x5d90e4
lea eax, [ebp - 0x400]
push eax
call fcn.004d1ac0
add esp, 0x10
push 0x200
lea edx, [ebp - 0x400]
push edx
call fcn.00405b9c
add esp, 8
test eax, eax
je 0x4871be
inc ebx
cmp ebx, 0x20
jle 0x487184
test byte [0x514ff0], 0x20
je 0x4871e0
lea ecx, [ebp - 0x400]
push ecx
push 0x5d90f2
push 0x514ff4
call fcn.00451068
add esp, 0xc
push 0
lea eax, [ebp - 0x400]
push eax
call sub.KERNEL32.dll_CreateDirectoryA
dec eax
jne 0x4871f8
mov eax, 1
jmp 0x487201
push 0
call sub.USER32.dll_MessageBeep
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489d68
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
mov eax, 0x595c54
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.004cfcb8
xor eax, eax
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x14], 8
xor edi, edi
xor ebx, ebx
push 0
push 0x5d9444
push ebx
push esi
call fcn.0048392c
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x489e79
lea eax, [ebp - 0x12c]
push eax
push pe_nt_image_headers32
push 0xd
push ebx
call sub.USER32.dll_SendMessageA
lea eax, [ebp - 0x12c]
mov edx, 0x5d944b
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x489deb
test cl, cl
je 0x489deb
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x489deb
add eax, 2
add edx, 2
test cl, cl
jne 0x489dcf
lea eax, [ebp - 0x12c]
mov edx, 0x5d9457
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x489e12
test cl, cl
je 0x489e12
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x489e12
add eax, 2
add edx, 2
test cl, cl
jne 0x489df6
lea eax, [ebp - 0x12c]
mov edx, 0x5d945e
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x489e3d
test cl, cl
je 0x489e39
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x489e3d
add eax, 2
add edx, 2
test cl, cl
jne 0x489e1d
jne 0x489e3d
mov edi, ebx
lea eax, [ebp - 0x12c]
mov edx, 0x5d9469
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x489d95
test cl, cl
je 0x489e6c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x489d95
add eax, 2
add edx, 2
test cl, cl
jne 0x489e48
jne 0x489d95
mov edi, ebx
jmp 0x489d95
test edi, edi
jne 0x489e91
mov eax, 0x1392
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x489f7a
push 0
push 0x5d9477
push 0
push esi
call fcn.0048392c
add esp, 0x10
mov ebx, eax
test ebx, ebx
jne 0x489ebd
mov eax, 0x139c
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x489f7a
push 0
push 0x5d947f
push 0
push esi
call fcn.0048392c
add esp, 0x10
mov ebx, eax
test ebx, ebx
jne 0x489f16
push 0
push 0x5d9484
push 0
push esi
call fcn.0048392c
add esp, 0x10
mov ebx, eax
push 0
push 0x5d948d
push 0
push ebx
call fcn.0048392c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x489f16
mov eax, 0x13b0
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x489f7a
push 0
push ebx
push esi
call fcn.004844bc
add esp, 0xc
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x489f2c
mov ebx, dword [ebp - 0x28]
push 0
push 0
push ebx
push esi
call fcn.004897d8
add esp, 0x10
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x489f7a
mov esp, ebp
mov edi, dword [ebp - 0x138]
mov esi, dword [ebp - 0x134]
mov ebx, dword [ebp - 0x130]
pop ebp
ret
Function at 0x48bd34
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 8]
push eax
call sub.USER32.dll_ShowWindow
pop ebp
ret

Function at 0x48cc84
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
mov ecx, 4
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push esi
push edi
lea edi, [ebp - 0x98]
mov esi, 0x595fec
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [0x595ffc]
mov dword [ebp - 8], eax
mov eax, dword [0x596000]
mov dword [ebp - 4], eax
push esi
call sub.USER32.dll_GetDC
mov ebx, eax
test ebx, ebx
je 0x48cdf9
push 0x80
lea eax, [ebp - 0x88]
push eax
push esi
call sub.USER32.dll_GetWindowTextA
mov eax, dword [0x595fe8]
test eax, eax
je 0x48ccef
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
push 0
push 0x400
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.004cd3e4
pop ecx
push eax
lea ecx, [ebp - 0x88]
push ecx
push ebx
call sub.USER32.dll_DrawTextExA
mov eax, dword [0x595fe8]
test eax, eax
je 0x48cd28
push edi
push ebx
call sub.GDI32.dll_SelectObject
push ebx
push esi
call sub.USER32.dll_ReleaseDC
mov ebx, 8
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
add dword [ebp - 4], 0x19
push 1
call sub.USER32.dll_GetSystemMetrics
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x8c]
add edx, ecx
mov ecx, dword [ebp - 0x94]
sub edx, ecx
add edx, ebx
cmp eax, edx
jge 0x48cd80
push 1
call sub.USER32.dll_GetSystemMetrics
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x94]
sub edx, ecx
add edx, ebx
add edx, 0x21
sub eax, edx
mov dword [ebp - 4], eax
add dword [ebp - 8], 0xa
push 0
call sub.USER32.dll_GetSystemMetrics
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x90]
add edx, ecx
mov ecx, dword [ebp - 0x98]
sub edx, ecx
mov edi, ebx
add edi, edi
add edx, edi
cmp eax, edx
jge 0x48cdc7
push 0
call sub.USER32.dll_GetSystemMetrics
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x98]
sub edx, ecx
add edx, ebx
add edx, 0xa
sub eax, edx
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x94]
sub eax, edx
add eax, ebx
push eax
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x98]
sub eax, ecx
add eax, edi
push eax
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 8]
push edx
push esi
call sub.USER32.dll_MoveWindow
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret