joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7c1c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.KERNEL32.DLL_GetVersionExA
cmp dword [ebp - 0x84], 1
sete byte [0x7ebbf0]
cmp dword [ebp - 0x84], 1
jne 0x4a7c5d
cmp word [ebp - 0x88], 0x3e8
jae 0x4a7c61
xor eax, eax
jmp 0x4a7c63
mov al, 1
mov byte [0x7ebc0c], al
cmp dword [ebp - 0x84], 2
sete byte [0x7ebbf4]
cmp dword [ebp - 0x84], 2
jne 0x4a7c88
cmp dword [ebp - 0x90], 5
jge 0x4a7c8c
xor eax, eax
jmp 0x4a7c8e
mov al, 1
mov byte [0x7ebbf8], al
cmp byte [0x7ebbf4], 0
jne 0x4a7ca9
cmp byte [0x7ebc00], 0
jne 0x4a7ca9
xor eax, eax
jmp 0x4a7cab
mov al, 1
mov byte [0x7ebbfc], al
cmp dword [ebp - 0x84], 1
jne 0x4a7cc2
cmp dword [ebp - 0x8c], 0
jg 0x4a7cc6
xor eax, eax
jmp 0x4a7cc8
mov al, 1
mov byte [0x7ebc10], al
mov al, byte [0x7ebc10]
mov byte [0x7ebc18], al
cmp dword [ebp - 0x84], 1
jne 0x4a7ce9
cmp dword [ebp - 0x8c], 0x5a
jge 0x4a7ced
xor eax, eax
jmp 0x4a7cef
mov al, 1
mov byte [0x7ebc14], al
cmp dword [ebp - 0x84], 2
jne 0x4a7d0f
cmp dword [ebp - 0x90], 5
jne 0x4a7d0f
cmp dword [ebp - 0x8c], 1
je 0x4a7d13
xor eax, eax
jmp 0x4a7d15
mov al, 1
mov byte [0x7ebc04], al
cmp dword [ebp - 0x84], 2
jne 0x4a7d35
cmp dword [ebp - 0x90], 5
jl 0x4a7d35
cmp dword [ebp - 0x8c], 1
jge 0x4a7d39
xor eax, eax
jmp 0x4a7d3b
mov al, 1
mov byte [0x7ebc08], al
cmp byte [0x7ebbf8], 0
jne 0x4a7d56
cmp byte [0x7ebc04], 0
jne 0x4a7d56
xor eax, eax
jmp 0x4a7d58
mov al, 1
mov byte [0x7ebc00], al
mov esp, ebp
pop ebp
ret

Function at 0x4a819c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x4a81e0]
mov byte [ebp - 1], al
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4a81b8
or byte [ebp - 1], 2
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4a81c8
or byte [ebp - 1], 4
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4a81d8
or byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x4b5144
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4b516c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00436f18
jmp 0x4b52fb
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x70]
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4b52f4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 4]
call fcn.00439350
push eax
call sub.USER32.DLL_BeginPaint
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_GetClipBox
lea eax, [ebp - 0x6c]
push eax
call sub.USER32.DLL_IsRectEmpty
test eax, eax
je 0x4b5215
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4b5222
push 1
push 1
lea eax, [ebp - 0x6c]
push eax
call sub.USER32.DLL_InflateRect
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.GDI32.DLL_CreateRectRgn
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectClipRgn
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00434b1c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b5144
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectClipRgn
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.DLL_DeleteObject
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 4]
call fcn.00439350
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b52fb
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.GDI32.DLL_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x4bdc6c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4bdc94
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00436f18
jmp 0x4bde0c
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x6c]
push eax
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4bde05
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00439350
push eax
call sub.USER32.DLL_BeginPaint
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_GetClipBox
lea eax, [ebp - 0x68]
push eax
call sub.USER32.DLL_IsRectEmpty
test eax, eax
je 0x4bdd38
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.USER32.DLL_InvalidateRect
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00434b1c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004bdc6c
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_GetClipBox
lea eax, [ebp - 0x68]
push eax
call sub.USER32.DLL_IsRectEmpty
test eax, eax
je 0x4bdd9c
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0xcc0020
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00439350
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bde0c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.GDI32.DLL_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x4d8b9c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d8c93
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4c02a0]
mov eax, 0x14
call fcn.00404be4
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
xor ecx, ecx
mov edx, 0x14
call fcn.00402e40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x410758]
call fcn.004032b4
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x20], edx
mov dword [eax + 0x1c], 0x4d7e84
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4c0240]
call fcn.004e74a8
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
call fcn.0041a6fc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
call fcn.0041a738
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
mov byte [edx + 0x28], al
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
call fcn.0041a688
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, 0x2c
call fcn.00403ec8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x22], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8c9a
lea eax, [ebp - 0xc]
call fcn.00403e74
ret
Function at 0x50a294
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
cmp dword [ebp - 8], 0x3d
je 0x50a2c4
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x3d
mov dl, 0xa
mov eax, dword [ebp - 4]
call fcn.00505dd8
cmp dword [ebp - 0xc], 0x194
je 0x50a2e0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 0x194
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.00505dd8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov edx, 0x194
mov eax, dword [ebp - 4]
call fcn.00505b6c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 4]
call fcn.00509960
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*4 + 0x7c], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x50a321
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*4 + 0x8c], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*4 + 0x9c], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x50a33b
mov eax, dword [ebp - 4]
call fcn.005085f4
mov eax, dword [ebp - 4]
call fcn.0050a1d4
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xc8
mov esp, ebp
pop ebp
ret
Function at 0x5159c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0xca
jne 0x515a0c
mov eax, dword [ebp - 4]
call fcn.00515938
mov eax, dword [ebp - 4]
cmp byte [eax + 0x38], 0
je 0x515a02
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xcf
mov byte [ebp - 5], 1
jmp 0x515ae4
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xcb
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0xcb
jne 0x515abd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x178]
cmp byte [eax + 0x10], 0
je 0x515aaf
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x515a43
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
call dword [ebx]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x178]
mov eax, dword [ebp - 4]
call dword [ebx]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x515a63
mov byte [ebp - 5], 0
jmp 0x515ae4
cmp dword [ebp - 0xc], 2
je 0x515aaf
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x515a2f
cmp dword [ebp - 0xc], 3
je 0x515a7e
cmp dword [ebp - 0xc], 1
jne 0x515a2f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
inc dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
cmp eax, dword [edx + 8]
jl 0x515a2f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x104]
add dword [eax + 8], edx
jmp 0x515a2f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
jmp 0x515ad9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0xcc
je 0x515ad9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dl, 0x12
mov eax, dword [ebp - 4]
call fcn.00505da0
mov eax, dword [ebp - 4]
call fcn.00515aec
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x515aec
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0xcc
je 0x515bc5
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x168]
mov eax, dword [ebp - 4]
call dword [ebx]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xcc
jmp 0x515bc5
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x515b5f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
call dword [ebx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x64]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x16c]
xor edx, edx
mov eax, dword [ebp - 4]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
cmp eax, dword [ebp - 0xc]
jne 0x515b92
mov byte [ebp - 5], 0
jmp 0x515bf7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jb 0x515b2d
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x168]
mov eax, dword [ebp - 4]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x168]
mov eax, dword [ebp - 4]
call dword [ebx]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
cmp byte [eax + 8], 0
jne 0x515b92
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 0
je 0x515be9
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xce
jmp 0x515bf3
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xcd
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5204e4
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 0x520535
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x52051c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x52050c
jmp 0x520535
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 0x52051d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5303e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x28]
call fcn.00411d44
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x53046b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x53044f
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00411878
test byte [eax + 0x40], 1
je 0x530446
push 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00411878
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_TerminateThread
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0041179c
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffff
jne 0x530414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530472
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x28]
call fcn.00411da8
ret

Function at 0x53fb7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x109]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004040a0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004040f0
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
jne 0x53fbd7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004040f0
mov edx, eax
dec edx
mov eax, dword [ebp - 4]
call fcn.00404420
mov esp, ebp
pop ebp
ret

Function at 0x5405d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x109]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004040a0
mov eax, dword [ebp - 4]
mov dl, 0x5c
call fcn.00540464
mov esp, ebp
pop ebp
ret

Function at 0x540610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x109]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004040a0
mov eax, dword [ebp - 4]
mov dl, 0x5c
call fcn.00540464
mov esp, ebp
pop ebp
ret

Function at 0x540650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, 0x12c
call fcn.00404420
mov eax, dword [ebp - 4]
call fcn.004042c0
push eax
push 0x12c
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404420
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004836c0
test al, al
jne 0x5406a2
mov eax, dword [ebp - 4]
mov edx, 0x5406b8
call fcn.00403f0c
mov eax, dword [ebp - 4]
mov dl, 0x5c
call fcn.00540464
pop ecx
pop ecx
pop ebp
ret
Function at 0x5406bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042a4
xor eax, eax
push ebp
push 0x540898
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00403e74
mov eax, dword [ebp - 8]
mov word [eax], 0
mov eax, dword [ebp - 0xc]
mov word [eax], 0
mov eax, dword [ebp + 0x10]
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov word [eax], 0
cmp dword [ebp - 4], 0
je 0x540875
mov eax, dword [ebp - 4]
call fcn.004097b8
test al, al
je 0x540875
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004042b4
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x540875
mov eax, dword [ebp - 0x10]
call fcn.004027d4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x54086e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004042b4
push eax
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x540858
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5408a8
mov eax, dword [ebp - 0x18]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x540858
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.00408198
mov edx, dword [ebp - 8]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 8]
mov edx, dword [ebp - 0xc]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.00408198
mov edx, dword [ebp + 0x10]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0xc]
mov edx, dword [ebp + 0xc]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.00408198
movzx eax, ax
lea edx, [ebp - 0x24]
call fcn.004094a8
push dword [ebp - 0x24]
push 0x5408b4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 8]
call fcn.004094a8
push dword [ebp - 0x28]
push 0x5408b4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.00408198
movzx eax, ax
lea edx, [ebp - 0x2c]
call fcn.004094a8
push dword [ebp - 0x2c]
push 0x5408b4
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0xc]
call fcn.004094a8
push dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov edx, 7
call fcn.004041b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x540875
mov eax, dword [ebp - 0x18]
call fcn.004027ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54089f
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00403e98
lea eax, [ebp - 4]
call fcn.00403e74
ret
Function at 0x541d48
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042a4
mov eax, dword [ebp - 8]
call fcn.004042a4
xor eax, eax
push ebp
push 0x541e8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x84227c]
cmp dword [eax], 0
je 0x541db8
mov eax, dword [0x84227c]
mov eax, dword [eax]
cmp dword [eax + 0x5c], 0
je 0x541db8
mov eax, dword [0x84227c]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
call fcn.00439350
test eax, eax
je 0x541db8
mov eax, dword [0x84227c]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
call fcn.00439350
mov dword [ebp - 0x14], eax
jmp 0x541de8
mov eax, dword [0x8417e4]
cmp dword [eax], 0
je 0x541de3
mov eax, dword [0x8417e4]
mov eax, dword [eax]
cmp dword [eax + 0x2c], 0
je 0x541de3
mov eax, dword [0x8417e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
call fcn.00439350
mov dword [ebp - 0x14], eax
jmp 0x541de8
xor eax, eax
mov dword [ebp - 0x14], eax
push 0xa
push 0
mov eax, dword [ebp - 8]
call fcn.004042b4
push eax
mov eax, dword [ebp - 4]
call fcn.004042b4
push eax
push 0x541e9c
mov eax, dword [ebp - 0x14]
push eax
call sub.SHELL32.DLL_ShellExecuteA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x20
setg byte [ebp - 9]
cmp byte [ebp - 9], 0
jne 0x541e63
push dword [ebp - 4]
push 0x541eac
push dword [ebp - 8]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea eax, [ebp - 0x2c]
call fcn.00541ee0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x541eb8
call fcn.00542bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541e92
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00403e98
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e98
ret