joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f27a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
mov esi, 0x428770
xor ebx, ebx
push esi
mov dword [ebp - 0xc], ebx
push dword [ebp + 0xc]
call fcn.004145c0
push esi
push dword [ebp + 0x10]
call fcn.004145c0
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
je 0x40f405
push edi
push esi
call fcn.00414d5f
mov edi, eax
push esi
push ebx
push edi
mov dword [ebp - 0x10], edi
call fcn.004144d0
add esp, 0x10
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40f3fb
lea eax, [ebp - 0x44]
push 0x34
mov dword [ebp + 8], eax
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.004144d0
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x424c80
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40f33d
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
shr ecx, 0x10
push edx
push ecx
movzx ecx, ax
shr eax, 0x10
push ecx
push eax
push 0x42514c
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0x34
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004144d0
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x425130
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40f3fb
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x143]
mov byte [ebp - 0x144], bl
mov esi, dword [ebp - 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
xor edi, edi
shr esi, 2
cmp esi, ebx
mov dword [ebp + 0xc], eax
jle 0x40f3fb
cmp edi, ebx
mov dword [ebp - 8], ebx
jle 0x40f39c
add dword [ebp + 0xc], 4
push 4
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
call fcn.00415060
movzx eax, word [ebp - 8]
add esp, 0xc
cmp edi, ebx
push eax
jne 0x40f3cd
lea eax, [ebp - 0x144]
push 0x424f28
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40f3e5
push dword [ebp + 0x10]
lea eax, [ebp - 0x144]
push 0x425128
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0x10]
call fcn.004145c0
inc edi
pop ecx
cmp edi, esi
pop ecx
jl 0x40f391
push dword [ebp - 0x10]
call fcn.00414b73
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f44d
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x42516c
mov dword [ebp - 4], ebx
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x40f550
push edi
push 0x425158
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x40f4df
push dword [ebp + 8]
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x82c]
push eax
call fcn.0040f8ad
test eax, eax
je 0x40f4b7
lea eax, [ebp - 0x82c]
push eax
call fcn.0040f756
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x82c]
push eax
call edi
test eax, eax
je 0x40f546
cmp dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
je 0x40f53d
mov eax, SysReAllocString
jmp 0x40f53d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp + 0xc], ebx
mov cl, byte [eax]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x42c], cl
mov cl, byte [eax + 1]
mov al, byte [eax + 2]
mov byte [ebp - 0x42b], cl
mov byte [ebp - 0x42a], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x42c]
push eax
mov byte [ebp - 0x429], bl
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x40f546
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp - 8]
imul eax, dword [ebp - 0xc]
shr eax, 0xa
mov dword [esi], eax
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x40f608
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
mov byte [ebp + 0x11], 0x3a
mov byte [ebp + 0x12], 0x5c
mov byte [esi], al
mov byte [esi + 1], 0x3a
mov byte [esi + 2], 0x5c
mov byte [esi + 3], al
mov byte [ebp + 0x13], al
xor ebx, ebx
mov al, bl
add al, 0x41
mov byte [ebp + 0x10], al
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, dword [ebp + 8]
jne 0x40f661
push dword [ebp + 0xc]
mov al, byte [ebp + 0x10]
mov byte [esi], al
push esi
call fcn.0040f409
pop ecx
test eax, eax
pop ecx
je 0x40f661
push esi
call fcn.0040f5a4
test eax, eax
pop ecx
jne 0x40f66e
inc ebx
cmp ebx, 0x1a
jl 0x40f62c
or eax, 0xffffffff
pop esi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x40f66a
Function at 0x40fc47
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.0040fcee
test eax, eax
je 0x40fcac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40fcac
lea eax, [ebp - 0xc]
push esi
push eax
xor esi, esi
push 0x42519c
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
inc eax
leave
ret

Function at 0x40fd1c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 8]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40fd7f
call esi
cmp eax, 0x3f0
jne 0x40fd76
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
je 0x40fdee
cmp eax, ebx
je 0x40fdee
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
call edi
test eax, eax
jne 0x40fdee
call esi
cmp eax, 0x7a
jne 0x40fdee
push dword [ebp - 4]
call fcn.004146d7
mov esi, eax
pop ecx
lea eax, [ebp - 4]
cmp esi, ebx
push eax
push dword [ebp - 4]
setne byte [ebp - 0x24]
push esi
push 2
push dword [ebp - 8]
call edi
test eax, eax
je 0x40fde2
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x1c]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x40fdf2
cmp byte [ebp - 0x24], bl
je 0x40fdee
push esi
call fcn.00413d7e
pop ecx
xor eax, eax
jmp 0x40fe3d
xor edi, edi
cmp dword [esi], ebx
mov dword [ebp - 0x14], ebx
jbe 0x40fe25
lea eax, [esi + 4]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x40fe1e
add dword [ebp - 0xc], 8
inc edi
cmp edi, dword [esi]
jb 0x40fe01
jmp 0x40fe25
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [ebp - 0x24], bl
je 0x40fe3a
push esi
call fcn.00413d7e
pop ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4102ea
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
push dword [0x42aa64]
mov ebx, 0x4245d0
lea eax, [ebp - 0x14]
push ebx
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_CharNextA]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call edi
push eax
call edi
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x828]
push eax
push 0x42a448
call fcn.0040f672
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0040f821
lea eax, [ebp - 0x428]
push 0x4245e0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push ebx
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x428770
push eax
push 0x4244fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x4103a4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_VerLanguageNameA
leave
ret

Function at 0x410adf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
call fcn.00410c1e
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x410b93
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x4253e0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x410b85
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push 0x4253d4
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x410b49
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x838]
push eax
push ebx
push ebx
push 0x4253c4
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x410b72
mov byte [ebp - 0x838], bl
cmp dword [ebp - 0xc], ebx
jne 0x410b7f
cmp byte [ebp - 0x838], bl
je 0x410b85
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ebx
je 0x410b93
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00410753
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [edi + 4], eax
je 0x410bb8
cmp dword [ebp + 0xc], 4
jne 0x410bd2
cmp dword [ebp - 0x14], ebx
jne 0x410bd2
cmp word [edi + 0x14], 3
mov ecx, edi
jne 0x410bcd
call fcn.00410ddd
jmp 0x410bd2
call fcn.00411009
xor eax, eax
cmp dword [edi + 4], ebx
pop edi
pop ebx
setne al
leave
ret 0x14
Function at 0x410c1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x258]
push eax
mov edi, SysReAllocStringLen
push 0x425440
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 4], 0x104
call esi
test eax, eax
jne 0x410d1e
lea eax, [ebp - 0x258]
push 0x42542c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
push edi
call esi
test eax, eax
jne 0x410d1e
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x154]
push 0x42541c
push eax
call fcn.00415640
pop ecx
test eax, eax
pop ecx
je 0x410d1e
lea ecx, [ebp - 0x154]
sub eax, ecx
add eax, 0xd
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x50]
call fcn.00410d25
lea eax, [ebp - 0x35c]
lea ecx, [ebp - 0x50]
push eax
call fcn.0041234e
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov edx, ecx
mov dword [ebp - 0x50], 0x420a4c
shr edx, 0x10
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x50]
mov word [eax + 0x14], dx
call fcn.00410d82
xor eax, eax
jmp 0x410d21
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x410ddd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.00414d30
and byte [ebp - 0x96c], 0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov edx, 0x208
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x96b]
and byte [ebp - 0x1190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x118f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push 0x4254c4
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x410fab
lea eax, [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push 0x4254b8
push dword [ebp - 4]
mov dword [ebp - 0x48], 0x4254b0
mov dword [ebp - 0x44], 0x4254a4
mov dword [ebp - 0x40], 0x425494
mov dword [ebp - 0x3c], 0x42548c
mov dword [ebp - 0x38], 0x425480
mov dword [ebp - 0x34], 0x425470
mov dword [ebp - 0x30], 0x425468
mov dword [ebp - 0x2c], 0x42545c
mov dword [ebp - 0x28], 0x42544c
mov dword [ebp - 8], 4
call ebx
test eax, eax
jne 0x410fab
cmp dword [ebp - 0x14], 1
jne 0x410fab
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x48]
mov dword [ebp - 0xc], 3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [edi + 4]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x410f6e
cmp byte [ebp - 0x148], al
je 0x410f6e
push dword [edi]
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [edi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x410f60
lea eax, [ebp - 0x96c]
push 0x425448
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x424b88
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x96c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x96c]
push 0x424f44
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x410ec4
lea eax, [ebp - 0x96c]
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push 0x26
mov dword [ebp - 0x24], 3
push dword [eax + 4]
call fcn.00410964
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x410fb9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push edi
mov byte [ebp - 0x108], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 8], eax
push 0
push 0x10
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x401087
push str.Error_retrieving_desktop_path._n
lea ecx, [ebp - 0x108]
push ecx
call fcn.004015fb
add esp, 8
push 0
push 0
lea edx, [ebp - 0x108]
push edx
call fcn.00401580
add esp, 4
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push 1
call fcn.004014a9
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x48ec90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x79000]
push edi
jmp 0x48ecaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48ecb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48eca0
mov eax, 1
add ebx, ebx
jne 0x48ecc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48ecb8
jne 0x48ecd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48ecb8
xor ecx, ecx
sub eax, 3
jb 0x48ece8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48ed5a
mov ebp, eax
add ebx, ebx
jne 0x48ecf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x48ed00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x48ed24
inc ecx
add ebx, ebx
jne 0x48ed10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48ed05
jne 0x48ed21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48ed05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48ed44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48ed35
jmp 0x48eca6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48ed44
add edi, ecx
jmp 0x48eca6
pop esi
mov edi, esi
mov ecx, 0x1052
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48ed62
cmp byte [edi], 9
jne 0x48ed62
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 0x48ed67
lea edi, [esi + 0x8b000]
mov eax, dword [edi]
or eax, eax
je 0x48eddf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8ebe4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ec98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48ed94
mov ecx, edi
jns 0x48edc3
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 + 0x8ec9c]
or eax, eax
je 0x48edd9
mov dword [ebx], eax
add ebx, 4
jmp 0x48edb1
call dword [esi + 0x8ecac]
mov ebp, dword [esi + 0x8eca0]
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 0x48ee13
sub esp, 0xffffff80
jmp 0x410012
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
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 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x10026fcf
Capabilities:
Check for software breakpoints

Disassembly:
lea esp, [esp + 0xc]
je 0x1001b1ee
cmp bh, 0xcc
bt ecx, 0x18
cmp ebx, 2
call fcn.10029811
insb byte es:[edi], dx
pop ecx
inc esi
sub bh, al
imul edx, dword [edx + 0x2b902b9], 0xfb78530d
in al, dx
daa
das
rcr ah, cl
in eax, 0xb9
int1
and eax, 0xb8046d76
add ecx, eax
imul dword [esi + 0x58]
mov eax, 0x1cefb023
pop es
sbb eax, 0x8b646302
insb byte es:[edi], dx
mov eax, dword [0x1ff5fda]
sub dword [edx], 0x995ec928
pop esi
cdq
loop 0x1001b0f7
jno 0x1001b17e
and eax, 0x8392280
into
sbb byte [ebx], al
jecxz 0x1001b129
jbe 0x66cf91a6
in al, dx
mov cl, 0xa7
mov esp, 0x93e84bc0
ror dword [0x3ea4c0db], 1
sbb byte [eax - 0x358bb63e], 0xa0
aas
adc eax, 0x3506f8af
cmovp edx, dword [ecx - 0x6c]
jae 0x1001b19c
in eax, dx
sti
bound edi, qword [eax - 0x2b50d731]
loop 0x1001b135
mov cl, 0xcd
cmc
pop ebx
invalid
fucomi st(3)
jl 0x1001b16d
cmp al, 0x17
inc ecx
pop es
out 0, al
add byte [eax - 0x7a9907ff], ch
in eax, 0x2c
xor al, ch
push ebx
mov ecx, 0xff660000
dec di
cmp ebx, 1
mov byte [esp], ah
jmp 0x1001b0d9

Function at 0x1002830f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esp, [esp + 8]
cmp al, 0x9b
mov edi, dword [edi + ecx*4]
test al, bl
test bh, 0x2d
test edi, edi
pushfd
jmp 0x100241fc
Function at 0x404ea6
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ecx
push 0x401318
push 2
call fcn.0040ccf9
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x4087e6
Capabilities:
Execute command

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x40e2a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x41293c]
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408807
sub ecx, esi
mov esi, 0x100
cmp ecx, esi
jb 0x408826
push 0x2f
push 2
call fcn.0040b1f1
pop ecx
pop ecx
jmp 0x40886c
push esi
lea eax, [ebp - 0x104]
push eax
push 0x4033c4
push edx
call dword [sym.imp.msvcrt.dll_sscanf_s]
add esp, 0x10
cmp eax, 1
jne 0x40886c
lea eax, [ebp - 0x104]
push eax
push 0x4033d0
lea eax, [ebp - 0x204]
push esi
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_system]
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040c730
mov esp, ebp
pop ebp
ret
Function at 0x408eb6
Capabilities:
Terminate process

Disassembly:
push 0x2d
push 2
call fcn.0040b1f1
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x409d55
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x40e2a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x403524
call dword [sym.imp.msvcrt.dll_getenv]
pop ecx
test eax, eax
je 0x409e07
push esi
push edi
push eax
mov edi, 0x101
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_strcpy_s]
push 0x40352c
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_strcat_s]
lea eax, [ebp - 0x108]
push 0x40353c
push eax
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 0x20
test esi, esi
je 0x409e05
jmp 0x409de7
lea eax, [ebp - 0x108]
push 0xa
push eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
test eax, eax
je 0x409ddc
mov byte [eax], 0
lea ecx, [ebp - 0x108]
call fcn.004094c2
push esi
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x409dc4
push esi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c730
mov esp, ebp
pop ebp
ret

Function at 0x40a303
Capabilities:
Create udp socket

Disassembly:
push 0
push 2
push ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x40a316
xor eax, eax
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
inc eax
ret