joyce8/EMBER2024-capa huggingface dataset:
Function at 0x542ae4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x542b1d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0055a70c
jmp 0x542b26
mov eax, ebx
mov edx, esi
call fcn.0055a964
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x542b30
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x542b52
movzx eax, word [esp]
jmp 0x542b54
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x543810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x543935
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00543620
mov esi, eax
mov eax, dword [0x5e1994]
cmp byte [eax], 0
je 0x5438dd
mov eax, dword [0x5e19a0]
call fcn.00558518
call fcn.00558144
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5437e8]
call fcn.0055c518
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x543950
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x543919
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5e17f8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5e1ca4]
call fcn.0055c724
push eax
call sub.USER32.DLL_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.USER32.DLL_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54393c
lea eax, [ebp - 4]
mov edx, dword [0x5437e8]
call fcn.0055c63c
ret
Function at 0x544990
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x544a66
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0055a9ac
lea eax, [ebp - 4]
call fcn.0055ab54
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0055b328
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x544a50
mov eax, ebx
call fcn.00557f40
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x544a49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0055b328
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x544a33
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x544a78
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x544a33
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544a50
mov eax, dword [ebp - 0x10]
call fcn.00557f5c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544a6d
lea eax, [ebp - 4]
call fcn.0055a5a4
ret

Function at 0x545420
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0055aa60
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0055e138
mov edi, eax
cmp edi, 0x104
jbe 0x5453cb
mov eax, edi
add eax, eax
call fcn.00557f40
mov esi, eax
jmp 0x5453cd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0055e138
push esi
call sub.USER32.DLL_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x545406
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x5453f0
mov eax, esp
cmp esi, eax
je 0x545413
mov eax, esi
call fcn.00557f5c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x54544c
cmp bl, 0
je 0x545448
cmp bl, 0x41
jl 0x545443
cmp bl, 0x5a
jg 0x545443
or bl, 0x20
xor al, bl
inc esi
jmp 0x545427
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x54538c

Function at 0x545c38
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0055b3cc
add esp, 0x800
pop ebx
ret
Function at 0x558350
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0055a5a4
test esi, esi
jne 0x558386
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0055a70c
jmp 0x5583a4
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00558294
mov edi, eax
test esi, esi
je 0x5583a4
cmp dword [ebx], 0
je 0x5583a4
dec esi
jmp 0x55838d
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x5593d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.005597c4
mov byte [esp], al
cmp byte [esp], 0
jne 0x559561
test edi, edi
je 0x559561
mov byte [esp + 1], 0
test ebp, ebp
jle 0x559498
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x559473
cmp edi, 0xffffffff
je 0x559437
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x559437
mov byte [esp], 0
jmp 0x559561
mov ebx, dword [esi]
cmp ebx, 1
jg 0x559473
test ebx, ebx
jne 0x55946c
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00556300
test eax, eax
jne 0x55946c
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x559561
pause
dec ebp
test ebp, ebp
jg 0x55941c
cmp edi, 0xffffffff
je 0x559498
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x559496
mov byte [esp], 0
jmp 0x559561
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x5593e6
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00556300
cmp ebx, eax
jne 0x559498
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.005595d4
mov edx, eax
mov ebx, dword [0x5ecf08]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x5594ff
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x5594fd
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x5594ff
xor edi, edi
cmp byte [esp], 0
je 0x559528
mov ebx, dword [esi]
test bl, 1
jne 0x559541
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00556300
cmp ebx, eax
jne 0x559505
mov byte [esp + 1], 1
jmp 0x559541
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00556300
cmp ebx, eax
jne 0x559528
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x5594b2
cmp byte [esp], 0
je 0x559561
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x55a208
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5ec690], 0
je 0x55a269
cmp word [0x5ec96c], 0xd7b2
jne 0x55a231
cmp dword [0x5ec974], 0
jbe 0x55a231
mov eax, 0x5ec968
call dword [0x5ec984]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x55a294
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x5da50c], 0
jne 0x55a285
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x55a460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x5da4dc], 0
je 0x55a48b
mov edx, edi
mov eax, esi
call dword [0x5da4dc]
mov ebx, eax
jmp 0x55a49c
mov eax, 8
call fcn.00557f40
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5ec691], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x55a428
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
jne 0x55a4d1
mov edx, 8
mov eax, ebx
call fcn.00557f5c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x55cbe0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x55cd45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0055a5a4
cmp si, word [0x5daccc]
jb 0x55cc78
cmp si, word [0x5daecc]
ja 0x55cc78
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x55cc78
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x5daccc]
jae 0x55cc52
mov edi, ebx
dec edi
jmp 0x55cc73
cmp si, word [ebx*8 + 0x5daccc]
jbe 0x55cc62
inc ebx
mov dword [ebp - 8], ebx
jmp 0x55cc73
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5dacd0]
call fcn.0055caf0
jmp 0x55cc78
cmp edi, dword [ebp - 8]
jae 0x55cc3c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x55cd27
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x55cd27
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0055b3cc
push dword [ebp - 0x160]
push 0x55cd60
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0055b3cc
push dword [ebp - 0x164]
push 0x55cd70
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0055b3cc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0055b604
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55cd4c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0055a604
ret
Function at 0x55cef8
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55cffb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5ef199
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x5ef1b2]
jne 0x55cf44
mov eax, esi
mov edx, 0x5ef1b4
mov ecx, 0x55
call fcn.0055b3cc
push 0x5ef199
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x55cfe5
push 0x5ef199
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.0055a5a4
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x55cfb3
cmp byte [0x5ef198], 0
je 0x55cf78
mov edx, esi
mov eax, ebx
call fcn.0055cddc
jmp 0x55cfb3
mov edx, esi
mov eax, ebx
call fcn.0055cbe0
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x55cfb3
cmp dword [esi], 0
je 0x55cf9c
mov eax, esi
mov edx, 0x55d014
call fcn.0055b524
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0055cbe0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0055b524
push 0x5ef199
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x5ef1b2], bx
push 0xaa
mov eax, dword [esi]
call fcn.0055b328
push eax
push 0x5ef1b4
call sub.KERNEL32.DLL_lstrcpynW
push 0x5ef199
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d002
lea eax, [ebp - 4]
call fcn.0055a5a4
ret
Function at 0x55d230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0055a688
xor eax, eax
push ebp
push 0x55d455
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x55d270
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x55d28a
push 0x105
mov eax, dword [ebp - 4]
call fcn.0055b328
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x55d43f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x55d464
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x55d359
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x55d464
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x55d359
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x55d4a0
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x55d359
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x55d4a0
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x55d359
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x55d4d4
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x55d359
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x55d508
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x55d43f
xor eax, eax
push ebp
push 0x55d438
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0055d03c
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x55d3c8
mov eax, dword [ebp - 0x10]
call fcn.00557f40
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0055b378
jmp 0x55d413
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x55d548
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x55d413
mov eax, dword [ebp - 0x10]
call fcn.00557f40
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x55d548
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0055b378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d43f
cmp dword [ebp - 8], 0
je 0x55d42e
mov eax, dword [ebp - 8]
call fcn.00557f5c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d45c
lea eax, [ebp - 4]
call fcn.0055a5a4
ret
Function at 0x55d794
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0055a688
xor eax, eax
push ebp
push 0x55d854
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
lea eax, [ebp - 0xc]
push eax
push 3
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0055b3cc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0055b57c
mov eax, dword [ebx]
call fcn.0055d65c
test al, al
jne 0x55d831
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0055b3cc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0055b57c
mov eax, dword [ebx]
call fcn.0055d65c
test al, al
jne 0x55d831
mov eax, ebx
call fcn.0055a5a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d85b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0055a604
lea eax, [ebp - 4]
call fcn.0055a5a4
ret
Function at 0x583b6c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [esi + 4]
mov edx, dword [ebp - 8]
call fcn.0055a964
cmp edi, dword [ebp - 4]
je 0x583bde
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
lea edx, [esi + 8]
mov eax, edi
mov ecx, 6
call fcn.00558194
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x10
push edi
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x583bde
mov byte [edi], 0xe9
mov edx, dword [ebp - 4]
mov eax, edi
sub edx, eax
sub edx, 5
inc eax
mov dword [eax], edx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x10
push edi
call sub.KERNEL32.DLL_VirtualProtect
mov bl, 1
test bl, bl
jne 0x583be7
xor eax, eax
mov dword [esi + 0x10], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x58420c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
xor ebx, ebx
push esp
push 0x40
push 0x10
mov eax, dword [esi + 0x10]
push eax
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x584248
mov edx, dword [esi + 0x10]
lea eax, [esi + 8]
mov ecx, 6
call fcn.00558194
push esp
mov eax, dword [esp + 4]
push eax
push 0x10
mov eax, dword [esi + 0x10]
push eax
call sub.KERNEL32.DLL_VirtualProtect
mov bl, 1
mov eax, ebx
pop edx
pop esi
pop ebx
ret
Function at 0x586a04
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.KERNEL32.DLL_GetVersionExW
cmp dword [ebp - 0x104], 2
jne 0x586a47
cmp dword [ebp - 0x110], 5
ja 0x586a4b
cmp dword [ebp - 0x110], 5
jne 0x586a47
cmp dword [ebp - 0x10c], 1
jae 0x586a4b
xor eax, eax
jmp 0x586a4d
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x58af24
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x60f4ec
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x58af46
shr eax, 1
xor eax, 0xedb88320
jmp 0x58af48
shr eax, 1
dec edx
jne 0x58af34
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x58af2d
mov byte [0x60f8ec], 1
pop esi
pop ebx
ret

Function at 0x58af64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x60f8ec], 0
jne 0x58af7b
call fcn.0058af24
mov eax, edi
dec eax
test eax, eax
jl 0x58afa3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x60f4ec]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x58af85
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x58dd30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x58ddca.0
jmp dword [ecx*4 + 0x58dd63]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x58dd95
sub dl, 8
je 0x58dda4
jmp case.0x58ddca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58d9d8
jmp case.0x58ddca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58da30
jmp case.0x58ddca.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x58ddca.0
movzx ecx, byte [ecx + 0x58ddd1]
jmp dword [ecx*4 + 0x58dde2]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58dadc
jmp case.0x58ddca.0
cmp dl, 3
jne 0x58de0f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58db34
jmp case.0x58ddca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58daf0
jmp case.0x58ddca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58db78
jmp case.0x58ddca.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x58de3a
sub dl, 8
je 0x58de46
jmp case.0x58ddca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58dba4
jmp case.0x58ddca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58dc10
jmp case.0x58ddca.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x58de65
sub dl, 8
je 0x58de71
jmp case.0x58ddca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58dccc
jmp case.0x58ddca.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x58dcf4
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x58df13
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0058cedc
test eax, eax
je 0x58df13
mov eax, ebx
call fcn.0058df1c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x58deac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8