joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401550
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x401c18
call fcn.004018fb
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [0x403390], ebx
jne 0x4012eb
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov edi, 0x403384
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x401325
cmp eax, esi
jne 0x401318
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x401328
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4012ff
xor esi, esi
inc esi
mov eax, dword [0x403380]
cmp eax, esi
jne 0x40133b
push 0x1f
call 0x492000
pop ecx
jmp 0x401376
mov eax, dword [0x403380]
test eax, eax
jne 0x401370
mov dword [0x403380], esi
push 0x4010e8
push 0x4010dc
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x401376
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401490
mov dword [0x403038], esi
mov eax, dword [0x403380]
cmp eax, esi
jne 0x40139a
push 0x4010d8
push 0x4010d0
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x403380], 2
cmp dword [ebp - 0x24], ebx
jne 0x4013a7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x403394], ebx
je 0x4013c8
push 0x403394
call fcn.00401833
pop ecx
test eax, eax
je 0x4013c8
push ebx
push 2
push ebx
call dword [0x403394]
mov eax, dword [sym.imp.MSVCR100.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x401421
cmp al, bl
je 0x4013e1
cmp dword [ebp - 0x1c], ebx
jne 0x401421
mov al, byte [esi]
cmp al, bl
je 0x4013f1
cmp al, 0x20
ja 0x4013f1
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4013e1
test byte [ebp - 0x40], 1
je 0x4013fd
movzx eax, word [ebp - 0x3c]
jmp 0x401400
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x403034], eax
cmp dword [0x403028], ebx
jne 0x401476
push eax
call dword [sym.imp.MSVCR100.dll_exit]
cmp al, 0x22
jne 0x401430
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR100.dll__ismbblead]
pop ecx
test eax, eax
je 0x401443
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x4013cf
cmp dword [0x403038], ebx
jne 0x401484
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x403034]
call fcn.00401940
ret
call fcn.004011a7
jmp 0x4012bd
Function at 0x408e24
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004092e4
mov byte [esp], al
cmp byte [esp], 0
jne 0x408fad
test edi, edi
je 0x408fad
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408eed
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408ec8
cmp edi, 0xffffffff
je 0x408e89
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408e89
mov byte [esp], 0
jmp 0x408fad
cmp dword [esi], 1
jg 0x408ec8
cmp dword [esi], 0
jne 0x408eba
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408eba
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408fad
lea eax, [esp + 0xc]
call fcn.00408afc
dec ebp
test ebp, ebp
jg 0x408e6e
cmp edi, 0xffffffff
je 0x408eed
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408eeb
mov byte [esp], 0
jmp 0x408fad
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408e32
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408eed
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00409028
mov edx, eax
mov ebx, dword [0x7148fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408f51
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408f4f
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408f51
xor edi, edi
cmp byte [esp], 0
je 0x408f77
mov ebx, dword [esi]
test bl, 1
jne 0x408f8d
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408f57
mov byte [esp + 1], 1
jmp 0x408f8d
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408f77
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408f04
cmp byte [esp], 0
je 0x408fad
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x409e74
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x71405c], 0
je 0x409edb
cmp word [0x714348], 0xd7b2
jne 0x409e9d
cmp dword [0x714350], 0
jbe 0x409e9d
mov eax, 0x714344
call dword [0x714360]
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
mov eax, 0x409f08
call fcn.0040abf0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x707038], 0
jne 0x409ef7
push 0
push 0x7079db
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a09c
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 [0x70703c], 0
je 0x40a0c7
mov edx, edi
mov eax, esi
call dword [0x70703c]
mov ebx, eax
jmp 0x40a0d8
mov eax, 8
call fcn.00407294
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x71405d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a064
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 0x40a108
mov eax, ebx
call fcn.004072b0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40dffc
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 0x40e163
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a1dc
cmp si, word [0x707a18]
jb 0x40e094
cmp si, word [0x707c18]
ja 0x40e094
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40e094
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x707a18]
jae 0x40e06e
mov edi, ebx
dec edi
jmp 0x40e08f
cmp si, word [ebx*8 + 0x707a18]
jbe 0x40e07e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40e08f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x707a1c]
call fcn.0040df18
jmp 0x40e094
cmp edi, dword [ebp - 8]
jae 0x40e058
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40e143
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e143
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.0040af50
push dword [ebp - 0x160]
push 0x40e180
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040af50
push dword [ebp - 0x164]
push 0x40e190
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040af50
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e16a
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a23c
pop eax
jmp eax
Function at 0x40e318
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 0x40e41e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x716c18
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x716c30]
jne 0x40e364
mov eax, esi
mov edx, 0x716c32
mov ecx, 0x55
call fcn.0040af50
push 0x716c18
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40e406
push 0x716c18
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a1dc
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e3d3
cmp byte [0x716c14], 0
je 0x40e398
mov edx, esi
mov eax, ebx
call fcn.0040e1fc
jmp 0x40e3d3
mov edx, esi
mov eax, ebx
call fcn.0040dffc
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40e3d3
cmp dword [esi], 0
je 0x40e3bc
mov eax, esi
mov edx, 0x40e438
call fcn.0040b0a8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040dffc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b0a8
push 0x716c18
call sub.kernel32.dll_EnterCriticalSection
mov word [0x716c30], bx
mov eax, dword [esi]
call fcn.0040ae9c
mov ecx, eax
mov eax, 0x716c32
mov edx, 0xaa
call fcn.0040de78
push 0x716c18
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e425
lea eax, [ebp - 4]
call fcn.0040a1dc
pop eax
jmp eax
Function at 0x40eb9c
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.0040a2d0
xor eax, eax
push ebp
push 0x40ec5e
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
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.0040af50
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b100
mov eax, dword [ebx]
call fcn.0040ea44
test al, al
jne 0x40ec39
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040af50
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b100
mov eax, dword [ebx]
call fcn.0040ea44
test al, al
jne 0x40ec39
mov eax, ebx
call fcn.0040a1dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ec65
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a23c
lea eax, [ebp - 4]
call fcn.0040a1dc
pop eax
jmp eax

Function at 0x4107a0
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x423be0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
Function at 0x425880
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4259d4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x425820]
call fcn.0040d280
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x425850]
call fcn.0040d280
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00425d48
test al, al
jne 0x4258f6
mov dl, 1
mov eax, esi
call fcn.00425cb0
test al, al
je 0x425980
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00426510
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0042e2c0
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ae9c
mov edi, eax
push edi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x42597b
test byte [ebp - 0x14], 1
je 0x425946
or bl, 1
test byte [ebp - 0x14], 2
je 0x42594f
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x425958
or bl, 0x20
push edi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x42596c
dec eax
je 0x425971
dec eax
je 0x425976
dec eax
jne 0x425998
or bl, 0x10
jmp 0x425998
or bl, 4
jmp 0x425998
or bl, 8
jmp 0x425998
call fcn.0042f4e8
push esi
mov ecx, dword [0x713d74]
mov dl, 1
mov eax, dword [0x41e12c]
call fcn.0042cf6c
call fcn.004098d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4259db
lea eax, [ebp - 0x1c]
call fcn.0040a1dc
lea eax, [ebp - 0xc]
mov edx, dword [0x425850]
call fcn.0040d3a4
lea eax, [ebp - 8]
mov edx, dword [0x425820]
call fcn.0040d3a4
lea eax, [ebp - 4]
call fcn.0040a1dc
pop eax
jmp eax

Function at 0x425cb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040ae9c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x425d1a
test ah, 4
je 0x425d13
test bl, bl
jne 0x425cd8
mov al, 1
jmp 0x425d41
test al, 0x10
je 0x425ce0
xor eax, eax
jmp 0x425d41
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x425d04
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x425d41
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x425d41
test al, 0x10
sete al
jmp 0x425d41
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x425d3b
cmp ebx, 3
je 0x425d3b
cmp ebx, 0x7b
je 0x425d3b
mov eax, esi
call fcn.00425c70
test al, al
jne 0x425d3f
xor eax, eax
jmp 0x425d41
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x42c8c0
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 0x42c9e7
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042c6c8
mov esi, eax
mov eax, dword [0x713bb4]
cmp byte [eax], 0
je 0x42c98d
mov eax, dword [0x713590]
call fcn.00407dec
call fcn.00407408
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 [0x42c890]
call fcn.0040d280
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 0x42ca00
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42c9c9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x7134ac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x71763c]
call fcn.0040db1c
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 0x42c9ee
lea eax, [ebp - 4]
mov edx, dword [0x42c890]
call fcn.0040d3a4
pop eax
jmp eax
Function at 0x42dab8
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x42dafb
mov eax, dword [ebp - 0x10c]
mov dword [0x71795c], eax
mov eax, 0x717960
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040af50
mov eax, 0x717964
call fcn.0040a1dc
xor eax, eax
mov dword [0x717968], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x717820], 0xa
jl 0x42dc51
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x42dc5c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x42dc51
xor eax, eax
push ebp
push 0x42dc4a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42dcb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42dbaa
cmp dword [ebp - 8], 2
jle 0x42dbaa
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42db7d
adc edx, 0
mov eax, 0x717964
call fcn.0040b028
lea eax, [ebp - 8]
push eax
mov eax, dword [0x717964]
call fcn.0040ae9c
push eax
push 0
push 0
push 0x42dcb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x42dc04
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42dcd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42dc04
cmp dword [ebp - 8], 2
jle 0x42dc04
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42dbd9
adc edx, 0
mov eax, 0x717964
call fcn.0040b028
lea eax, [ebp - 8]
push eax
mov eax, dword [0x717964]
call fcn.0040ae9c
push eax
push 0
push 0
push 0x42dcd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x717968
push 0
push 0
push 0x42dcec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42dc31
xor eax, eax
mov dword [0x717968], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dc51
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x709710], 1
mov esp, ebp
pop ebp
ret
Function at 0x444cdc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x444cf3
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x444ce3
mov eax, ecx
pop ebx
ret

Function at 0x4544e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4544f4
add esp, 0xfffffff0
call fcn.00408a44
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44e57c]
call fcn.0046e978
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x45351c]
call fcn.0046ffd4
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x45351c]
call fcn.0046ffd4
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x454549
call fcn.00408a9c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b0b9c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b0bdf
cmp byte [ebx + 0x11], 0
jne 0x4b0bdf
cmp byte [ebx + 0x24], 0
jne 0x4b0bdf
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b0bf6
mov ecx, dword [0x713aac]
mov dl, 1
mov eax, dword [0x481410]
call fcn.0042cad0
call fcn.004098d4
pop ebx
ret
mov ecx, dword [0x713aac]
mov dl, 1
mov eax, dword [0x481410]
call fcn.0042cad0
call fcn.004098d4
pop ebx
ret

Function at 0x4b11c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b120e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b0b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b1227
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b3aa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x71a914
cmp dword [edi], 0
jne 0x4b3b1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x71a910]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x70acf4
mov ecx, 2
call fcn.004077e0
mov edx, 0x4b3a78
lea eax, [esi + 5]
call fcn.004b3a98
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004b3a98
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4b3af1
mov dword [0x71a910], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4bdea8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4bdefa
test eax, edx
je 0x4bdefd
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4bdebd
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x4bdee3
add ecx, 4
js 0x4bded3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4bdee0
movzx eax, byte [eax + ecx]
movzx edx, byte [edx + ecx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4bdf09
test edx, edx
jne 0x4bdeb0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4c0c88
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x4c0d24
push 0
mov eax, ebx
call fcn.0040ae9c
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x4c0cff
mov ebx, esi
test ebx, ebx
je 0x4c0cd1
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0040ae9c
push eax
push 1
push 0
mov eax, edi
call fcn.0040ae9c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
test ebx, ebx
je 0x4c0d1a
mov ecx, dword [0x7135ec]
mov dl, 1
mov eax, dword [0x4bf9b4]
call fcn.0042cad0
call fcn.004098d4
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x4c91f8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
and eax, 0xff
shr ecx, 8
inc edx
xor ecx, dword [eax*4 + 0x70c5b0]
cmp edx, 4
mov eax, ecx
jl 0x4c9200
pop ebp
ret

Function at 0x4c921c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
inc edx
shr eax, 0x18
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + 0x70c9b0]
cmp edx, 4
mov eax, ecx
jl 0x4c9224
pop ebp
ret