joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ea78
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004145a6
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41eab0
xor eax, eax
jmp 0x41eadc
cmp esi, dword [ebp - 4]
je 0x41ead9
cmp dword [ebp + 0xc], 0
je 0x41ead9
push dword [edi + 0x9c]
call fcn.0041e686
push dword [edi + 0x9c]
mov esi, eax
call fcn.0040f7e0
pop ecx
pop ecx
cmp esi, eax
je 0x41eaac
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x401000
Capabilities:
Create process on windows
Self delete

Disassembly:
sub esp, 0x208
mov eax, dword [0x40a004]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
push 0x100
lea eax, [esp + 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str._c_del__
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 8]
push eax
call esi
push str._____NUL
lea ecx, [esp + 8]
push ecx
call esi
push 0
push 0
lea edx, [esp + 0xc]
push edx
push 0x409284
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x208]
pop esi
xor ecx, esp
call fcn.004013b2
add esp, 0x208
ret
Function at 0x4013b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x4013bc
repz ret
jmp fcn.004017b0

Function at 0x40481f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040367c
xor ebx, ebx
cmp dword [0x40b608], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4048f4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40485f
xor eax, eax
jmp 0x4049b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x404858
push eax
call fcn.00403619
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b608], eax
call esi
push eax
call fcn.00403619
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b60c], eax
call esi
push eax
call fcn.00403619
mov dword [0x40b610], eax
lea eax, [ebp - 8]
push eax
call fcn.004028ff
test eax, eax
pop ecx
pop ecx
je 0x4048c2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403bf2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4048f4
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00403619
cmp eax, ebx
pop ecx
mov dword [0x40b618], eax
je 0x4048f4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403619
pop ecx
mov dword [0x40b614], eax
mov eax, dword [0x40b614]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40496d
cmp dword [0x40b618], esi
je 0x40496d
push eax
call fcn.00403685
pop ecx
call eax
cmp eax, ebx
je 0x40493a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40b618]
call fcn.00403685
pop ecx
call eax
test eax, eax
je 0x40493a
test byte [ebp - 0x18], 1
jne 0x40496d
lea eax, [ebp - 0xc]
push eax
call fcn.00402936
test eax, eax
pop ecx
je 0x404955
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403bf2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x404964
or dword [ebp + 0x10], 0x200000
jmp 0x40499e
or dword [ebp + 0x10], 0x40000
jmp 0x40499e
mov eax, dword [0x40b60c]
cmp eax, esi
je 0x40499e
push eax
call fcn.00403685
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40499e
mov eax, dword [0x40b610]
cmp eax, esi
je 0x40499e
push dword [ebp - 4]
push eax
call fcn.00403685
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40b608]
call fcn.00403685
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42ebb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
jmp 0x42ebca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42ebd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42ebc0
mov eax, 1
add ebx, ebx
jne 0x42ebe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42ebd8
jne 0x42ebf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ebd8
xor ecx, ecx
sub eax, 3
jb 0x42ec08
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42ec7a
mov ebp, eax
add ebx, ebx
jne 0x42ec13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42ec20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42ec44
inc ecx
add ebx, ebx
jne 0x42ec30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42ec25
jne 0x42ec41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ec25
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42ec64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42ec55
jmp 0x42ebc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42ec64
add edi, ecx
jmp 0x42ebc6
pop esi
mov edi, esi
mov ecx, 0xd97
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42ec82
cmp byte [edi], 9
jne 0x42ec82
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 0x42ec87
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x42ecff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3320c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x33270]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42ecb4
mov ecx, edi
jns 0x42ece3
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 + 0x33274]
or eax, eax
je 0x42ecf9
mov dword [ebx], eax
add ebx, 4
jmp 0x42ecd1
call dword [esi + 0x33284]
mov ebp, dword [esi + 0x33278]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x42ed33
sub esp, 0xffffff80
jmp 0x4148d4
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x41ba66
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004ae590
mov dword [esp], 0xc8
mov dword [esp + 4], 0x96
push 0
call fcn.00499619
mov ebx, eax
push 0
call fcn.00499930
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 8], ebx
push 0
call fcn.00499688
mov ebx, eax
push 0
call fcn.004999ad
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp + 4]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 0xc], ebx
push 0x80000004
push dword [0x15e89b0]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x60
call fcn.00499064
push 0xb
push 0x67
call fcn.004a75c6
push eax
push 0x1a
push 0xaa
push 0xf
push 0xf
push 0x63
call fcn.00493670
push 0xb
push 0x65
call fcn.004a75c6
push eax
push 0x1a
push 0xaa
push 0x2d
push 0xf
push 0x61
call fcn.00493670
push 0xb
push 0x66
call fcn.004a75c6
push eax
push 0x1a
push 0xaa
push 0x4b
push 0xf
push 0x62
call fcn.00493670
push dword [0x15e8af0]
push 0x14
push 0xaa
push 0x78
push 0xf
push 0x64
call fcn.00490ed6
call fcn.00440e15
call fcn.0049905c
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x41bc77
call fcn.0049cac5
push eax
mov ebx, 0x60
cmp ebx, dword [esp]
jne 0x41bc74
push dword [esp + 0x20]
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x41bc73
call fcn.0049cab6
push eax
mov ebx, 0x63
cmp ebx, dword [esp]
jne 0x41bc28
mov eax, 0x53f3c2
push eax
call fcn.0046f952
add esp, 0xc
jmp 0x41bcce
mov ebx, 0x61
cmp ebx, dword [esp]
jne 0x41bc47
mov eax, 0x53f3c2
push eax
call fcn.0046f952
add esp, 0xc
jmp 0x41bcce
mov ebx, 0x62
cmp ebx, dword [esp]
jne 0x41bc63
mov eax, 0x53f3c2
push eax
call fcn.0046f952
add esp, 0xc
jmp 0x41bcce
mov ebx, 0x64
cmp ebx, dword [esp]
jne 0x41bc72
add esp, 0xc
jmp 0x41bcce
pop eax
pop eax
pop eax
jmp 0x41bc81
push 0x60
call fcn.0049903e
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41bca5
call fcn.004999bb
mov ebx, eax
cmp ebx, 0x60
jne 0x41bca5
call fcn.00440e15
jmp 0x41bcce
push 0xd
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41bcc9
call fcn.004999bb
mov ebx, eax
cmp ebx, 0x60
jne 0x41bcc9
call fcn.00440e15
jmp 0x41bcce
jmp 0x41bbd1
push 0x60
call fcn.00498dee
xor eax, eax
add esp, 0x10
pop edi
pop ebx
ret 4
Function at 0x44c046
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
push eax
push eax
call fcn.004ae590
mov dword [esp], 0
jmp 0x44c059
mov eax, dword [esp + 0x10]
cmp eax, dword [esp]
jl 0x44c112
push 0
call fcn.00498f1f
and eax, eax
je 0x44c109
mov dword [esp + 4], 0xffffffff
call fcn.004520d1
mov dword [esp + 4], eax
mov ebx, dword [esp + 4]
and ebx, ebx
jle 0x44c0d8
call fcn.0049cac5
push eax
mov ebx, dword [0x15e8b10]
cmp ebx, dword [esp]
jne 0x44c0b3
push dword [esp + 8]
call fcn.0044abbd
mov ebx, eax
and ebx, ebx
jne 0x44c0b1
jmp 0x44c0d5
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x44c0cb
push dword [esp + 8]
call fcn.0043d796
mov ebx, eax
and ebx, ebx
jne 0x44c0c9
jmp 0x44c0d5
push 3
call fcn.00498c03
pop eax
jmp 0x44c0e2
push 5
call fcn.00498c03
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x44c0ff
mov dword [0x15e8ac4], 1
jmp 0x44c109
mov dword [0x15e8ac4], 0
inc dword [esp]
jno 0x44c059
xor eax, eax
add esp, 8
pop ebx
ret 4
Function at 0x4514ce
Capabilities:
Query environment variable

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004ae590
push dword [esp + 0x1c]
call fcn.004543a0
mov edx, dword [esp + 0x18]
lea ecx, [esp]
call fcn.00454000
push edx
call fcn.004ae3f0
pop edx
push eax
push edx
call fcn.004ae3f0
pop edx
push eax
push 0x3e8
call fcn.004abe40
call fcn.004ae520
lea eax, [esp + 8]
push eax
call fcn.004ae430
push 0x3e8
mov eax, dword [esp + 8]
push eax
mov eax, 0x54891e
push eax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov edx, 0x5380c4
lea ecx, [esp + 8]
call fcn.00454008
push edx
call fcn.004ae3f0
pop edx
push eax
push 0xe
mov edx, dword [esp + 0xc]
push edx
call fcn.004ae3f0
pop edx
push eax
push edx
call fcn.004ae4c0
mov edx, 0x5456e8
push edx
call fcn.004ae4c0
call fcn.004ae520
push edx
call fcn.004ae3f0
pop edx
push eax
mov edx, 0x53f6b6
push edx
call fcn.004ae4c0
mov edx, dword [esp + 0x10]
push edx
call fcn.004ae4c0
call fcn.004ae520
mov edx, dword [esp + 0x14]
push edx
call fcn.004ae3f0
pop edx
push eax
push edx
call fcn.004ae4c0
mov edx, 0x53db36
push edx
call fcn.004ae4c0
call fcn.00454382
add dword [esp], edx
call fcn.00454382
add dword [esp + 4], edx
call fcn.00454382
add dword [esp + 8], edx
call fcn.0046f404
call fcn.004543a0
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x45165c
push dword [esp + 0xc]
call fcn.0046fb30
and eax, eax
je 0x451653
push dword [esp + 0xc]
call fcn.0046fb77
and eax, eax
je 0x451651
mov edx, dword [esp + 8]
push edx
call fcn.004ae3f0
pop edx
push eax
push edx
call fcn.004ae4c0
push edx
call fcn.004ae3f0
pop edx
push eax
push edx
call fcn.004ae3f0
pop edx
push eax
push edx
call fcn.004ae3f0
pop edx
push eax
push 0x18
push dword [esp + 0x20]
call fcn.0046fb9d
call fcn.00454382
add dword [esp], edx
call fcn.0042b0a6
pop eax
mov edx, 0x54e84a
push edx
call fcn.004ae4c0
lea eax, [esp + 0xc]
push eax
call fcn.004ae430
jmp 0x4515dc
push dword [esp + 0xc]
call fcn.0046fbd6
mov edx, dword [esp + 8]
push edx
call fcn.004ae3f0
pop edx
push eax
push edx
call fcn.004ae4c0
pop eax
push eax
call fcn.00454370
pop edx
add eax, edx
jmp 0x451684
push dword [esp]
call fcn.004ae5f0
push dword [esp + 4]
call fcn.004ae5f0
push dword [esp + 8]
call fcn.004ae5f0
add esp, 0x10
pop ebx
ret 4
Function at 0x4521a1
Capabilities:
Delete registry key

Disassembly:
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4521a7
call fcn.004ae590
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.00454000
mov edx, dword [esp + 0x28]
lea ecx, [esp + 4]
call fcn.00454000
push dword [esp]
call fcn.00452328
push dword [esp + 4]
mov edx, 0x539664
pop ecx
call fcn.00454330
je 0x452276
cmp dword [0x15e8bf0], 0
je 0x45225c
mov eax, 0x538cc0
push eax
push 0xffffffff
call fcn.00490440
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x45225a
mov eax, 0x548748
push eax
push dword [esp + 0xc]
call fcn.0049049a
mov dword [esp + 0xc], eax
push 0
mov ebx, dword [0x15e8bf4]
or ebx, 0xf003f
push ebx
mov eax, dword [0x15e8be4]
push eax
push dword [0x15e8bec]
push dword [esp + 0x1c]
call fcn.004904f6
mov dword [esp + 0x10], eax
push dword [esp + 8]
call fcn.00490380
jmp 0x452271
mov eax, dword [0x15e8be4]
push eax
push dword [0x15e8bec]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov dword [esp + 0x10], eax
jmp 0x4522ff
lea eax, [esp + 0x18]
push eax
push dword [0x15e8bec]
push dword [esp + 0xc]
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [esp + 0x14], eax
cmp dword [0x15e8bf0], 0
je 0x4522ec
mov eax, 0x538cc0
push eax
push 0xffffffff
call fcn.00490440
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x4522ea
push 0
mov ebx, dword [0x15e8bf4]
or ebx, 0xf003f
push ebx
mov eax, dword [0x15e8be4]
push eax
push dword [esp + 0x24]
mov eax, 0x548748
push eax
push dword [esp + 0x1c]
call fcn.00490553
mov dword [esp + 0x10], eax
push dword [esp + 8]
call fcn.00490380
jmp 0x4522ff
mov eax, dword [0x15e8be4]
push eax
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x45230e
mov eax, 1
jmp 0x452310
xor eax, eax
push dword [esp + 4]
call fcn.004ae5f0
push dword [esp]
call fcn.004ae5f0
add esp, 0x1c
pop ebx
ret 8
Function at 0x45252a
Capabilities:
Get graphical window text

Disassembly:
push ebx
xor eax, eax
push eax
call fcn.004ae590
push dword [esp + 0xc]
call fcn.004543a0
mov ebx, dword [0x15e8c2c]
and ebx, ebx
jne 0x452566
push 0
push 0
call sub.USER32.dll_FindWindowW
mov dword [0x15e8c30], eax
mov dword [0x15e8c2c], 1
jmp 0x45257b
push 2
push dword [0x15e8c30]
call sub.USER32.dll_GetWindow
mov dword [0x15e8c30], eax
mov ebx, dword [0x15e8c30]
and ebx, ebx
je 0x452615
push 0xfffffff0
push dword [0x15e8c30]
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
and ebx, 0x10000000
cmp ebx, 0x10000000
jne 0x452613
push 0xffffffec
push dword [0x15e8c30]
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
and ebx, 0x80
cmp ebx, 0x80
je 0x452613
push edx
call fcn.004ae3f0
pop edx
push eax
push edx
call fcn.004ae3f0
pop edx
push eax
push 0x100
call fcn.004abe40
lea eax, [esp + 4]
push eax
call fcn.004ae430
push 0x100
push dword [esp + 4]
push dword [0x15e8c30]
call sub.USER32.dll_GetWindowTextW
push dword [esp]
mov edx, 0x5380c4
pop ecx
call fcn.00454330
jne 0x452613
jmp 0x45262d
jmp 0x45261f
mov dword [0x15e8c2c], 0
mov ebx, dword [0x15e8c30]
and ebx, ebx
jne 0x45253c
mov edx, dword [esp]
push edx
call fcn.004ae3f0
pop edx
push eax
push edx
call fcn.004ae4c0
pop eax
push eax
call fcn.00454370
pop edx
add eax, edx
jmp 0x452654
push dword [esp]
call fcn.004ae5f0
add esp, 4
pop ebx
ret

Function at 0x452661
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
mov edx, 0x19
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x452668
call fcn.004ae590
mov edx, dword [esp + 0x70]
lea ecx, [esp]
call fcn.00454000
lea eax, [esp + 4]
lea eax, [esp + 0x48]
lea ebp, [esp + 4]
mov dword [ebp], 0x44
mov dword [ebp + 0x2c], 1
mov ebx, dword [esp + 0x74]
and ebx, 2
and ebx, ebx
je 0x4526b7
lea ebp, [esp + 4]
mov word [ebp + 0x30], 0
jmp 0x4526c1
lea ebp, [esp + 4]
mov word [ebp + 0x30], 1
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x20]
push 0
call sub.KERNEL32.dll_CreateProcessW
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
je 0x45274a
mov ebx, dword [esp + 0x74]
and ebx, 1
and ebx, ebx
je 0x452741
lea ebp, [esp + 0x48]
push dword [ebp + 4]
pop eax
mov dword [esp + 0x5c], eax
push 1
call fcn.00498c03
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x60]
call sub.KERNEL32.dll_GetExitCodeThread
mov ebx, dword [esp + 0x60]
cmp ebx, 0x103
je 0x45273f
jmp 0x452741
jmp 0x452719
lea ebp, [esp + 0x48]
mov eax, dword [ebp]
jmp 0x45274c
xor eax, eax
push dword [esp]
call fcn.004ae5f0
add esp, 0x64
pop ebx
pop ebp
ret 8
Function at 0x452775
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
push ebx
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x45277c
call fcn.004ae590
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
and eax, eax
je 0x452836
lea eax, [esp + 8]
lea eax, [esp + 8]
push eax
mov eax, 0x5405a2
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueW
and eax, eax
je 0x45282d
lea eax, [esp + 0x10]
lea ebp, [esp + 0x10]
mov dword [ebp], 1
lea ebp, [esp + 8]
push dword [ebp]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 4], eax
lea ebp, [esp + 8]
push dword [ebp + 4]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 8], eax
push ebp
pop ebp
mov dword [ebp + 0xc], 2
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x18]
call sub.ADVAPI32.dll_AdjustTokenPrivileges
push eax
pop eax
mov byte [esp], al
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
movsx eax, byte [esp]
movsx eax, al
jmp 0x452841
add esp, 0x34
pop ebx
pop ebp
ret

Function at 0x454c15
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x454cad
push edi
push 0x166236c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x15e8d0c]
test edi, edi
je 0x454c81
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x454c7a
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x15e8d0c
call fcn.004ae307
pop ecx
pop ecx
jmp 0x454c7c
mov edi, dword [edi]
test edi, edi
jne 0x454c51
pop ebx
mov eax, dword [0x15e4d34]
mov esi, eax
inc eax
push 0x10
push 0x15e8d0c
mov dword [0x15e4d34], eax
call fcn.004ae347
pop ecx
pop ecx
push 0x166236c
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8

Function at 0x454cb5
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
call fcn.00454b88
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, 0x166236c
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x15e8d0c]
jmp 0x454ce6
cmp dword [esi + 0xc], edi
je 0x454cec
mov esi, dword [esi]
test esi, esi
jne 0x454cdf
jmp 0x454d04
add esi, 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x15e8d0c
call fcn.004ae307
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 4
Function at 0x454fc4
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x455019
push dword [esp + 0x10]
push 0x454f43
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x15e8d14]
test esi, esi
je 0x455072
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x455011
cmp byte [esi + 0x10], 0
je 0x455011
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x454fed
jmp 0x455072
mov esi, dword [0x15e8d14]
test esi, esi
je 0x455072
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x45506b
cmp byte [esi + 0x11], 0
je 0x455047
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x45505e
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x15e8d14
call fcn.004ae307
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x455026
pop ebp
pop edi
pop esi
pop ebx
ret 4