joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417c50
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x496200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, 0x1400
cmp ax, di
je 0x417cff
push 9
lea eax, [ebp - 0x18]
mov ebx, edi
push eax
push 0x59
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x417cff
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404cf0
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x417cb7
mov eax, dword [esi]
jmp 0x417cb9
mov eax, esi
xor ecx, ecx
and edi, 0xfc00
mov word [eax], cx
xor eax, eax
cmp ax, di
je 0x417cec
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x417cec
dec eax
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404cf0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430b83
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430b83
mov esp, ebp
pop ebp
ret
Function at 0x41986b
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x496200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x34], eax
mov edx, dword [edi + 0x20]
test edx, edx
jne 0x419896
xor al, al
jmp 0x419965
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
mov eax, dword [edx]
push ebx
push ecx
push edx
call dword [eax + 0x1c]
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], ebx
je 0x4198b4
xor al, al
jmp 0x419964
mov eax, dword [edi + 0x20]
lea edx, [ebp - 0x28]
and dword [ebp - 0x28], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x30]
and dword [ebp - 0x2c], 0
push edx
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push ebx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x419946
push esi
push dword [ebp - 0x2c]
call fcn.004199ce
pop ecx
pop ecx
test eax, eax
js 0x419946
push 0x38
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.00430bd0
add esp, 0xc
mov dword [ebp - 0x68], 0x10
cmp dword [esi + 0x14], 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], 0x3c
jb 0x41991c
mov eax, dword [esi]
jmp 0x41991e
mov eax, esi
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x419977
cmp dword [esi + 0x14], 8
jb 0x419939
mov esi, dword [esi]
push esi
push str.Failed_to_crack_url__ls_n
call fcn.004016e0
pop ecx
pop ecx
xor bl, bl
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x419955
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x419962
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00430b83
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x24]
push esi
push eax
push str.Launch_scheme_is___ls____d__n
call fcn.004016e0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov dword [eax], esi
jmp 0x419948
Function at 0x419e2e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x496200]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x34]
push edi
lea eax, [esi + 0xb0]
push eax
call fcn.00403860
cmp dword [esi + 0xc8], 5
jne 0x419e8b
mov edi, 0x4525c0
push edi
call fcn.00401720
pop ecx
push eax
push 0
push edi
lea ecx, [ebp - 0x34]
call fcn.004043f0
cmp eax, 0xffffffff
je 0x419e8b
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
xor ecx, ecx
mov word [eax], cx
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [esi + 0x24]
push eax
lea ebx, [esi + 0x3c]
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0041d00c
add esp, 0x10
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
push 0
push eax
call fcn.004032f0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push str.Formatted_command_line_is__ls_n
call fcn.004016e0
xor eax, eax
lea edi, [ebp - 0x44]
cmp dword [ebp - 8], 8
stosd dword es:[edi], eax
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
cmp dword [ebx + 0x14], 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jb 0x419ee6
mov ebx, dword [ebx]
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + 0x54]
xor esi, esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop ebx
test eax, eax
je 0x419f22
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040e2e0
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea ecx, [ebp - 0x54]
call fcn.0040e310
jmp 0x419f28
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 1
lea ecx, [ebp - 0x1c]
call fcn.00404560
lea ecx, [ebp - 0x6c]
call fcn.004026a0
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.00404560
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00430b83
mov esp, ebp
pop ebp
ret
Function at 0x41a7b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x496200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x410], eax
xor eax, eax
push 0x60
push eax
push esi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x408], eax
call ebx
mov edi, eax
test edi, edi
jne 0x41a81e
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x41a81e
call fcn.00418f50
mov esi, eax
jmp 0x41a8bf
push dword [ebp - 0x410]
push dword [ebp - 0x40c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41a83e
call fcn.00418f50
jmp 0x41a8b2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41a837
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x41a864
mov esi, 0x8007000e
jmp 0x41a8b4
push eax
lea ecx, [ebp - 0x408]
call fcn.00418db5
cmp dword [ebp - 0x408], 0
je 0x41a85d
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x41a837
mov eax, dword [ebp - 0x408]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.0041a67a
mov esi, eax
test edi, edi
je 0x41a8bf
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x41a8d8
lea ecx, [ebp - 0x408]
call fcn.004195e4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430b83
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41b018
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x41b02b
push 0xd
pop eax
jmp 0x41b06f
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x41b03e
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x41b036
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41b107
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x41b119
push 0xd
pop eax
jmp 0x41b14b
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41b122
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x41b6aa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x496200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
xor edi, edi
mov word [ebp - 0x210], ax
push 0x208
lea eax, [ebp - 0x20e]
mov dword [ebp - 0x244], edi
push edi
push eax
call fcn.00430bd0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x214], 7
mov esi, 0x451c74
mov dword [ebp - 0x218], edi
push esi
mov word [ebp - 0x228], ax
call fcn.00401720
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.00404cf0
call fcn.0041b85b
test al, al
je 0x41b751
mov esi, str.S_1_5_18
push esi
call fcn.00401720
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.004062c0
jmp 0x41b7b9
xor eax, eax
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x230], edi
call fcn.0040f1d0
pop ecx
test al, al
je 0x41b792
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x228]
call fcn.00404200
jmp 0x41b7ab
mov esi, str.S_1_5_18
push esi
call fcn.00401720
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.004062c0
push edi
push 1
lea ecx, [ebp - 0x240]
call fcn.00404560
push 0xc8
call fcn.0042f3d2
mov edi, eax
pop ecx
test edi, edi
je 0x41b81d
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.00403890
cmp dword [ebp - 0x214], 8
lea esi, [ebp - 0x228]
mov dword [ebp - 0x244], 1
cmovae esi, dword [ebp - 0x228]
call fcn.0041b543
push eax
push esi
push 0x160
push 7
xor esi, esi
lea eax, [ebp - 0x240]
push esi
push esi
push esi
push eax
mov ecx, edi
call fcn.0041d212
jmp 0x41b821
xor esi, esi
mov eax, esi
test byte [ebp - 0x244], 1
mov dword [ebx], eax
je 0x41b83a
push esi
push 1
lea ecx, [ebp - 0x240]
call fcn.00404560
push esi
push 1
lea ecx, [ebp - 0x228]
call fcn.00404560
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430b83
mov esp, ebp
pop ebp
ret

Function at 0x41b85b
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x496200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
xor ebx, ebx
push 0x40e
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push ebx
push eax
call fcn.00430bd0
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0x208
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00430bd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x41b902
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004308f0
xor edx, edx
movzx ebx, bl
lea esi, [ebp - 0x61c]
inc edx
pop ecx
cmp eax, esi
pop ecx
cmove ebx, edx
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00430b83
mov esp, ebp
pop ebp
ret
Function at 0x41ca93
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x41cad7
push edi
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x41c473
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x41cad4
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420b95
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1284
call fcn.00430ba0
mov eax, dword [0x496200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1270], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1274], eax
lea eax, [ebp - 0x1280]
push edi
push eax
mov dword [ebp - 0x1284], ebx
call fcn.00420f26
push eax
push esi
call fcn.00420661
add esp, 0xc
test al, al
jne 0x420bed
xor al, al
jmp 0x420cf8
mov edi, dword [ebp - 0x127c]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x420c07
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x420be6
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
je 0x420ce2
push 0x452f80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.00433c82
pop ecx
pop ecx
test eax, eax
jne 0x420ce2
lea eax, [ebp - 0x20c]
push eax
push 0x824
lea eax, [ebp - 0x1254]
push eax
push ebx
push 0x452f8c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x420ce2
lea eax, [ebp - 0x1254]
push eax
lea ecx, [ebp - 0x126c]
call fcn.00403890
sub esp, 0x64
lea eax, [ebp - 0x126c]
mov ecx, esp
push eax
call fcn.0042a375
mov ecx, dword [ebp - 0x1270]
call fcn.0042a428
push ebx
push 1
lea ecx, [ebp - 0x126c]
call fcn.00404560
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push esi
call fcn.00401720
pop ecx
mov ecx, dword [ebp - 0x1274]
push eax
push esi
call fcn.00404cf0
mov eax, dword [ebp - 0x1270]
mov bl, byte [eax + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x1280]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430b83
mov esp, ebp
pop ebp
ret
Function at 0x429c06
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
xor edi, edi
call fcn.00426332
pop ecx
push edi
push 0x10000080
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 4], esi
cmp esi, 0xffffffff
jne 0x429c45
xor al, al
jmp 0x429cc8
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x429c85
push 0
push 0
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x429c85
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
and dword [ebp - 8], 0
lea edi, [ebp - 0x10]
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call edi
test esi, esi
je 0x429c3e
xor eax, eax
push eax
push eax
push eax
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 4], eax
test eax, eax
jne 0x429cc3
push esi
call edi
jmp 0x429c3e
mov dword [ebx + 0x14], esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446c65
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x496200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0043addb
mov dword [ebp - 0x14], eax
cmp dword [0x49d9a8], esi
jne 0x446d58
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x446ce5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x446e38
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x446e38
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446e38
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x49d9a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x49d9ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x49d9b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49d9b8], eax
test eax, eax
je 0x446d55
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49d9b4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x446d7d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x446d70
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x446d92
push 4
pop eax
jmp 0x446e3a
cmp dword [ebp - 0x14], esi
je 0x446d92
push dword [0x49d9a8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x446d77
mov eax, dword [0x49d9b4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x446df0
cmp dword [0x49d9b8], edi
je 0x446df0
push eax
call ebx
push dword [0x49d9b8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x446df0
test eax, eax
je 0x446df0
call ecx
test eax, eax
je 0x446de5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x446de5
test byte [ebp - 8], 1
jne 0x446df0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x446e20
mov eax, dword [0x49d9ac]
cmp eax, edi
je 0x446e1d
push eax
call ebx
test eax, eax
je 0x446e1d
call eax
mov esi, eax
test esi, esi
je 0x446e1d
mov eax, dword [0x49d9b0]
cmp eax, edi
je 0x446e1d
push eax
call ebx
test eax, eax
je 0x446e1d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x49d9a8]
call ebx
test eax, eax
je 0x446e38
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x446e3a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430b83
mov esp, ebp
pop ebp
ret
Function at 0x1000260a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10002619
pop dword [ebp - 0x48]
mov eax, 0xb8324b13
add eax, 0x57cddb06
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x5e703ddb
sub dword [ebp - 0x58], 0x101df890
mov dword [ebp - 0x54], 0xd34e5d45
add dword [ebp - 0x54], 0x5ee4ef00
mov dword [ebp - 0x50], 0x23f95bc3
sub dword [ebp - 0x50], 0xd7ad1795
mov dword [ebp - 0x4c], 0xdbe42215
add dword [ebp - 0x4c], 0x241bddeb
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x99712254
add dword [ebp - 0x58], 0xdb014702
mov dword [ebp - 0x54], 0x710a705e
add dword [ebp - 0x54], 0xd061f117
mov dword [ebp - 0x50], 0x8cbb971f
add dword [ebp - 0x50], 0xd6b3d54d
mov dword [ebp - 0x4c], 0xef1e0b6c
add dword [ebp - 0x4c], 0x10e1f494
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3a485
push 0
call eax
mov ecx, 0x23b5d679
sub ecx, 0x23b583a8
mov ebx, eax
mov edi, 0xe6f828e2
add edi, 0x2909271e
add edi, dword [ebp - 0x48]
mov edx, 0x371fd16b
add edx, 0xd271a4c8
add dword [ebp - 0x1c], 0xab949311
mov esi, dword [edi]
sub dword [ebp - 0x18], edi
add esi, edx
mov dword [ebp - 0x14], 0xc822105
mov dword [ebx], esi
xor dword [ebp - 0x1c], 0x3bf6a7c2
add ebx, 4
add edi, 0x2d06df37
sub edi, 0x2d06df33
loop 0x10002731
add eax, 0x13e17
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xce4a497b
sub ecx, 0xbe4a497b
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x408490
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4084bc
xor al, al
jmp 0x40855e
push 0xf01ff
mov eax, dword [ebp - 0x34]
add eax, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408547
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x40852b
lea edx, [ebp - 0x28]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0
je 0x40852b
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40852b
cmp dword [ebp - 0x24], 1
je 0x40852b
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408509
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x40853d
mov byte [ebp - 5], 1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
call eax
mov esp, ebp
pop ebp
ret

Function at 0x408810
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x433b34]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x9c
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.00414300
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 6
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413572
mov esp, ebp
pop ebp
ret

Function at 0x413572
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433b34]
jne 0x41357c
repz ret
jmp fcn.00419078
Function at 0x41f250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41f281
call fcn.00415e11
mov dword [eax], esi
call fcn.00415dfe
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004152d1
add esp, 0x14
push 0x16
pop eax
jmp 0x41f2d6
test dword [ebp + 0xc], 0xfffffff9
jne 0x41f25d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41f2ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00415e24
pop ecx
call fcn.00415dfe
mov eax, dword [eax]
jmp 0x41f2d6
test al, 0x10
jne 0x41f2d4
test al, 1
je 0x41f2d4
test byte [ebp + 0xc], 2
je 0x41f2d4
call fcn.00415e11
mov dword [eax], 5
call fcn.00415dfe
mov dword [eax], 0xd
jmp 0x41f2a5
xor eax, eax
pop esi
pop ebp
ret