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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47c598
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4459d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x445aec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4459ed
mov eax, 0xffffffc7
jmp 0x445aee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4459fe
cmp dword [esi + 8], eax
jne 0x4459ed
cmp dword [esi + 8], eax
jne 0x445a17
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x445a17
mov eax, 0xffffffc7
jmp 0x445aee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x445a2b
push eax
mov ecx, ebx
call fcn.004451d0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0041a120
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x445a5c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0041a140
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00444940
test eax, eax
mov dword [esp + 0x38], eax
je 0x445a8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4808f8
call fcn.0041a320
mov eax, dword [esp + 0x38]
jmp 0x445aee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00445800
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x445ad3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00445820
mov esi, eax
test esi, esi
jne 0x445b03
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00445800
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x445aa5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4808f8
call fcn.0041a320
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4808f8
call fcn.0041a320
mov eax, esi
jmp 0x445aee

Function at 0x448bb0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x448c10
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x448c10
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x448c10
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x448c10
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x448c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x44eb50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47cbc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00475e09
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044e4f0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00475d37
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004725fb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004725fb
push 1
push 0
push 0
mov ecx, esi
call fcn.004725a3
push 1
push 0
push 1
mov ecx, esi
call fcn.004725a3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00475e7b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44ecd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47cbe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00475e09
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044e4f0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00475d37
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44ed94
cmp dword [esp + 0x40], 1
jne 0x44ed92
cmp ecx, eax
jge 0x44ed94
mov eax, ecx
cmp eax, 0xc8
jge 0x44eda0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044eb50
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00475e7b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44f510
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47cc53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00470a19
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004760b1
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004775cd
test eax, eax
je 0x44f62c
mov ecx, dword [esp + 0x3c]
call fcn.004760de
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44f5f0
push edi
mov ecx, esi
call fcn.00473746
mov ecx, esi
call fcn.0044f790
cmp dword [esp + 0x38], 1
jne 0x44f625
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00473881
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x452070
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4520a3
push esi
call fcn.00455180
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45209c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x452129
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x452112
mov eax, dword [esi + 8]
test eax, eax
je 0x4520c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45210e
cmp eax, 2
je 0x452112
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4520ba
cmp eax, 3
je 0x4520ed
cmp eax, 1
jne 0x4520ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4520ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4520ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00452150
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x452138
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00452150
add esp, 4
pop esi
ret

Function at 0x47180e
Capabilities:
Get graphical window text

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

Function at 0x472f03
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 0x472f45
call fcn.004789b3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x472f45
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x472f3c
xor eax, eax
jmp 0x472f4d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00472f53
pop edi
pop esi
pop ebx
ret 4

Function at 0x478ee3
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 0x478f11
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x478f2f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00478e49
jmp 0x478f2f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x478f2f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00478e49
test edi, edi
mov eax, edi
jne 0x478f19
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4b7a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x75000]
push edi
jmp 0x4b7a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b7aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7a90
mov eax, 1
add ebx, ebx
jne 0x4b7ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b7ac4
jne 0x4b7ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7ae3
dec eax
add ebx, ebx
jne 0x4b7ad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b7aa8
add ebx, ebx
jne 0x4b7adf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b7b35
xor ecx, ecx
sub eax, 3
jb 0x4b7afb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b7b6a
sar eax, 1
mov ebp, eax
jmp 0x4b7b06
add ebx, ebx
jne 0x4b7b06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7ad4
inc ecx
add ebx, ebx
jne 0x4b7b14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7ad4
add ebx, ebx
jne 0x4b7b21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b7b16
jne 0x4b7b32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b7b16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b7b54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b7b46
jmp 0x4b7a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b7b54
add edi, ecx
jmp 0x4b7a96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b7b72
cmp byte [edi], 0x11
jne 0x4b7b72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b7b77
lea edi, [esi + 0xb3000]
mov eax, dword [edi]
or eax, eax
je 0x4b7bef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbe1e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbe334]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b7ba4
mov ecx, edi
jns 0x4b7bd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbe338]
or eax, eax
je 0x4b7be9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b7bc1
call dword [esi + 0xbe348]
mov ebp, dword [esi + 0xbe33c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b7c23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x403860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push 0x1165fb0
push edi
call fcn.00406a17
mov esi, eax
add esp, 8
test esi, esi
je 0x4038b2
push ebx
push 2
push 0
push esi
call fcn.00406e98
push esi
call fcn.00406da3
push 0
push 0
push esi
mov ebx, eax
call fcn.00406e98
push esi
call fcn.00406f8f
add esp, 0x20
cmp ebx, 0x7d000
pop ebx
jle 0x4038b2
push edi
call fcn.004072fd
add esp, 4
push 0x1165fb4
push edi
call fcn.00406a17
mov esi, eax
add esp, 8
test esi, esi
jne 0x4038cc
lea eax, [esi + 1]
pop esi
pop ebp
ret
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4038d1
push esi
sub eax, edx
push eax
push 1
push ebp
call fcn.00406b89
push esi
call fcn.00406f8f
add esp, 0x14
pop esi
xor eax, eax
pop ebp
ret

Function at 0x403f50
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [0x116b3f4]
sub esp, 0x1c
test eax, eax
jne 0x403fb3
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push 0x1c
lea eax, [esp + 4]
push eax
push 0x114fed0
call dword [0x1164040]
mov eax, dword [esp + 4]
test eax, eax
je 0x403fb3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp word [eax], 0x5a4d
mov dword [0x116b3f4], eax
jne 0x403fb3
cmp dword [ecx], 0x4550
jne 0x403fb3
mov ecx, dword [ecx + 0x50]
mov dword [0x116b3f8], ecx
mov edx, dword [esp + 0x20]
push 0x104
push edx
push eax
call dword [0x116403c]
xor eax, eax
add esp, 0x1c
ret

Function at 0x4055a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, eax
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [0x1164040]
test eax, eax
jne 0x4055bd
pop edi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0xc]
push 0x104
push ecx
push esi
call dword [0x116403c]
test eax, eax
jne 0x4055dd
pop esi
pop edi
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
movzx edx, word [eax + esi + 0x14]
add eax, esi
push ebx
push ebp
movzx ebp, word [eax + 6]
sub edi, esi
xor ebx, ebx
test ebp, ebp
lea ecx, [edx + eax + 0x18]
jbe 0x405622
lea eax, [ecx + 0x10]
lea esp, [esp]
mov edx, dword [eax]
mov esi, dword [eax - 8]
cmp edx, esi
mov ecx, dword [eax - 4]
ja 0x40560e
mov edx, esi
cmp edi, ecx
jb 0x405618
add edx, ecx
cmp edi, edx
jbe 0x40562c
add ebx, 1
add eax, 0x28
cmp ebx, ebp
jb 0x405600
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
mov eax, dword [esp + 0x34]
add ebx, 1
pop ebp
mov dword [eax], ebx
sub edi, ecx
mov ecx, dword [esp + 0x34]
pop ebx
pop esi
mov dword [ecx], edi
mov eax, 1
pop edi
add esp, 0x1c
ret
Function at 0x409e04
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.0042751d
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0042751d
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.0042751d
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, 0x28
call fcn.0042752f
cmp dword [ebp - 0x20], esp
je 0x409ec1
push 6
call fcn.00427529
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409eda
push ebx
call fcn.00427517
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, 0x29
call fcn.0042752f
cmp dword [ebp - 0x20], esp
je 0x409f09
push 6
call fcn.00427529
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4ce242
mov eax, 0x2a
call fcn.0042752f
cmp dword [ebp - 0x20], esp
je 0x409f33
push 6
call fcn.00427529
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, 0x2b
call fcn.0042752f
cmp dword [ebp - 0x20], esp
je 0x409fc7
push 6
call fcn.00427529
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x2c
call fcn.0042752f
cmp dword [ebp - 0x20], esp
je 0x409fec
push 6
call fcn.00427529
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x409ff4
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a005
push ebx
call fcn.00427517
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00427517
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00427517
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.00427517
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4148ca
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0042751d
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0042751d
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
push 0x10
call fcn.0042751d
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x42a430
call fcn.00427523
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x41498a
mov eax, 0
jmp 0x414af6
cmp dword [ebp + 0xc], 0
jne 0x4149b6
mov dword [ebp - 0x1c], esp
mov eax, 9
call fcn.0042752f
cmp dword [ebp - 0x1c], esp
je 0x4149b3
push 6
call fcn.00427529
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x4149de
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4149d8
push ebx
call fcn.00427517
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x47
call fcn.0042752f
cmp dword [ebp - 0x1c], esp
je 0x414a09
push 6
call fcn.00427529
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4ce242
mov eax, 0x48
call fcn.0042752f
cmp dword [ebp - 0x1c], esp
je 0x414a35
push 6
call fcn.00427529
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x49
call fcn.0042752f
cmp dword [ebp - 0x1c], esp
je 0x414ac9
push 6
call fcn.00427529
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 2
call fcn.0042752f
cmp dword [ebp - 0x1c], esp
je 0x414aee
push 6
call fcn.00427529
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x414af6
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00427517
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00427517
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00427517
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10