joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c32f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f58d0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004ec593
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4c3323
xor al, al
jmp 0x4c344f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4c3345
xor al, al
jmp 0x4c344f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4c3358
xor al, al
jmp 0x4c344f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4c336c
xor al, al
jmp 0x4c344f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004e0306
test eax, eax
jne 0x4c33a0
xor al, al
jmp 0x4c344f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x56d5d4
mov dword [esp + 0x20], ebp
call fcn.004ec593
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004e9185
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004e91dc
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4c3434
mov ax, word [ebx]
test ax, ax
je 0x4c3426
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004c3470
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4c340a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004e91dc
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4c39b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004ea871
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4c39f6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004d0268
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x58c8b4
push ecx
call fcn.004d1c30
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4c3ab0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4c3b16
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4c3b16
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4c3af7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4c3ea0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4c3ed8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4c4b00
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4c4b49
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4c4fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f5b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004c4b70
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004c4bf0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004c4bf0
lea ecx, [esi + 0xc]
call fcn.004e21ca
lea ecx, [esi + 0x10]
call fcn.004e21ca
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004c6180
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004c6180
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004c6180
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004e223f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e223f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c64e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4f5dd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.004c9533
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x38], 0
call fcn.004e22ad
lea ecx, [esp + 0x3c]
push 1
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.004deb74
mov eax, dword [eax]
push 0x58cb78
push eax
call fcn.004d0394
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne bl
call fcn.004e223f
test bl, bl
je 0x4c6560
push 0x58cb78
lea ecx, [esp + 0xc]
call fcn.004e261b
push 0x58cb74
lea ecx, [esp + 0xc]
call fcn.004e261b
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.004c95f6
test eax, eax
je 0x4c6624
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov bl, 2
lea ecx, [esp + 0x18]
call fcn.004c9816
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [eax + 0x38]
test eax, eax
je 0x4c65e0
lea ecx, [esp + 0x18]
call fcn.004c97dd
test eax, eax
jne 0x4c65e0
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004c98e5
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x40], bl
call fcn.004c64e0
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x44]
jmp 0x4c6615
lea ecx, [esp + 0x18]
call fcn.004c97dd
test eax, eax
jne 0x4c661a
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
jne 0x4c661a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.004c98e5
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x14]
call fcn.004e223f
test edi, edi
jne 0x4c6590
pop edi
pop ebp
lea ecx, [esp + 0x10]
call fcn.004c95ac
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0
call fcn.004e223f
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.004c9570
mov ecx, dword [esp + 0x2c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4c6720
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f5e06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x58cc94]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.004e23c8
push str..
lea ecx, [esp + 0x10]
call fcn.004e261b
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4c67c3
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.004e223f
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004e223f
xor eax, eax
jmp 0x4c6908
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x58cb98
push edx
call fcn.004d0394
add esp, 8
test eax, eax
je 0x4c68b9
lea eax, [esp + 0x48]
push 0x58cb94
push eax
call fcn.004d0394
add esp, 8
test eax, eax
je 0x4c68b9
test ebp, ebp
jne 0x4c6825
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.004d0443
add esp, 8
test eax, eax
je 0x4c68b9
push esi
lea ecx, [esp + 0x14]
call fcn.004e23c8
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004e2642
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.004e261b
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x4c6865
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x4c6887
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.004c6720
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4c68b9
test edi, edi
je 0x4c68ae
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.004d0443
add esp, 8
test eax, eax
jne 0x4c68ae
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.004c6930
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4c67d3
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004e223f
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.004e223f
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x4c6930
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f5e1b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.004d0c50
mov eax, dword [0x58cc94]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.004e23c8
push 0x5c
lea ecx, [esp + 8]
call fcn.004e2642
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.004e261b
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4c69d6
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.004e223f
xor eax, eax
jmp 0x4c6a53
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x4c6a31
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x4c6a23
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x4c69fd
jmp 0x4c6a31
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.004e223f
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x4e466b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e46a3
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.004e26e6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e26be
jmp 0x4e46af
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e5e65
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 0x4e5ea7
call fcn.004ec593
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e5ea7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e5e9e
xor eax, eax
jmp 0x4e5eaf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e5eb5
pop edi
pop esi
pop ebx
ret 4
Function at 0x4ecac3
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 0x4ecaf1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ecb0f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004eca29
jmp 0x4ecb0f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ecb0f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004eca29
test edi, edi
mov eax, edi
jne 0x4ecaf9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4321c6
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004a8b5e
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004a8b5e
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.004a8b5e
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x20
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x432283
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43229c
push ebx
call fcn.004a8b52
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x21
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x4322cb
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x5834e0
mov eax, 0x22
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x4322f5
push 6
call fcn.004a8b64
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x23
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x432389
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x24
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x4323ae
push 6
call fcn.004a8b64
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x4323b6
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4323c7
push ebx
call fcn.004a8b52
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004a8b52
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004a8b52
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.004a8b52
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4396b6
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004a8b5e
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004a8b5e
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.004a8b5e
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x27
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x439773
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43978c
push ebx
call fcn.004a8b52
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x28
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x4397bb
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x5834e0
mov eax, 0x29
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x4397e5
push 6
call fcn.004a8b64
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x2a
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x439879
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x2b
call fcn.004a8b6a
cmp dword [ebp - 0x20], esp
je 0x43989e
push 6
call fcn.004a8b64
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x4398a6
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4398b7
push ebx
call fcn.004a8b52
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004a8b52
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004a8b52
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.004a8b52
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x478a13
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004a8b5e
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004a8b5e
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x478aa9
mov dword [ebp - 0x18], esp
mov eax, 0x57
call fcn.004a8b6a
cmp dword [ebp - 0x18], esp
je 0x478aa6
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0x58
call fcn.004a8b6a
cmp dword [ebp - 0x18], esp
je 0x478ad5
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x59
call fcn.004a8b6a
cmp dword [ebp - 0x18], esp
je 0x478b03
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x5a
call fcn.004a8b6a
cmp dword [ebp - 0x18], esp
je 0x478b2f
push 6
call fcn.004a8b64
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x5b
call fcn.004a8b6a
cmp dword [ebp - 0x18], esp
je 0x478bbe
push 6
call fcn.004a8b64
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x4c
call fcn.004a8b6a
cmp dword [ebp - 0x18], esp
je 0x478be3
push 6
call fcn.004a8b64
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x478beb
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004a8b52
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004a8b52
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8