joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57471b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f7058
push eax
mov al, byte [0x1d2c960]
mov dword fs:[0], esp
sub esp, 0x14
test al, 1
push ebp
push esi
push edi
mov esi, ecx
jne 0x5745ae
mov dl, al
push 0x5747e0
or dl, 1
mov byte [0x1d2c960], dl
call fcn.004a830a
add esp, 4
mov al, byte [0x1d2c960]
test al, 2
jne 0x5745cf
mov dl, al
push 0x5747d0
or dl, 2
mov byte [0x1d2c960], dl
call fcn.004a830a
add esp, 4
mov eax, dword [0x1ccee58]
mov dword [esp + 0xc], eax
mov ecx, dword [0x1d2c950]
mov eax, dword [0x1d2c958]
test ecx, ecx
mov dword [esp + 0x28], 0
jne 0x574669
test eax, eax
jne 0x574669
mov edx, dword [0x1d2c954]
test edx, edx
jne 0x574669
mov edx, dword [0x1d2c95c]
test edx, edx
jne 0x574669
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.005c2d9c
mov edx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
push 0x1d2c950
push edx
mov edi, eax
call ebp
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
call ebp
mov edx, dword [0x1d2c954]
mov ecx, dword [0x1d2c950]
mov eax, dword [0x1d2c958]
mov dword [0x1d2c944], edx
mov edx, dword [0x1d2c95c]
mov dword [0x1d2c940], ecx
mov dword [0x1d2c94c], edx
mov edx, dword [esp + 0x14]
mov dword [0x1d2c948], eax
mov dword [0x1d2c94c], edx
mov edx, dword [esp + 0x34]
push 6
test edx, edx
je 0x5746fb
mov edx, dword [0x1d2c95c]
mov ebp, dword [0x1d2c954]
sub edx, ebp
sub eax, ecx
push edx
push eax
push 0
push 0
push 0x1d2bd48
mov ecx, esi
call fcn.005c307d
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005c49dc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1cd5fe8
push ecx
call fcn.005be1ed
push 0x1cd5fe4
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.005be179
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.005be01d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.005bdee4
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
jmp 0x574784
mov eax, dword [0x1d2c94c]
mov edi, dword [0x1d2c944]
mov ecx, dword [0x1d2c940]
sub eax, edi
push eax
mov eax, dword [0x1d2c948]
sub eax, ecx
mov ecx, esi
push eax
push 0
push 0
push 0x1d2bd48
call fcn.005c307d
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005c49dc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1cd5fe8
push ecx
call fcn.005be1ed
push 0x1cd5fe0
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.005be179
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.005be01d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.005bdee4
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.005bdee4
mov ecx, esi
call fcn.005a1410
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push 3
call fcn.005c2e5b
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bdee4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x57b9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f7788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esi], 0x1c7b0d4
mov dword [0x1d2c968], ebx
call fcn.005c5f59
mov eax, dword [edi + 0x1a4]
push ebx
mov dword [esi + 4], eax
mov edi, dword [edi + 0x1a0]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
mov dword [esi + 8], edi
call fcn.0057bae0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c5fcb
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x57c2a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5f7868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push edi
mov eax, dword [esi]
lea edx, [esp + 0x14]
xor ebx, ebx
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], ebx
call dword [eax + 0x14c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x34], ebx
call fcn.005bdc59
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp byte [eax], 0x40
jne 0x57c32e
mov eax, dword [eax - 8]
lea ecx, [esp + 0x1c]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005b9d07
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.005be01d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005bdee4
mov eax, dword [esp + 0x10]
mov al, byte [eax]
cmp al, 0x20
jle 0x57c338
mov byte [esp + 0x3c], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x130]
mov ebp, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x134]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [edx + 0x164]
test eax, eax
mov eax, dword [esi]
mov ecx, esi
setne byte [esp + 0x3c]
call dword [eax + 0x148]
mov edx, dword [esp + 0x38]
mov cl, byte [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov byte [edx + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov byte [edx + 0x15], bl
mov byte [edx + 0x16], bl
mov byte [edx + 0x17], 1
mov byte [edx + 0x18], bl
mov byte [edx + 0x19], bl
mov byte [edx + 0x1a], bl
mov byte [edx + 0x1b], bl
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x1c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x3c], esi
mov esi, edi
mov edi, dword [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
mov byte [esp + 0x30], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [edx], ebp
mov dword [edx + 4], ecx
lea ecx, [esp + 0x10]
mov dword [edx + 0x10], eax
call fcn.005bdee4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.005bdee4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x57c410
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x57c472
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x57c480
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push edi
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x57c55d
lea ecx, [esp + 8]
push ecx
push str..htm
push accept
call fcn.0057c410
add esp, 0xc
test eax, eax
jne 0x57c55d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
push ecx
push accept
call fcn.0057c410
add esp, 0xc
test eax, eax
jne 0x57c55d
lea edx, [esp + 8]
push 0x1cd3598
push edx
call fcn.004a8810
mov esi, eax
add esp, 8
test esi, esi
jne 0x57c538
lea eax, [esp + 8]
push 0x1cd3594
push eax
call fcn.004a8790
mov esi, eax
add esp, 8
test esi, esi
jne 0x57c538
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 7]
jmp 0x57c53b
mov byte [esi], 0
push 0x1cd2e7c
push esi
call edi
mov edx, dword [esp + 0x214]
push edx
push esi
call edi
lea eax, [esp + 8]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
lea ecx, [esp + 0x214]
call fcn.005bdee4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret
Function at 0x583060
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f814a
push eax
mov dword fs:[0], esp
mov eax, 0x1d2dc60
sub esp, 0x40
test eax, eax
je 0x58308a
mov eax, dword [0x1d2dc64]
test eax, eax
jne 0x5830f5
lea ecx, [esp + 4]
push esi
push ecx
push 0x3c
push 0xc
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, 0x1d2dc60
call fcn.005c6201
push 8
call fcn.005bdc25
mov esi, eax
add esp, 4
mov dword [esp + 4], esi
test esi, esi
mov dword [esp + 0x4c], 0
je 0x5830e5
push 0x18
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, esi
call fcn.005c62be
jmp 0x5830e7
xor eax, eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [0x1d2dc78], eax
pop esi
call fcn.00582fc0
mov eax, dword [0x1d2dc7c]
test eax, eax
jne 0x58311e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x583130
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1d2dc7c], eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x58c540
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x58c5b3
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x58c5a8
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004aba66
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x596f70
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f963c
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov ebp, ecx
push edi
push 0
push 0
mov eax, dword [ebp + 0xb4]
push 0x184
push eax
call ebx
mov ecx, dword [ebp + 0x78]
push 0
push 0
push 0x188
push ecx
call ebx
test eax, eax
jl 0x59710e
mov edx, dword [0x1ccee58]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0
push ecx
push eax
lea ecx, [ebp + 0x5c]
call fcn.005ce203
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x5970fa
push str.MenuData.ini
lea eax, [esp + 0x18]
push 0x1d2c5e8
push eax
call fcn.005be179
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push 0x400
push ecx
push 0x1c6ac68
push edx
push str.MenuData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.005bdee4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
call fcn.005bdf52
mov ecx, dword [0x1ccee58]
mov dword [esp + 0x1c], ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x434], 2
call fcn.005bdc59
call fcn.0053cc20
mov edi, eax
mov esi, 1
add esp, 4
cmp edi, esi
jle 0x5970d8
push esi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005bdc59
lea ecx, [esp + 0x1c]
push ecx
call fcn.0053c2f0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x430], 3
call fcn.005be01d
lea ecx, [esp + 0x14]
mov byte [esp + 0x42c], 2
call fcn.005bdee4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5970d8
mov edx, dword [ebp + 0xb4]
push eax
push 0
push 0x180
push edx
call ebx
inc esi
cmp esi, edi
jl 0x597075
lea ecx, [esp + 0x1c]
mov byte [esp + 0x42c], 1
call fcn.005bdee4
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], 0
call fcn.005bdee4
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0xffffffff
call fcn.005bdee4
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x420
ret
Function at 0x59e070
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5f9f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea edi, [esi + 0xc]
mov dword [esp + 0x24], 0
mov ecx, edi
call fcn.004dafe0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], eax
lea edx, [esp + 0x34]
lea eax, [esp + 0xc]
mov dword [esi + 8], ecx
push edx
push eax
mov ecx, edi
mov dword [esi], 0x1c7dd20
call fcn.004db000
mov ecx, dword [esp + 0x40]
mov eax, esi
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x5a3f80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5fa850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.005be611
mov eax, dword [esp + 0x30]
push ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.005be7c3
test eax, eax
jne 0x5a3fee
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005be706
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bdee4
mov eax, 0x65
jmp 0x5a409e
lea ecx, [esp + 0x10]
call fcn.005beabd
mov edi, eax
cmp edi, ebx
jne 0x5a4022
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005be706
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bdee4
mov eax, 0x66
jmp 0x5a409e
push edi
call fcn.005bdc25
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x5a4056
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005be706
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bdee4
mov eax, 0x64
jmp 0x5a409e
push edi
push esi
lea ecx, [esp + 0x18]
call fcn.005be8e0
lea ecx, [esp + 0x10]
call fcn.005be9de
push edi
push esi
mov ecx, ebp
call fcn.005a3d70
push esi
mov edi, eax
call fcn.005bdc4e
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005be706
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bdee4
mov eax, edi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x5bf32e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x5bf350
cmp dword [edi + 0x3c], 0
jne 0x5bf350
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005d47e6
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.005bf37d
pop edi
pop esi
pop ebx
ret 8

Function at 0x5bf3cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005d47e6
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5bf3fc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005bf40f
pop edi
pop esi
pop ebx
ret 8

Function at 0x5c0a25
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5c0a5d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005be38b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005be363
jmp 0x5c0a69
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5c25c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5c2603
call fcn.005d47e6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5c2603
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5c25fa
xor eax, eax
jmp 0x5c260b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005c2611
pop edi
pop esi
pop ebx
ret 4

Function at 0x5d2fa2
Capabilities:
Create http request

Disassembly:
mov eax, 0x5fb924
call fcn.004aa4e8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x5d2fda
call fcn.005d47e6
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x5d2fff
push eax
push dword [esi + 4]
call fcn.005d3e31
jmp 0x5d300b
push esi
push eax
mov ecx, 0x1d2ddf8
call fcn.005d301c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x5d3318
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x5fb997
call fcn.004aa4e8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.005c4f66
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x1ccee58]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.005be06d
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.005be06d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x5d4d15
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5d4d43
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5d4d61
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005d4c7b
jmp 0x5d4d61
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5d4d61
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005d4c7b
test edi, edi
mov eax, edi
jne 0x5d4d4b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4151e1
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x41c108
call fcn.0041599a
push 1
call fcn.00415264
pop ecx
test al, al
jne 0x415098
push 7
call fcn.00415762
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041522f
mov byte [ebp - 0x24], al
mov eax, dword [0x41fc3c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x415091
test eax, eax
jne 0x415102
mov dword [0x41fc3c], ecx
push 0x418358
push 0x418344
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4150e5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4151db
push 0x418340
push 0x418318
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x41fc3c], 2
jmp 0x415107
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004153d1
pop ecx
call fcn.00415756
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x415137
push esi
call fcn.00415347
pop ecx
test al, al
je 0x415137
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004156eb
call esi
call fcn.0041575c
mov esi, eax
cmp dword [esi], edi
je 0x415155
push esi
call fcn.00415347
pop ecx
test al, al
je 0x415155
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00415878
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.004158ab
test al, al
jne 0x415180
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x415189
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004153ee
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4151db
call fcn.004159df
ret
call fcn.00414f1f
jmp 0x415079

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40119f
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x688
mov eax, dword [0x433024]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x628], edi
call fcn.004161e0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push ebx
push eax
call fcn.004161e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x214]
push eax
call esi
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push str._sUdAntiCap_d.exe
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401307
push 0x208
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.004161e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x214]
push eax
call esi
cmp dword [ebp + 8], 0x20
jne 0x4012af
mov eax, dword [ebp - 0x628]
cmp byte [eax + 0xa8], bl
lea eax, [ebp - 0x214]
je 0x4012bb
push str.SysWOW64
jmp 0x4012c0
cmp dword [ebp + 8], 0x40
jne 0x4012ce
lea eax, [ebp - 0x214]
push str.System32
push 0x104
push eax
call fcn.0041625a
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call esi
push 0x208
lea eax, [ebp - 0x41c]
push ebx
push eax
call fcn.004161e0
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push str._sUdAntiCap_d.exe
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x41c]
call fcn.004014b0
test al, al
je 0x4013c5
push 0x10
lea eax, [ebp - 0x638]
push ebx
push eax
call fcn.004161e0
add esp, 0xc
push 0x44
pop esi
push esi
lea eax, [ebp - 0x684]
push ebx
push eax
call fcn.004161e0
add esp, 0xc
mov dword [ebp - 0x684], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x628]
lea edx, [ecx + 0x58]
push edx
add ecx, 8
push ecx
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x624]
push str.__s___t:_X__n:_s__c:_s
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x684]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x624]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4013c5
push 0x1388
push dword [ebp - 0x638]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x638]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x634]
call esi
mov al, 1
jmp 0x4013c7
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004161d1
leave
ret 4