joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445800
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0xf2]
xor ebx, ebx
cmp al, bl
jne 0x4458e6
lea ecx, [ecx]
cmp byte [ebp + 8], bl
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x210], ebx
je 0x445847
mov eax, dword [esi + 8]
mov dword [ebp - 0x108], eax
mov eax, 1
mov dword [ebp - 0x10c], eax
jmp 0x44584c
mov eax, 1
cmp byte [ebp + 0xc], bl
je 0x445860
mov ecx, dword [esi + 8]
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x210], eax
mov edx, dword [esi + 8]
mov dword [ebp - 0x314], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x314]
push ecx
mov dword [ebp - 0x310], edx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0x40
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 0x186a0
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
je 0x4458f0
mov edx, dword [esi + 8]
lea ecx, [ebp - 0x314]
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4458f0
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x10c]
push eax
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4458e6
mov eax, dword [esi + 8]
lea edx, [ebp - 0x210]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4458e6
cmp byte [esi + 0xf2], bl
je 0x445820
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push 6
mov ecx, esi
call fcn.004457e0
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x445ff0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [ecx + 0x9c0], 0x270
jl 0x4457a3
xor eax, eax
push esi
mov esi, dword [ecx + eax*4]
mov edx, dword [ecx + eax*4 + 4]
xor edx, esi
and edx, 0x7fffffff
xor edx, esi
mov esi, edx
and esi, 1
mov esi, dword [esi*4 + 0x4ef754]
shr edx, 1
xor esi, edx
xor esi, dword [ecx + eax*4 + 0x634]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, 0xe3
jl 0x4456f3
cmp eax, 0x26f
jge 0x445763
lea ecx, [ecx]
mov esi, dword [ecx + eax*4]
mov edx, dword [ecx + eax*4 + 4]
xor edx, esi
and edx, 0x7fffffff
xor edx, esi
mov esi, edx
and esi, 1
mov esi, dword [esi*4 + 0x4ef754]
shr edx, 1
xor esi, edx
xor esi, dword [ecx + eax*4 - 0x38c]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, 0x26f
jl 0x445730
mov eax, dword [ecx + 0x9bc]
mov edx, dword [ecx]
mov esi, dword [ecx + 0x630]
xor eax, edx
mov edx, dword [ecx + 0x9bc]
and eax, 0x7fffffff
xor eax, edx
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x4ef754]
xor edx, esi
shr eax, 1
xor edx, eax
mov dword [ecx + 0x9bc], edx
mov dword [ecx + 0x9c0], 0
pop esi
mov eax, dword [ecx + 0x9c0]
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ecx + 0x9c0], eax
mov eax, edx
shr eax, 0xb
xor edx, eax
mov ecx, edx
and ecx, 0xff3a58ad
shl ecx, 7
xor edx, ecx
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
and eax, 0x7fffffff
ret
jmp 0x4456e0
mov ecx, 0x529648
jmp 0x445fe0
Function at 0x446380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x4fd]
test cl, cl
jne 0x446434
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0x4c6294
push 0
push str.SoftwarePopCapBeta
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x446434
cmp dword [esi + 0x15c], 0x10
mov ecx, dword [esi + 0x158]
jb 0x4463dd
mov eax, dword [esi + 0x148]
jmp 0x4463e3
lea eax, [esi + 0x148]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push eax
mov eax, dword [ebp - 4]
push 1
push 0
push str.Name
push eax
call edi
cmp dword [esi + 0x178], 0x10
mov eax, dword [esi + 0x174]
jb 0x446412
mov esi, dword [esi + 0x164]
jmp 0x446418
add esi, 0x164
mov ecx, dword [ebp - 4]
push eax
push esi
push 1
push 0
push str.Password
push ecx
call edi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44d210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4f2214]
xor eax, dword [ebp + 4]
push esi
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x4fd]
test cl, cl
jne 0x44d306
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
push str.SoftwarePopCapBeta
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d306
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.Name
push edx
mov dword [ebp - 0xc], 0x100
call edi
test eax, eax
jne 0x44d2ae
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44d292
sub eax, edx
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [esi + 0x144]
call fcn.00402c7f
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.Password
push ecx
mov dword [ebp - 0xc], 0x100
call edi
test eax, eax
pop edi
jne 0x44d2fc
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44d2e0
sub eax, edx
push eax
lea edx, [ebp - 0x110]
push edx
lea ecx, [esi + 0x160]
call fcn.00402c7f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.004a8117
mov esp, ebp
pop ebp
ret
Function at 0x44e6b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [0x52961c]
xor edi, edi
test eax, eax
jle 0x44e6fb
xor esi, esi
jmp 0x44e6e0
mov ecx, dword [0x529630]
lea eax, [esi + ecx]
call fcn.0044e610
mov eax, dword [0x52961c]
inc edi
add esi, 0x18
cmp edi, eax
jl 0x44e6e0
lea edx, [ebp - 0xc]
mov dword [0x52961c], 0
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 4]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [0x5295a8]
sub eax, edi
sbb ecx, esi
add edx, eax
mov eax, dword [0x5295ac]
pop edi
adc eax, ecx
pop esi
mov dword [0x5295a8], edx
mov dword [0x5295ac], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45edb0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1416
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.Sexy::WidgetManager.0
call fcn.00434530
xor ebx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x60], ebx
push 0x5c
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov byte [esi + 0x50], bl
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x18], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x3c], 1
call fcn.00497c10
add esp, 4
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x45ee3b
mov ecx, eax
call fcn.0045ec60
jmp 0x45ee3d
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 4], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
xor eax, eax
lea edi, [esi + 0x64]
mov ecx, 0x3f
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x460000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4f2214]
xor eax, dword [ebp + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x460050
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x404]
push str._s_function_not_found_in_bass.dll
push ecx
call fcn.004a808e
add esp, 0xc
push 0x10
push str.Error
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004aa5ed
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004a8117
mov esp, ebp
pop ebp
ret
Function at 0x460060
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
mov dword [esi], vtable.Sexy::BASS_INSTANCE.0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 4], eax
je 0x460246
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.BASS_Init
push eax
call edi
push str.BASS_Init
push eax
mov dword [esi + 8], eax
call fcn.00460000
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_Free
push ecx
call edi
push str.BASS_Free
push eax
mov dword [esi + 0xc], eax
call fcn.00460000
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_Stop
push edx
call edi
push str.BASS_Stop
push eax
mov dword [esi + 0x10], eax
call fcn.00460000
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_Start
push eax
call edi
push str.BASS_Start
push eax
mov dword [esi + 0x14], eax
call fcn.00460000
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_SetGlobalVolumes
push ecx
call edi
push str.BASS_SetGlobalVolumes
push eax
mov dword [esi + 0x18], eax
call fcn.00460000
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelStop
push edx
call edi
push str.BASS_ChannelStop
push eax
mov dword [esi + 0x1c], eax
call fcn.00460000
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelPause
push eax
call edi
push str.BASS_ChannelPause
push eax
mov dword [esi + 0x20], eax
call fcn.00460000
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelResume
push ecx
call edi
push str.BASS_ChannelResume
push eax
mov dword [esi + 0x24], eax
call fcn.00460000
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelSetAttributes
push edx
call edi
push str.BASS_ChannelSetAttributes
push eax
mov dword [esi + 0x28], eax
call fcn.00460000
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelIsActive
push eax
call edi
push str.BASS_ChannelIsActive
push eax
mov dword [esi + 0x30], eax
call fcn.00460000
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_MusicLoad
push ecx
call edi
push str.BASS_MusicLoad
push eax
mov dword [esi + 0x34], eax
call fcn.00460000
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_MusicPlay
push edx
call edi
push str.BASS_MusicPlay
push eax
mov dword [esi + 0x38], eax
call fcn.00460000
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_MusicPlayEx
push eax
call edi
push str.BASS_MusicPlayEx
push eax
mov dword [esi + 0x3c], eax
call fcn.00460000
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_StreamCreateFile
push ecx
call edi
push str.BASS_StreamCreateFile
push eax
mov dword [esi + 0x40], eax
call fcn.00460000
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_StreamFree
push edx
call edi
push str.BASS_StreamFree
push eax
mov dword [esi + 0x44], eax
call fcn.00460000
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_StreamPlay
push eax
call edi
push str.BASS_StreamPlay
push eax
mov dword [esi + 0x48], eax
call fcn.00460000
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x460270
Capabilities:
Terminate process

Disassembly:
push 0x52a128
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [0x52a124]
test eax, eax
jne 0x4602c9
push 0x4c
call fcn.00497c10
add esp, 4
test eax, eax
je 0x4602a0
push str.bass.dll
mov ecx, eax
call fcn.00460060
jmp 0x4602a2
xor eax, eax
mov dword [0x52a124], eax
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4602c9
push 0x10
push str.Error
push str.Cant_find_bass.dll.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004aa5ed
ret

Function at 0x460350
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4f2214]
xor eax, dword [ebp + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4603a0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x404]
push str._s_function_not_found_in_fmod.dll
push ecx
call fcn.004a808e
add esp, 0xc
push 0x10
push str.Error
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004aa5ed
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004a8117
mov esp, ebp
pop ebp
ret
Function at 0x460750
Capabilities:
Terminate process

Disassembly:
push 0x52a130
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [0x52a12c]
test eax, eax
jne 0x4607ac
push 0x80
call fcn.00497c10
add esp, 4
test eax, eax
je 0x460783
push str.fmod.dll
mov ecx, eax
call fcn.004603b0
jmp 0x460785
xor eax, eax
mov dword [0x52a12c], eax
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4607ac
push 0x10
push str.Error
push str.Cant_find_fmod.dll.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004aa5ed
ret

Function at 0x460a90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
mov edi, 0x3ff00000
lea edx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.Sexy::DSoundInstance.0
mov dword [esi + 4], eax
mov byte [esi + 0x12], bl
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 8], ecx
mov dword [edx], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x20], ebx
je 0x460b78
mov eax, dword [eax + 0x1498]
mov edi, dword [eax]
push edx
push ecx
push eax
call dword [edi + 0x14]
cmp eax, ebx
je 0x460b78
cmp eax, 0x8878000a
jg 0x460b45
je 0x460b38
cmp eax, 0x8007000e
je 0x460b2b
cmp eax, 0x80070057
jne 0x460b72
push ebx
push 0x4ca6e4
push str.DSERR_INVALIDPARAM
jmp 0x460b6b
push ebx
push 0x4ca6e4
push str.DSERR_OUTOFMEMORY
jmp 0x460b6b
push ebx
push 0x4ca6e4
push str.DSERR_ALLOCATED
jmp 0x460b6b
cmp eax, 0x88780032
je 0x460b60
cmp eax, 0x887800aa
jne 0x460b72
push ebx
push 0x4ca6e4
push str.DSERR_UNINITIALIZED
jmp 0x460b6b
push ebx
push 0x4ca6e4
push str.DSERR_INVALIDCALL
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.004aa5ed
mov ecx, esi
call fcn.0045fe30
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x465f90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
pop ebp
ret
Function at 0x471140
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x471173
push esi
call fcn.0047f270
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x47116c
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4711f4
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4711e3
lea ebx, [ebx]
mov eax, dword [esi + 8]
test eax, eax
je 0x47119d
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4711de
cmp eax, 2
je 0x4711e3
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x471190
cmp eax, 3
je 0x4711c3
cmp eax, 1
jne 0x471190
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x471190
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x471190
xor al, al
pop esi
pop ebp
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00470fd0
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x471214
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
call fcn.00470fd0
pop esi
pop ebp
ret

Function at 0x471bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
test edx, edx
push edi
mov edi, dword [ebp + 8]
je 0x471c50
push ebx
push esi
mov ecx, dword [edx]
mov ebx, dword [ecx]
mov esi, dword [edx + 4]
mov ecx, dword [edx + 8]
add esi, ebx
cmp edi, ecx
mov ebx, edi
jl 0x471c14
mov ebx, ecx
xor ecx, ecx
test ebx, ebx
mov dword [ebp - 4], ebx
jle 0x471c42
lea ecx, [ecx]
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 0x18
xor edi, ebx
mov edi, dword [edi*4 + 0x4f0090]
shl eax, 8
xor eax, edi
mov edi, dword [ebp - 4]
inc ecx
cmp ecx, edi
jl 0x471c20
mov edi, dword [ebp + 8]
mov edx, dword [edx + 0xc]
sub edi, ecx
test edx, edx
mov dword [ebp + 8], edi
jne 0x471c00
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x477050
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x47705e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 8
not eax
jb 0x477151
push ebx
push edi
mov edi, esi
shr edi, 3
xor edx, edx
mov dl, byte [ecx]
mov ebx, eax
shr ebx, 8
sub esi, 8
xor edx, eax
and edx, 0xff
mov eax, dword [edx*4 + 0x4ccfd0]
xor eax, ebx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4ccfd0]
shr eax, 8
xor edx, eax
xor eax, eax
mov al, byte [ecx + 1]
inc ecx
xor eax, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x4ccfd0]
shr edx, 8
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4ccfd0]
shr eax, 8
xor edx, eax
xor eax, eax
mov al, byte [ecx + 1]
inc ecx
xor eax, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x4ccfd0]
shr edx, 8
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4ccfd0]
shr eax, 8
xor edx, eax
xor eax, eax
mov al, byte [ecx + 1]
inc ecx
xor eax, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x4ccfd0]
shr edx, 8
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4ccfd0]
shr eax, 8
xor eax, edx
inc ecx
dec edi
jne 0x477077
pop edi
pop ebx
test esi, esi
je 0x477171
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4ccfd0]
shr eax, 8
xor eax, edx
inc ecx
dec esi
jne 0x477155
not eax
pop esi
pop ebp
ret
Function at 0x47bf40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebx + 0x24]
push esi
push edi
mov dword [ebp - 4], eax
jmp 0x47bf53
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub ecx, edx
sub ecx, esi
mov dword [ebp - 8], ecx
jne 0x47bf74
test edx, edx
jne 0x47bf83
test esi, esi
jne 0x47bf83
mov ecx, eax
jmp 0x47c00c
cmp ecx, 0xffffffff
jne 0x47bf83
mov ecx, 0xfffffffe
jmp 0x47c00c
mov esi, dword [ebx + 0x24]
lea esi, [eax + esi - 0x106]
cmp edx, esi
jb 0x47c00c
mov edi, dword [ebx + 0x30]
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [edi + eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x68]
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x54]
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebx + 0x68], esi
mov esi, dword [ebx + 0x44]
mov dword [ebx + 0x54], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x64], edx
lea edx, [ecx + esi*2]
jmp 0x47bfd0
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x47bfdf
sub ecx, eax
jmp 0x47bfe1
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x47bfd0
mov edx, dword [ebx + 0x38]
mov esi, eax
lea edx, [edx + eax*2]
nop
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x47bfff
sub ecx, eax
jmp 0x47c001
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x47bff0
mov ecx, dword [ebp - 8]
add ecx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 4]
test edx, edx
je 0x47c070
mov edx, dword [ebx + 0x6c]
mov edi, dword [ebx + 0x64]
mov esi, dword [ebx + 0x30]
add edx, edi
add edx, esi
push edx
push eax
call fcn.0047bce0
mov ecx, dword [ebx + 0x6c]
add ecx, eax
mov edx, ecx
add esp, 8
cmp edx, 3
mov dword [ebx + 0x6c], ecx
jb 0x47c05b
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edx, 0x106
jae 0x47c070
mov edx, dword [ebx]
mov eax, dword [edx + 4]
test eax, eax
jne 0x47bf50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a695e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and byte [ebp - 4], 0
push edi
xor eax, eax
lea edi, [ebp - 3]
stosb byte es:[edi], al
push 2
lea eax, [ebp - 4]
push eax
push 0x22
call fcn.004abfd8
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov al, byte [ebp - 4]
cmp al, 0x30
pop edi
jne 0x4a6990
push 2
pop eax
leave
ret
cmp al, 0x31
jne 0x4a6999
xor eax, eax
inc eax
leave
ret
sub al, 0x32
neg al
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
leave
ret

Function at 0x4a88cd
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4d9ed0
call fcn.004b06c4
mov edi, 0x94
mov eax, edi
call fcn.004a9500
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x52a7b8], ecx
mov eax, dword [esi + 4]
mov dword [0x52a7c4], eax
mov edx, dword [esi + 8]
mov dword [0x52a7c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x52a7bc], esi
cmp ecx, 2
je 0x4a892d
or esi, 0x8000
mov dword [0x52a7bc], esi
shl eax, 8
add eax, edx
mov dword [0x52a7c0], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4a8968
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a8968
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4a8980
cmp eax, 0x20b
je 0x4a896d
mov dword [ebp - 0x1c], esi
jmp 0x4a8994
cmp dword [ecx + 0x84], 0xe
jbe 0x4a8968
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4a898e
cmp dword [ecx + 0x74], 0xe
jbe 0x4a8968
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004b2188
pop ecx
test eax, eax
jne 0x4a89a8
push 0x1c
call fcn.004a88a9
pop ecx
call fcn.004af23b
test eax, eax
jne 0x4a89b9
push 0x10
call fcn.004a88a9
pop ecx
call fcn.004b20e6
mov dword [ebp - 4], esi
call fcn.004b1ee8
test eax, eax
jge 0x4a89d2
push 0x1b
call fcn.004a8884
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x52c034], eax
call fcn.004b1dc6
mov dword [0x52a7a4], eax
call fcn.004b1d24
test eax, eax
jge 0x4a89f8
push 8
call fcn.004a8884
pop ecx
call fcn.004b1af1
test eax, eax
jge 0x4a8a09
push 9
call fcn.004a8884
pop ecx
call fcn.004aa4b5
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x4a8a1c
push eax
call fcn.004a8884
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004b1a88
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x4a8a3d
movzx eax, word [ebp - 0x34]
jmp 0x4a8a40
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.0040ba01
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4a8a5e
push edi
call fcn.004aa5ed
call fcn.004aa60f
jmp 0x4a8a90
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004b06ff
ret