joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50bac8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x50bada
add esp, 0xfffffff0
call fcn.004054e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00450c38
mov eax, dword [0x5276f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x50bf0c
mov eax, dword [0x527708]
mov dword [eax + 4], ebx
mov dword [eax], 0x50bf18
mov eax, ebx
call fcn.0050bf24
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x4366b8]
call fcn.00404ea8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4366b8]
call fcn.00404ea8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4366b8]
call fcn.00404ea8
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4366b8]
call fcn.00404ea8
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4366b8]
call fcn.00404ea8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x5068fc
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x45f4a0]
call fcn.004654a0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x45f4a0]
call fcn.004654a0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x45f4a0]
call fcn.004654a0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x45f4a0]
call fcn.004654a0
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x45f4a0]
call fcn.004654a0
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.0050c51c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50c338
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50c338
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50c338
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50c338
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x50c338
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x50bc57
call fcn.0040553c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x50c0d8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50c283
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x50c264
mov dl, 1
mov eax, dword [0x439e2c]
call fcn.004482c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406b14
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x50c253
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00493518
test al, al
je 0x50c246
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x50c294
lea eax, [ebp - 0x394]
call fcn.0041f350
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x50c246
xor eax, eax
push ebp
push 0x50c23f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x50c304
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x50c228
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004076c4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x50c228
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004076c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c246
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x50c149
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00448200
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c28a
lea eax, [ebp - 0x3a0]
call fcn.00406b14
ret

Function at 0x50ce3c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x52d304]
cmp byte [eax + 0xb1], 0
jne 0x50ceae
cmp dword [0x52d324], 0
jne 0x50ce6e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x527568]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x52d324], eax
cmp dword [0x52d320], 0
jne 0x50ce89
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x52d320], eax
cmp dword [0x52d328], 0
jne 0x50ceae
push esp
push 0
push 0
mov eax, dword [0x527564]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x52d328], eax
pop edx
ret
Function at 0x50d1c4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x50d1db
add esp, 0xfffffff0
call fcn.004054e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00450c38
mov eax, dword [0x5275d8]
cmp byte [eax], 0
jne 0x50d208
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x5278bc]
cmp word [eax + 2], 0
jne 0x50d222
mov eax, dword [0x5278bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0050f350
mov eax, dword [0x5279e0]
cmp word [eax + 2], 0
jne 0x50d23c
mov eax, dword [0x5279e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0050f554
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x45f4a0]
call fcn.004654a0
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x50facc
mov dl, 1
mov eax, dword [0x4366b8]
call fcn.00404ea8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4366b8]
call fcn.00404ea8
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x463d80]
call fcn.0046ea10
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x50d420
mov eax, dword [0x527798]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0046eea4
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x50fdb4
mov dl, 1
mov eax, dword [0x4366b8]
call fcn.00404ea8
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x527798]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f164
test eax, eax
je 0x50d350
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041ef14
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f148
test eax, eax
je 0x50d368
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004076c4
push ebx
push 0x50ed34
call fcn.00502e58
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x5275d8]
cmp byte [eax], 0
jne 0x50d3b9
mov eax, ebx
call fcn.0050d5e0
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.0050ffe8
mov eax, ebx
call fcn.00510c14
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x50d416
call fcn.0040553c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50d908
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x50d9aa
cmp dword [ebx + 0x98], 0
jne 0x50d9a4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x50d844
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x50d9a4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x50d96a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x50d9a4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.00443c9c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x50d979
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x50dbc8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x52d304]
cmp dword [eax + 0x178], 0
je 0x50dd2d
test bl, bl
jne 0x50dc7b
cmp dword [esi + 0xa0], 0
jne 0x50dc70
mov eax, esi
call fcn.00510a64
push eax
push 0x50dad4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x50dc41
mov eax, dword [0x52d304]
cmp byte [eax + 0xd7], 0
je 0x50dc41
mov eax, dword [esi + 0xdc]
call fcn.00408780
mov edi, eax
cmp edi, 0
jl 0x50dc41
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x50dc2a
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x50dc70
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00443c9c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x50dc50
inc dword [esi + 0xa0]
jmp 0x50dd2d
cmp dword [esi + 0xa0], 0
jle 0x50dd2d
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x50dd2d
cmp dword [esi + 0x48], 0
je 0x50dcd8
mov eax, dword [0x52d304]
cmp byte [eax + 0xd7], 0
je 0x50dcd8
mov eax, dword [esi + 0xdc]
call fcn.00408780
mov edi, eax
cmp edi, 0
jl 0x50dcd8
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x50dcc1
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x50dd07
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00443c9c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x50dce7
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x4ff81c]
call fcn.0040892c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x50e980
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x50e9eb
cmp byte [ebx + 0xd7], 0
jne 0x50e9eb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406c9c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x50e9d8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x50e9f8
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406ef4
jmp 0x50e9f8
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406ef4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x5101d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x51023e
mov eax, esi
call fcn.0048d594
test al, al
je 0x51023e
mov eax, dword [ebx + 0x88]
call fcn.0048d1e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x51023e
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x510232
push 0
mov eax, dword [ebx + 0x88]
call fcn.0048d1e8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00484050
jmp 0x51023e
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.00510008
pop esi
pop ebx
ret
Function at 0x5169bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x516a36
mov eax, dword [ebx + 8]
call fcn.0048d1e8
mov ecx, eax
mov dl, 1
mov eax, dword [0x49acd4]
call fcn.00487670
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.004a0878
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x5162d0
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048d1e8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048d1e8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x516aac
mov eax, dword [ebx + 8]
call fcn.0048d1e8
mov ecx, eax
mov dl, 1
mov eax, dword [0x49acd4]
call fcn.00487670
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.004a0878
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x51631c
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048d1e8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048d1e8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x516b18
mov eax, dword [ebx + 8]
call fcn.0048d1e8
mov ecx, eax
mov dl, 1
mov eax, dword [0x49b710]
call fcn.00487670
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048d1e8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048d1e8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4f0690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x93000]
mov dword [edi + 0xcf740], 0x7d6ef416
push edi
jmp 0x4f06ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f06c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f06b0
mov eax, 1
add ebx, ebx
jne 0x4f06d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f06e4
jne 0x4f0703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f0703
dec eax
add ebx, ebx
jne 0x4f06f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f06c8
add ebx, ebx
jne 0x4f06ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f0755
xor ecx, ecx
sub eax, 3
jb 0x4f071b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f078a
sar eax, 1
mov ebp, eax
jmp 0x4f0726
add ebx, ebx
jne 0x4f0726
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f06f4
inc ecx
add ebx, ebx
jne 0x4f0734
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f06f4
add ebx, ebx
jne 0x4f0741
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f0736
jne 0x4f0752
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f0736
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f0774
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f0766
jmp 0x4f06b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f0774
add edi, ecx
jmp 0x4f06b6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f0792
cmp byte [edi], 0x11
jne 0x4f0792
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 0x4f0797
lea edi, [esi + 0xe9000]
mov eax, dword [edi]
or eax, eax
je 0x4f080f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfb838]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfb9b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f07c4
mov ecx, edi
jns 0x4f07f3
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 + 0xfb9b8]
or eax, eax
je 0x4f0809
mov dword [ebx], eax
add ebx, 4
jmp 0x4f07e1
call dword [esi + 0xfb9c8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4f0840
cmp al, 0xef
ja 0x4f0833
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4f0815
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4f0822
mov ebp, dword [esi + 0xfb9bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x4f0874
sub esp, 0xffffff80
jmp 0x420577
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x1248781c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2250530e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x88e3691
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x6151e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4017c9
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push 0xa
pop edi
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x18]
dec eax
je 0x4017f8
sub eax, 3
je 0x4017f3
sub eax, 3
jne 0x401805
xor ebx, ebx
inc ebx
jmp 0x401805
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
dec edi
test ebx, ebx
jne 0x401819
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jne 0x4017d6
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x402444
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x42d028]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x78], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 2
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
push eax
push 0x12
mov esi, 0x400
push esi
call edi
mov ebx, dword [sym.imp.MSVCR90.dll__wtoi]
lea eax, [ebp - 0x5c]
push eax
call ebx
pop ecx
push 4
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x20]
push eax
push 0xe
push esi
mov dword [ebp - 0x70], 3
call edi
lea eax, [ebp - 0x20]
push 4
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x14]
push eax
push 0xf
push esi
call edi
lea eax, [ebp - 0x14]
push 2
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x5c]
push eax
push 0x1010
push esi
call edi
lea eax, [ebp - 0x5c]
push eax
call ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push 0x420994
push eax
call fcn.00405ae6
add esp, 0x14
push 0x100
push dword [ebp - 0x60]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x60]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f74
leave
ret 0xc
Function at 0x402ad1
Capabilities:
Check if file exists
Create directory

Disassembly:
push 4
mov eax, 0x416f17
call fcn.00415952
and dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call dword [0x41a924]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
inc eax
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push eax
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call dword [0x41a720]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402b41
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
inc eax
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp + 8]
call fcn.00415a2a
ret 0xc