joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c8a4
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x41c8ae
mov eax, dword [esp + 0x10000]
add esp, 0xfffffff0
mov dword [esp + 0xc], edx
mov ebx, eax
lea edi, [esp + 0x10]
lea ebp, [esp + 0x1000e]
mov esi, edi
mov eax, ebx
cmp al, 0xf
ja 0x41c8e6
and eax, 0x7f
bt word [0x61eccd], ax
jae 0x41c8fb
push ebp
mov edx, dword [esp + 0x10]
mov ecx, esi
mov eax, dword [0x61ecd4]
call fcn.0041c7b0
mov esi, eax
mov dword [esp + 4], esi
movzx eax, bl
cmp eax, 0xa
ja case.default.0x41c90b
jmp dword [eax*4 + 0x41c912]
mov eax, dword [0x61ece0]
mov edx, dword [0x61ece4]
mov dword [esp], edx
jmp 0x41ca33
mov eax, dword [0x61ecd8]
mov edx, dword [0x61ece4]
mov dword [esp], edx
jmp 0x41ca33
mov eax, dword [0x61ecdc]
mov edx, dword [0x61ece4]
mov dword [esp], edx
jmp 0x41ca33
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x10], 0
je 0x41c988
mov eax, dword [0x61ecec]
jmp 0x41c98d
mov eax, dword [0x61ece8]
mov edx, dword [0x61ecf8]
mov dword [esp], edx
jmp 0x41ca33
test byte [0x61eccd], 8
je 0x41c9ab
mov eax, dword [0x61ecf4]
jmp 0x41c9b0
mov eax, dword [0x61ecf0]
mov edx, dword [0x61ecf8]
mov dword [esp], edx
jmp 0x41ca33
mov eax, dword [0x61ecfc]
mov edx, dword [0x61ed14]
mov dword [esp], edx
jmp 0x41ca33
mov eax, dword [0x61ed00]
mov edx, dword [0x61ed14]
mov dword [esp], edx
jmp 0x41ca33
mov eax, dword [0x61ed08]
mov edx, dword [0x61ed14]
mov dword [esp], edx
jmp 0x41ca33
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x14], 0
je 0x41c9fc
mov eax, dword [0x61ed10]
jmp 0x41ca01
mov eax, dword [0x61ed0c]
mov edx, dword [0x61ed14]
mov dword [esp], edx
jmp 0x41ca33
mov eax, dword [0x61ed04]
mov edx, dword [0x61ed14]
mov dword [esp], edx
jmp 0x41ca33
mov eax, dword [0x61ed18]
mov edx, dword [0x61ed1c]
mov dword [esp], edx
jmp 0x41ca33
xor eax, eax
xor edx, edx
mov dword [esp], edx
push ebp
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.0041c7b0
mov esi, eax
mov word [esi], 0
mov eax, ebx
cmp al, 0xf
ja 0x41ca57
and eax, 0x7f
bt word [0x61eccd], ax
jae 0x41ca99
call fcn.0041c854
mov byte [esp + 8], al
cmp byte [esp + 8], 0
jne 0x41ca72
call fcn.0041c860
test al, al
je 0x41ca8d
lea eax, [esp + 0x10]
mov ecx, esi
sub ecx, eax
sar ecx, 1
jns 0x41ca81
adc ecx, 0
mov edx, edi
mov eax, dword [0x63d260]
call fcn.0041b9bc
cmp byte [esp + 8], 0
jne 0x41ca99
call fcn.0041c884
mov eax, ebx
cmp al, 0xf
ja 0x41caaa
and eax, 0x7f
bt word [0x61eccb], ax
jae 0x41cab2
push edi
call sub.kernel32.dll_OutputDebugStringW
cmp bl, 0xf
ja 0x41cac2
and ebx, 0x7f
bt word [0x61eccf], bx
jae 0x41cad5
call fcn.0041c884
mov edx, dword [esp]
mov eax, dword [esp + 4]
call fcn.0041b7f8
add esp, 0x10014
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42e9dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42ea35
test eax, edx
je 0x42ea38
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42e9f3
movzx eax, word [eax]
sub eax, ecx
jmp 0x42ea1a
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x42ea1b
add ecx, 4
js 0x42ea0b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x42ea18
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42ea1a
xor eax, eax
ret
test eax, eax
je 0x42ea44
test edx, edx
jne 0x42e9e4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x42fdf8
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.0040ba0c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42fe62
test ah, 4
je 0x42fe5b
test bl, bl
jne 0x42fe20
mov al, 1
jmp 0x42fe89
test al, 0x10
je 0x42fe28
xor eax, eax
jmp 0x42fe89
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42fe4c
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x42fe89
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x42fe89
test al, 0x10
sete al
jmp 0x42fe89
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x42fe83
cmp ebx, 3
je 0x42fe83
cmp ebx, 0x7b
je 0x42fe83
mov eax, esi
call fcn.0042fdb8
test al, al
jne 0x42fe87
xor eax, eax
jmp 0x42fe89
mov al, 1
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040ba0c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42ff2e
test esi, 0x400
jne 0x42fec5
test esi, 0x10
setne bl
jmp 0x42ff2e
cmp byte [esp], 0
je 0x42fef9
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42ff2e
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x42ff2e
test esi, 0x10
je 0x42ff05
mov bl, 1
jmp 0x42ff2e
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42ff2c
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x42ff2e
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42ff38
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040ba0c
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x42ff8d
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42ff87
test ah, 4
je 0x42ff87
test al, 0x10
je 0x42ff87
mov eax, esi
call fcn.0040ba0c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x42ff8d
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x434fd8
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 pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x435011
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040b044
jmp 0x43501a
mov eax, ebx
mov edx, esi
call fcn.0040b29c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x435024
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x435048
movzx eax, word [esp]
jmp 0x43504a
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x436d40
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 0x436e67
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00436b48
mov esi, eax
mov eax, dword [0x627df4]
cmp byte [eax], 0
je 0x436e0d
mov eax, dword [0x627a44]
call fcn.0040835c
call fcn.00407270
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 [0x436d10]
call fcn.0040df88
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 0x436e80
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x436e49
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x6279ac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x62c63c]
call fcn.0040e688
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 0x436e6e
lea eax, [ebp - 4]
mov edx, dword [0x436d10]
call fcn.0040e0ac
pop eax
jmp eax
Function at 0x4383cc
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 0x43840f
mov eax, dword [ebp - 0x10c]
mov dword [0x63d4fc], eax
mov eax, 0x63d500
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040bac0
mov eax, 0x63d504
call fcn.0040aeac
xor eax, eax
mov dword [0x63d508], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x63d3c0], 0xa
jl 0x438565
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x438570
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x438565
xor eax, eax
push ebp
push 0x43855e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x4385cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4384be
cmp dword [ebp - 8], 2
jle 0x4384be
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x438491
adc edx, 0
mov eax, 0x63d504
call fcn.0040bb98
lea eax, [ebp - 8]
push eax
mov eax, dword [0x63d504]
call fcn.0040ba0c
push eax
push 0
push 0
push 0x4385cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x438518
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x4385ec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x438518
cmp dword [ebp - 8], 2
jle 0x438518
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x4384ed
adc edx, 0
mov eax, 0x63d504
call fcn.0040bb98
lea eax, [ebp - 8]
push eax
mov eax, dword [0x63d504]
call fcn.0040ba0c
push eax
push 0
push 0
push 0x4385ec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x63d508
push 0
push 0
push 0x438600
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x438545
xor eax, eax
mov dword [0x63d508], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438565
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x620880], 1
mov esp, ebp
pop ebp
ret
Function at 0x4386a8
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 0x438782
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b2e4
lea eax, [ebp - 4]
call fcn.0040b480
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ba0c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x43876a
mov eax, ebx
call fcn.0040708c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x438763
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.0040ba0c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x43874b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x438794
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43874b
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 0x43876a
mov eax, dword [ebp - 0x10]
call fcn.004070a8
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438789
lea eax, [ebp - 4]
call fcn.0040aeac
pop eax
jmp eax

Function at 0x4396ec
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.0040b3c0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00411394
mov edi, eax
cmp edi, 0x104
jbe 0x439697
mov eax, edi
add eax, eax
call fcn.0040708c
mov esi, eax
jmp 0x439699
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00411394
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4396d2
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 0x4396bc
mov eax, esp
cmp esi, eax
je 0x4396df
mov eax, esi
call fcn.004070a8
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 0x439718
cmp bl, 0
je 0x439714
cmp bl, 0x41
jl 0x43970f
cmp bl, 0x5a
jg 0x43970f
or bl, 0x20
xor al, bl
inc esi
jmp 0x4396f3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x439658

Function at 0x43a054
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.0040bac0
add esp, 0x800
pop ebx
ret
Function at 0x43a650
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.0040aeac
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040ba0c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x43a695
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040b044
jmp 0x43a6ae
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040bb98
push ebx
mov eax, dword [esi]
call fcn.0040ba0c
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43c8f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43c912
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x43c92a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43c925
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x43c92f
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x43c99d
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x43c9e6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43c95b
inc dword [ebp - 0xc]
jmp 0x43c973
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x43c973
cmp dword [ebp - 0xc], 0
jle 0x43c973
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x43c995
xor eax, eax
jmp 0x43c991
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x43c990
mov eax, esi
jmp 0x43c9e9
inc eax
cmp eax, ecx
jle 0x43c97d
inc esi
cmp esi, dword [ebp - 8]
jl 0x43c947
jmp 0x43c9e6
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x43c9e6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43c9be
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x43c9e0
xor eax, eax
jmp 0x43c9dc
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x43c9db
mov eax, esi
jmp 0x43c9e9
inc eax
cmp eax, ecx
jle 0x43c9c8
inc esi
cmp esi, dword [ebp - 8]
jl 0x43c9a6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43cbf8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x43cc15
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43cc23
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x43cd45
test ebx, ebx
jl 0x43cd45
test esi, esi
jle 0x43cd45
mov eax, dword [ebp - 8]
call fcn.0040ba0c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040ba0c
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x43cce2
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x43cd45
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x43ccc7
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x43cc96
inc dword [ebp - 0x14]
jmp 0x43cca6
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x43cca6
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x43ccb1
or eax, 0xffffffff
jmp 0x43ccc7
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x43ccc4
inc eax
jmp 0x43ccc7
or eax, 0xffffffff
test eax, eax
jl 0x43cccf
cmp esi, eax
jg 0x43cc84
cmp esi, eax
jg 0x43ccda
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x43cd48
inc edx
dec dword [ebp - 0x1c]
jne 0x43cc80
jmp 0x43cd45
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x43cd45
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x43cd2c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x43cd0b
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x43cd16
or eax, 0xffffffff
jmp 0x43cd2c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x43cd29
inc eax
jmp 0x43cd2c
or eax, 0xffffffff
test eax, eax
jl 0x43cd34
cmp esi, eax
jg 0x43ccf4
cmp esi, eax
jg 0x43cd3f
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x43cd48
inc edx
dec dword [ebp - 0x1c]
jne 0x43ccf0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44d630
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x44d638
mov eax, edx
pop esi
pop ebx
ret
Function at 0x461304
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x461318
add esp, 0xfffffff0
call fcn.004096c4
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x45b22c]
call fcn.0047fa1c
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x4602d4]
call fcn.004827d0
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x4602d4]
call fcn.004827d0
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 0x46136d
call fcn.0040971c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cf8f0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4cf933
cmp byte [ebx + 0x11], 0
jne 0x4cf933
cmp byte [ebx + 0x24], 0
jne 0x4cf933
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 0x4cf94a
mov ecx, dword [0x627d64]
mov dl, 1
mov eax, dword [0x49b108]
call fcn.00436fcc
call fcn.0040a594
pop ebx
ret
mov ecx, dword [0x627d64]
mov dl, 1
mov eax, dword [0x49b108]
call fcn.00436fcc
call fcn.0040a594
pop ebx
ret

Function at 0x4d02b8
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 0x4d0306
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.004cf79c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d031f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4d0328
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004cf79c
dec esi
jne 0x4d034a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4d3104
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6404c4
cmp dword [edi], 0
jne 0x4d3180
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x6404c0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x62179c
mov ecx, 2
call fcn.00407500
mov edx, 0x4d30dc
lea eax, [esi + 5]
call fcn.004d30fc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004d30fc
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 0x4d3155
mov dword [0x6404c0], 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 0x4ec890
Capabilities:
Encode data using xor

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