joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4626d4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4626eb
add esp, 0xfffffff0
call fcn.00403d9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423618
mov eax, dword [0x5093cc]
cmp word [eax + 2], 0
jne 0x462713
mov eax, dword [0x5093cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463e54
mov eax, dword [0x509508]
cmp word [eax + 2], 0
jne 0x46272d
mov eax, dword [0x509508]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046404c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00403a08
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00403a08
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425c4c]
call fcn.0042e3b0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4628b4
mov eax, dword [0x509250]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e780
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4645fc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x509250]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040da94
test eax, eax
je 0x462822
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409a24
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dabc
test eax, eax
je 0x462836
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404adc
mov eax, dword [0x509008]
cmp byte [eax], 0
jne 0x46286a
mov eax, ebx
call fcn.004629dc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004647d8
mov eax, ebx
call fcn.0046519c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4628aa
call fcn.00403df4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462c5c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x50abe4]
cmp dword [eax + 0x30], 0
je 0x462d06
cmp dword [ebx + 0x94], 0
jne 0x462d00
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462bec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462d00
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x462cc6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462d00
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a6cc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462cd5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463868
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46389d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040495c
jmp 0x4638aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4649b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4649f5
mov eax, esi
call fcn.0044acd0
test al, al
je 0x4649f5
mov eax, dword [ebx + 0x84]
call fcn.0044a9cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4649f5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a9cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4654a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d1c
xor eax, eax
push ebp
push 0x465519
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b2c
mov esi, eax
test esi, esi
jle 0x4654f9
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00404d84
mov edx, ebx
add dl, 3
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4654dd
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004048c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465520
lea eax, [ebp - 4]
call fcn.0040486c
ret
Function at 0x466ccc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466f2c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x466d2f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00466974
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d5d4
cmp al, 1
jne 0x466d2f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00466c3c
test al, al
je 0x466ebb
cmp dword [ebp - 8], 0
jge 0x466d4d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00466974
mov eax, dword [ebp - 0x210]
call fcn.00404b2c
cmp ebx, eax
jge 0x466d97
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00466974
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x50973c]
and eax, 0xff
bt dword [edx], eax
jae 0x466d97
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x466dab
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00466ca8
cmp ebx, dword [ebp - 8]
je 0x466ead
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x466dd7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c34
and eax, 0x7f
movzx eax, word [eax*2 + 0x506fbc]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x466e9a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c34
and eax, 0x7f
movzx eax, word [eax*2 + 0x506fbc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044a9cc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c34
and eax, 0x7f
movzx eax, word [eax*2 + 0x506fbc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044a9cc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466ea1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x466f0e
cmp dword [ebp - 8], 0
jge 0x466ec6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00466974
mov eax, dword [ebp - 0x218]
call fcn.00404b2c
cmp eax, dword [ebp - 8]
jg 0x466f00
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00466974
mov eax, dword [ebp - 0x21c]
call fcn.00404b2c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00466ca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466f33
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404890
ret
Function at 0x46a7dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004279dc
cmp ebx, dword [ebp - 8]
jge 0x46a83f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427dd8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427dd8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427e04
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x46a805
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x46a848
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004279dc
cmp ebx, dword [ebp - 8]
jge 0x46a8ab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427dd8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427dd8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427e04
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x46a871
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47a428
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 [0x4172a8]
call fcn.0040524c
xor eax, eax
push ebp
push 0x47a56c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5074a0], 0
jne 0x47a47b
mov ecx, dword [0x50902c]
mov dl, 1
mov eax, dword [0x407f60]
call fcn.0040cc8c
call fcn.00404204
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040310c
mov eax, ebx
call fcn.004050fc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47a57c
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.004063bc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040510c
test eax, eax
jle 0x47a513
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 0x47a50c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404af4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404adc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408e0c
test eax, eax
jne 0x47a50c
mov ebx, 0x15
jmp 0x47a518
mov ebx, 0x10
jmp 0x47a518
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 [0x5074a0]
call fcn.0047a380
mov eax, dword [ebp - 8]
call fcn.0047a380
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a573
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404890
lea eax, [ebp - 0x10]
mov edx, dword [0x4172a8]
call fcn.0040531c
ret

Function at 0x4a2cbc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a2d16
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a2cac
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004a0a58
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004a05b0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2d1d
lea eax, [ebp - 4]
call fcn.0040486c
ret
Function at 0x4b4634
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b4755
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x5095b0]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5095b0]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4b476c
call fcn.0040a0c4
mov eax, dword [ebp - 4]
call fcn.004c8f24
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x509258]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x509558]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4b4788
call fcn.0040a0c4
mov eax, dword [ebp - 0x10]
call fcn.004c8f24
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x4b435c
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4b47a8
call fcn.0040a0c4
mov eax, dword [ebp - 0x24]
call fcn.004c8f24
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4b47c0
call fcn.0040a0c4
mov eax, dword [ebp - 0x28]
call fcn.004c8f24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b475c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404890
lea eax, [ebp - 0x10]
call fcn.0040486c
lea eax, [ebp - 4]
call fcn.0040486c
ret
Function at 0x4c0024
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov edi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045aebc
mov ebx, eax
mov dx, word [edi + 4]
mov eax, ebp
call fcn.004bfed0
mov esi, eax
test esi, esi
je 0x4c0071
mov al, byte [0x4c0084]
cmp al, bl
jne 0x4c0071
mov edx, esi
mov eax, ebp
call fcn.004bfe78
mov dword [edi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4c0079
mov edx, edi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4c30c0
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.00409bd4
add esp, 0x3ec
pop ebx
ret

Function at 0x4c448c
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 [ebx + 0xec]
mov eax, dword [eax + 0x34]
call fcn.00455f48
mov edi, eax
dec edi
test edi, edi
jl 0x4c453f
inc edi
xor esi, esi
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00455f58
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4c44d6
je 0x4c44f7
dec eax
je 0x4c4518
jmp 0x4c4537
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00455f58
cmp byte [ebx + 0x15c], 0
setne dl
call fcn.00455e74
jmp 0x4c4537
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00455f58
cmp byte [ebx + 0x15c], 1
setne dl
call fcn.00455e74
jmp 0x4c4537
mov eax, dword [ebx + 0xec]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00455f58
cmp byte [ebx + 0x15c], 2
setne dl
call fcn.00455e74
inc esi
dec edi
jne 0x4c44b7
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x4c4564
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4c45c5
jmp 0x4c4568
pop edx
pop eax
jge 0x4c45c5
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x130]
test byte [eax + 0x50], 2
je 0x4c45a1
cmp byte [ebx + 0x159], 2
je 0x4c45a1
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xec]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4c45e1
push 0
mov eax, dword [ebx + 0x124]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0xfc]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4c45e1
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.004345c8
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x124]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4cd788
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 0x4cd8d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x88], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4cd8b7
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.00409bd4
mov dl, 1
mov eax, dword [0x4b3214]
call fcn.004b326c
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov dl, 1
mov eax, dword [0x418698]
call fcn.00403a08
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.004b32e8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4cd8b4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, 0x4cd8e8
call fcn.004b3634
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404b78
xor eax, eax
push ebp
push 0x4cd8ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.0041d5b0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004cd8f0
mov eax, dword [ebp - 0xc]
call fcn.0040973c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd8b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.00403a38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00403a38
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd8d9
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404890
ret

Function at 0x4cf0f8
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov eax, dword [0x509348]
cmp byte [eax], 0
je 0x4cf1c0
cmp dl, byte [esi + 0x62]
je 0x4cf1c0
mov eax, edx
mov byte [esi + 0x62], al
test byte [esi + 0x1c], 0x10
jne 0x4cf1c0
test al, al
je 0x4cf172
mov dl, 1
mov eax, esi
call fcn.004a8d58
mov eax, dword [0x5094cc]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
push 0
mov eax, dword [0x5094cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5094cc]
mov eax, dword [eax]
call fcn.00463ba8
mov eax, esi
call fcn.004cf804
xor edx, edx
mov eax, esi
call fcn.004cf2ec
mov dl, 1
mov eax, esi
call fcn.004cf98c
jmp 0x4cf1c0
mov eax, esi
call fcn.004a8e90
xor edx, edx
mov eax, esi
call fcn.004a8d58
mov eax, dword [0x5094cc]
mov eax, dword [eax]
mov byte [eax + 0x5b], 1
push 1
mov eax, dword [0x5094cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov dx, 2
mov eax, esi
call fcn.004cf2ec
mov dl, byte [esi + 0x8c]
mov eax, esi
call fcn.004cf944
xor edx, edx
mov eax, esi
call fcn.004a8d58
pop esi
ret
Function at 0x4d1390
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4d13e1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4d13c8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4d13b8
jmp 0x4d13e1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4d13c9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e1c78
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e1ca6
mov eax, ebx
call fcn.004e272c
cmp dword [ebx + 0x40], 0
je 0x4e1c9f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e1d17
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e1d09
cmp dword [ebx + 8], 0
je 0x4e1cc8
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 0x4e1cda
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e1d09
cmp dword [ebx + 8], 0
je 0x4e1cbb
cmp eax, 3
je 0x4e1ced
dec eax
jne 0x4e1cbb
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 0x4e1cbb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e1cbb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e1d35
cmp dword [ebx + 0x14], 0xcc
je 0x4e1d35
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.004e1d40
pop ebx
ret
Function at 0x4fb058
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4fb134
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000013
mov eax, dword [esi + 0x18]
push eax
call fcn.004f2b40
test eax, eax
je 0x4fb10e
mov eax, ebx
call fcn.004fac54
mov eax, ebx
call fcn.004fbc0c
mov edx, dword [ebp - 4]
call fcn.004f3a48
mov eax, ebx
call fcn.004fbc0c
cmp dword [eax + 0x1c], 0x190
jl 0x4fb11e
mov eax, ebx
call fcn.004fbc0c
mov eax, dword [eax + 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, ebx
call fcn.004fbc0c
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x18]
mov eax, dword [0x5092e8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0040a0c4
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4f2c6c]
call fcn.004f4040
call fcn.00404204
jmp 0x4fb11e
push 0
mov ecx, 0x4fb14c
xor edx, edx
mov eax, ebx
call fcn.004fab8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb13b
lea eax, [ebp - 0x10]
call fcn.0040486c
ret

Function at 0x500a1c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 8], 0x15
mov eax, ebx
call fcn.0040486c
mov eax, dword [ebp - 8]
call fcn.0040277c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x500a7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x500a67
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500a84
mov eax, dword [ebp - 4]
call fcn.0040279c
ret