joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e94
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push esi
lea ecx, [ebp - 0x10c]
push dword [ebp + 0x10]
push str._sVietkey_2000.LNK
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [0x409078], 0
jne 0x403ed1
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x403fac
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 4]
push eax
push 0x4081f0
push 1
push 0
push 0x408010
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x403fac
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
push eax
push 0x408340
mov eax, dword [ecx]
push dword [ebp - 4]
call dword [eax]
test eax, eax
jl 0x403fa1
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
push dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x50]
test eax, eax
jge 0x403f33
push str.SetPath_failed_
call fcn.00403e7c
add esp, 4
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
jge 0x403f52
push str.SetDescription_failed_
call fcn.00403e7c
add esp, 4
push 0x104
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x10c]
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
lea ecx, [ebp - 0x314]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push dword [ebp - 8]
call dword [eax + 0x18]
test eax, eax
jge 0x403f96
push str.Save_failed_
call fcn.00403e7c
add esp, 4
mov eax, dword [ebp - 8]
push dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 8]
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403fb1
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ecx, 0xb
mov ebp, esp
sub esp, 0x244
push esi
push edi
mov esi, str.Shortcut_to_Vietkey_2000___Vietnamese_keyboard
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x40bc60
lea eax, [ebp - 0x244]
movsb byte es:[edi], byte [esi]
mov esi, 0x104
push str._sVKNT.EXE
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40408a
lea eax, [ebp - 8]
lea ecx, [ebp - 0x140]
push eax
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
push str.Desktop
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x140]
lea edx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x244]
push edx
push eax
call fcn.00403e94
add esp, 0xc
lea ecx, [ebp - 0x140]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
lea esi, [ebp - 8]
push esi
push ecx
push eax
push 0
push str.Start_Menu
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x140]
lea edx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x244]
push edx
push eax
call fcn.00403e94
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404090
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push esi
lea eax, [ebp - 4]
push edi
mov esi, str.Vietkey
lea edi, [ebp - 0xc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xf003f
xor esi, esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404122
cmp dword [0x409074], esi
je 0x40410c
push 0x104
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
lea ecx, [ebp - 0x110]
push eax
lea edx, [ebp - 0xc]
push ecx
push 1
push esi
push edx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x404119
jmp 0x404122
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404755
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push 0xffffffffffffffeb
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
push 0
push 0
push 0x130b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
lea edi, [esi + 4]
mov eax, dword [edi]
test eax, eax
je 0x404789
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov eax, ebx
shl eax, 4
push dword [eax + 0x409b14]
push dword [esi]
push dword [esi + ebx*4 + 0x18]
push dword [0x40bbd0]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
push 5
mov dword [edi], eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
ret 4

Function at 0x404e6d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
xor ebx, ebx
mov eax, dword [0x40b714]
push ebx
add eax, 0x48
push pe_nt_image_headers32
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov ecx, dword [0x40bbf4]
mov dword [0x40b71c], ecx
cmp ecx, ebx
je 0x404f06
mov eax, dword [0x40b71c]
add eax, 9
cmp byte [eax], bl
je 0x404ef4
push eax
lea edx, [ebp - 0x104]
push dword [0x40b71c]
push str._s_s_r_n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 4]
lea edx, [ebp - 0x104]
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x40b71c]
mov ecx, dword [eax + 0x4c]
mov dword [0x40b71c], ecx
cmp ecx, ebx
jne 0x404eab
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406a80
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408430
push 0x407a4c
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x40ade8], eax
xor eax, eax
mov al, byte [0x40ade9]
mov dword [0x40adf4], eax
mov eax, dword [0x40ade8]
shr dword [0x40ade8], 0x10
and eax, 0xff
mov dword [0x40adf0], eax
shl eax, 8
add eax, dword [0x40adf4]
mov dword [0x40adec], eax
call fcn.00406c60
mov dword [ebp - 4], 0
call fcn.00407870
call fcn.00407860
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40be84], eax
call fcn.00407400
mov dword [0x40adc0], eax
test eax, eax
je 0x406b19
cmp dword [0x40be84], 0
jne 0x406b23
push 0xffffffffffffffff
call fcn.00406cb0
add esp, 4
call fcn.00407180
call fcn.004070a0
call fcn.00406c80
mov esi, dword [0x40be84]
mov al, byte [esi]
cmp al, 0x22
je 0x406b4a
cmp al, 0x20
jbe 0x406b77
inc esi
cmp byte [esi], 0x20
ja 0x406b42
jmp 0x406b77
inc esi
cmp byte [esi], 0x22
je 0x406b76
mov bl, byte [ebp - 0x28]
mov bl, byte [esi]
test bl, bl
je 0x406b71
xor eax, eax
mov al, bl
push eax
call fcn.00407040
add esp, 4
test eax, eax
je 0x406b6b
inc esi
inc esi
cmp byte [esi], 0x22
jne 0x406b53
cmp byte [esi], 0x22
jne 0x406b77
inc esi
cmp byte [esi], 0
je 0x406b87
cmp byte [esi], 0x20
ja 0x406b87
inc esi
cmp byte [esi], 0
jne 0x406b7c
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x44], 1
mov eax, 0xa
je 0x406bab
mov eax, dword [ebp - 0x40]
and eax, 0xffff
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00406cb0
jmp 0x406bec
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406cf0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x40ae24], 1
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
jne 0x406d0e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x40ae20], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x40ae1c], bl
jne 0x406d68
cmp dword [0x40be78], 0
je 0x406d56
mov edi, dword [0x40be74]
sub edi, 4
cmp dword [0x40be78], edi
ja 0x406d56
mov eax, dword [edi]
test eax, eax
je 0x406d4b
call eax
sub edi, 4
cmp dword [0x40be78], edi
jbe 0x406d43
push 0x409014
push 0x409010
call fcn.00406da0
add esp, 8
push 0x40901c
push 0x409018
call fcn.00406da0
add esp, 8
test ebx, ebx
jne 0x406d8f
mov dword [0x40ae24], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
ret
Function at 0x407400
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
cmp dword [0x40aec8], 0
push ebx
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push ebp
jne 0x40744c
call esi
mov edi, eax
test edi, edi
je 0x40742a
mov dword [0x40aec8], 1
jmp 0x407450
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x407442
mov dword [0x40aec8], 2
jmp 0x407454
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
cmp dword [0x40aec8], 1
jne 0x407503
test edi, edi
jne 0x407477
call esi
mov edi, eax
test edi, edi
jne 0x407477
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x407491
add esi, 2
cmp word [esi], 0
jne 0x40747f
add esi, 2
cmp word [esi], 0
jne 0x40747f
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x4074f2
push ebp
call fcn.004064e0
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x4074f2
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4074e1
push ebx
call fcn.004066d0
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x40aec8], 2
jne 0x407587
test ebx, ebx
jne 0x407526
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x407526
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x40753b
inc ebp
cmp byte [ebp], 0
jne 0x40752d
inc ebp
cmp byte [ebp], 0
jne 0x40752d
sub ebp, ebx
inc ebp
push ebp
call fcn.004064e0
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x407560
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x407b70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x40b0f0
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x407b97
add eax, 8
inc ecx
cmp eax, 0x40b178
jb 0x407b88
cmp dword [ecx*8 + 0x40b0f0], edx
lea ebx, [ecx*8]
jne 0x407d52
cmp dword [0x40adcc], 1
je 0x407d17
cmp dword [0x40adcc], 0
jne 0x407bce
cmp dword [0x40add0], 1
je 0x407d17
cmp edx, 0xfc
je 0x407d52
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x407c0b
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x407c4f
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x4086e8
push ebp
call fcn.00406980
add esp, 0xc
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4086c8
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x40b0f4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.00407d60
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x40bd70]
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x407d2e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x40b0f4]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x425d70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x425d92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425d99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425d88
mov eax, 1
add ebx, ebx
jne 0x425dab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425da0
jne 0x425dbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425da0
xor ecx, ecx
sub eax, 3
jb 0x425dd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x425e42
mov ebp, eax
add ebx, ebx
jne 0x425ddb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x425de8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x425e0c
inc ecx
add ebx, ebx
jne 0x425df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x425ded
jne 0x425e09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425ded
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425e2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425e1d
jmp 0x425d8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425e2c
add edi, ecx
jmp 0x425d8e
pop esi
mov edi, esi
mov ecx, 0x3e1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425e4a
cmp byte [edi], 2
jne 0x425e4a
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 0x425e4f
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425ec7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x399dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39a18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425e7c
mov ecx, edi
jns 0x425eab
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 + 0x39a20]
or eax, eax
je 0x425ec1
mov dword [ebx], eax
add ebx, 4
jmp 0x425e99
call dword [esi + 0x39a1c]
mov ebp, dword [esi + 0x39a24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x425efb
sub esp, 0xffffff80
jmp 0x40155c

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x480a8e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004681a7
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 0x480ac6
xor eax, eax
jmp 0x480af2
cmp esi, dword [ebp - 4]
je 0x480aef
cmp dword [ebp + 0xc], 0
je 0x480aef
push dword [edi + 0x9c]
call fcn.0048069c
push dword [edi + 0x9c]
mov esi, eax
call fcn.00465be2
pop ecx
pop ecx
cmp esi, eax
je 0x480ac2
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x5e9763
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa61cec
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x5e97e3
arpl word [edx + esi], si
add eax, 0x4b67800b
or dword [esi + 0x2b], ebp
ja 0x5e980a
aad 0x2d
adc al, byte [eax]
lodsd eax, dword [esi]
jmp 0x5e979c
lea esp, [edx]
rol dword [esi - 0x79], 0xbc
add cl, cl
cmc
call 0x1d139148
push esi
add ch, byte [esp + 0x14a10d5c]
cmp byte [ebp - 0x42], 0x9d
mov eax, dword [0xbe7d8214]
popfd
xchg dword [ebp - 0x36], ecx
xlatb
jg 0x5e97ca
shr byte [esi + ecx*4 - 0x30], 1
mov bl, 0x53
jbe 0x5e97b2
xor dh, bl
mov bh, 0xb2
out 0xb5, al
or dword [esp + ebp*8 + 0x78], esi
pop edx
add eax, 0x4790403e
adc edx, eax
adc eax, 0x6fd1d2bd
mov byte [ecx - 0x77a6e790], ah
xchg edi, eax
wait
fisubr word [ebx + ebx*4 - 0x5dddd55]
mov byte [edi - 0x64532165], dl
stosd dword es:[edi], eax
and ah, byte [edx]
cli
add dword [ecx - 0x49], ebx
mov ecx, 0x70e6799
xor dword [eax], ebx
jge 0x5e97f5
js 0x5e97be
test byte [edi + eax*2 - 0x6756da68], dh
and dword [eax + 0x7aa1f75c], ecx
xchg ebx, eax
in al, 0x67
pushal
pushal
pop di
and eax, 0xb9191f92
cmp eax, 0x20576ad
push esp
les ecx, [eax]
or edx, dword [edx - 0x80]
pop eax
push 0x26
ret
Function at 0x1000100d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x100010fd
mov eax, 0x94
call fcn.10002040
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10001172
mov ecx, dword [esi + 0x10]
mov dword [0x10008918], ecx
mov eax, dword [esi + 4]
mov dword [0x10008924], eax
mov edx, dword [esi + 8]
mov dword [0x10008928], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x1000891c], esi
je 0x10001078
or esi, 0x8000
mov dword [0x1000891c], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x10008920], eax
call fcn.10001f6a
test eax, eax
pop ecx
je 0x10001172
call fcn.1000166c
test eax, eax
jne 0x100010a5
call fcn.10001fbb
jmp 0x10001172
call fcn.10001ec8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10009134], eax
call fcn.10001da6
mov dword [0x10008904], eax
call fcn.10001887
test eax, eax
jl 0x100010f6
call fcn.10001d04
test eax, eax
jl 0x100010f1
call fcn.10001ad1
test eax, eax
jl 0x100010f1
push 0
call fcn.100012ff
test eax, eax
pop ecx
jne 0x100010f1
inc dword [0x10008900]
jmp 0x10001183
call fcn.10001a85
call fcn.10001455
jmp 0x1000109b
test eax, eax
jne 0x1000112d
cmp dword [0x10008900], eax
jle 0x10001172
dec dword [0x10008900]
cmp dword [0x10008954], eax
jne 0x1000111c
call fcn.1000143d
call fcn.10001a85
call fcn.10001455
call fcn.10001fbb
jmp 0x10001183
cmp eax, 2
jne 0x10001176
push 0x8c
push 1
call fcn.100017cc
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x10001172
push esi
push dword [0x10008034]
call dword [0x10008964]
test eax, eax
push esi
je 0x1000116c
call fcn.10001472
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x10001183
call fcn.1000175b
pop ecx
xor eax, eax
jmp 0x10001186
cmp eax, 3
jne 0x10001183
push 0
call fcn.1000163d
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc

Function at 0x10001369
Capabilities:
Terminate process

Disassembly:
push 8
push 0x10006110
call fcn.100021fc
push 8
call fcn.10002654
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x10008958], esi
jne 0x1000139d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x10008954], esi
mov al, byte [ebp + 0x10]
mov byte [0x10008950], al
cmp dword [ebp + 0xc], edi
jne 0x100013e7
cmp dword [0x10009128], edi
je 0x100013d7
mov eax, dword [0x10009124]
sub eax, 4
mov dword [0x10009124], eax
cmp eax, dword [0x10009128]
jb 0x100013d7
mov eax, dword [eax]
cmp eax, edi
je 0x100013b8
call eax
jmp 0x100013b8
push 0x10008020
mov eax, 0x1000801c
call fcn.100012e7
pop ecx
push 0x10008028
mov eax, 0x10008024
call fcn.100012e7
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x10001418
cmp dword [ebp + 0x10], edi
jne 0x10001426
mov dword [0x10008958], esi
push dword [ebp + 8]
call fcn.100012a5
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x10001425
push 8
call fcn.1000259f
pop ecx
ret
call fcn.10002237
ret