joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4211d8
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x421415
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.004094c8
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ebx, eax
test ebx, ebx
jne 0x4212af
cmp dword [ebp - 0x14], 0
jne 0x4212af
xor edx, edx
mov eax, 6
call fcn.00428de4
test al, al
je 0x4212af
push 2
push 0x104
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFinalPathNameByHandleW
test eax, eax
jbe 0x4212af
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a330
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00420fbc
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.004098a8
mov byte [ebp - 9], 1
jmp 0x4213f7
test ebx, ebx
jne 0x4212bd
cmp dword [ebp - 0x14], 0
je 0x4213ab
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x4213ab
xor eax, eax
push ebp
push 0x4213a4
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42138d
xor eax, eax
push ebp
push 0x421386
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.004126c8
test eax, eax
jbe 0x42136f
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a330
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.00420fbc
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.004098a8
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42138d
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4213ab
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x4213f7
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.004210f4
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.004098a8
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x4213f7
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00420fbc
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.004098a8
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42141c
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00409528
ret
Function at 0x421428
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.00428de4
test al, al
je 0x4214f0
xor edx, edx
mov eax, ebx
call fcn.00422dc0
test al, al
je 0x4214f0
mov eax, ebx
call fcn.00422b90
test al, 0x20
je 0x4214f0
mov eax, ebx
call fcn.0040a28c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4214f0
test ah, 4
je 0x4214f0
test al, 0x10
je 0x42148f
mov edi, 0x2000000
jmp 0x421491
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040a28c
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4214f0
xor eax, eax
push ebp
push 0x4214e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.004211d8
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4214f0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4217d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42182d
test eax, edx
je 0x421830
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4217eb
movzx eax, word [eax]
sub eax, ecx
jmp 0x421812
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 [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x421813
add ecx, 4
js 0x421803
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x421810
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x421812
xor eax, eax
ret
test eax, eax
je 0x42183c
test edx, edx
jne 0x4217dc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x422000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x422018
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x422020
mov al, 1
jmp 0x42203d
movzx esi, word [ebp]
mov eax, esi
call fcn.004129f4
test al, al
jne 0x422039
cmp si, 0x5f
je 0x422039
xor eax, eax
jmp 0x42203b
mov al, 1
xor al, 1
test al, al
jne 0x4220cd
test bl, bl
je 0x42208d
mov eax, ebp
test eax, eax
je 0x422054
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x4220c9
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00412a80
test al, al
jne 0x422081
cmp di, 0x5f
je 0x422081
cmp di, 0x2e
je 0x422081
xor eax, eax
jmp 0x422083
mov al, 1
test al, al
je 0x4220cd
inc esi
dec ebx
jne 0x422061
jmp 0x4220c9
mov eax, ebp
test eax, eax
je 0x422098
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x4220c9
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00412a80
test al, al
jne 0x4220bf
cmp di, 0x5f
je 0x4220bf
xor eax, eax
jmp 0x4220c1
mov al, 1
test al, al
je 0x4220cd
inc esi
dec ebx
jne 0x4220a5
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x422b90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x422cc4
push dword fs:[eax]
mov dword fs:[eax], esp
movzx ebx, byte [0x422cd4]
mov dl, 1
mov eax, esi
call fcn.00422e58
test al, al
jne 0x422be1
mov dl, 1
mov eax, esi
call fcn.00422dc0
test al, al
je 0x422c77
lea edx, [ebp - 0x424]
mov eax, esi
call fcn.004230d4
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 4]
call fcn.004292a4
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a28c
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x422c72
test byte [ebp - 0xc], 1
je 0x422c3d
or bl, 1
test byte [ebp - 0xc], 2
je 0x422c46
or bl, 2
test byte [ebp - 0xc], 0x80
je 0x422c4f
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x422c63
dec eax
je 0x422c68
dec eax
je 0x422c6d
dec eax
jne 0x422c9e
or bl, 0x10
jmp 0x422c9e
or bl, 4
jmp 0x422c9e
or bl, 8
jmp 0x422c9e
call fcn.00429aec
lea edx, [ebp - 0x428]
mov eax, dword [0x5bc5b0]
call fcn.0040d374
mov ecx, dword [ebp - 0x428]
mov dl, 1
mov eax, dword [0x41cc04]
call fcn.00427dd0
call fcn.00408bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422ccb
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00409528
lea eax, [ebp - 4]
call fcn.004094c8
ret
Function at 0x422dc0
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.0040a28c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422e2a
test ah, 4
je 0x422e23
test bl, bl
jne 0x422de8
mov al, 1
jmp 0x422e51
test al, 0x10
je 0x422df0
xor eax, eax
jmp 0x422e51
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x422e14
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x422e51
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x422e51
test al, 0x10
sete al
jmp 0x422e51
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x422e4b
cmp ebx, 3
je 0x422e4b
cmp ebx, 0x7b
je 0x422e4b
mov eax, esi
call fcn.00422d80
test al, al
jne 0x422e4f
xor eax, eax
jmp 0x422e51
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x422e58
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.0040a28c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x422eff
test esi, 0x400
jne 0x422e94
test esi, 0x10
setne bl
jmp 0x422f1e
cmp byte [esp], 0
je 0x422ec8
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x422f1e
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x422f1e
test esi, 0x10
je 0x422ed4
mov bl, 1
jmp 0x422f1e
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x422efb
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x422f1e
mov bl, 1
jmp 0x422f1e
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x422f18
cmp eax, 3
je 0x422f18
cmp eax, 0x7b
je 0x422f18
cmp eax, 0x35
jne 0x422f1c
xor ebx, ebx
jmp 0x422f1e
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x422f28
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x422ffb
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004098f0
cmp byte [ebp - 9], 0
je 0x422fb9
mov eax, ebx
call fcn.0040a28c
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x422fb9
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00421428
test al, al
je 0x422fb9
mov eax, dword [ebp - 8]
call fcn.004232b8
test al, al
je 0x422fae
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00423098
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004292a4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040a4e0
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004098f0
push edi
mov eax, dword [ebp - 4]
call fcn.0040a28c
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x422fd3
call sub.kernel32.dll_GetLastError_2
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423002
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409528
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409528
ret

Function at 0x426f3c
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_1
test eax, eax
jle 0x426f75
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409650
jmp 0x426f7e
mov eax, ebx
mov edx, esi
call fcn.004098a8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x426f88
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_1
test eax, eax
jle 0x426faa
movzx eax, word [esp]
jmp 0x426fac
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x427c80
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 0x427da5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00427a88
mov esi, eax
mov eax, dword [0x5bc49c]
cmp byte [eax], 0
je 0x427d4d
mov eax, dword [0x5bbff8]
call fcn.004051f4
call fcn.004046c8
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x427c50]
call fcn.0040b89c
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x427dc0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x427d89
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5bbf48]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5bfc50]
call fcn.0040b990
push eax
call sub.user32.dll_LoadStringW_1
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 0x427dac
lea eax, [ebp - 4]
mov edx, dword [0x427c50]
call fcn.0040b8a8
ret

Function at 0x428e04
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 0x428eda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004098f0
lea eax, [ebp - 4]
call fcn.00409a90
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a28c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x428ec4
mov eax, ebx
call fcn.00404554
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x428ebd
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.0040a28c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x428ea7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x428eec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x428ea7
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 0x428ec4
mov eax, dword [ebp - 0x10]
call fcn.00404570
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428ee1
lea eax, [ebp - 4]
call fcn.004094c8
ret
Function at 0x429990
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.004099d0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d408
mov edi, eax
cmp edi, 0x104
jbe 0x429937
mov eax, edi
add eax, eax
call fcn.00404554
mov esi, eax
jmp 0x429939
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d408
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x429974
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 0x42995e
mov eax, esp
cmp esi, eax
je 0x429981
mov eax, esi
call fcn.00404570
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 0x4299bc
cmp bl, 0
je 0x4299b8
cmp bl, 0x41
jl 0x4299b3
cmp bl, 0x5a
jg 0x4299b3
or bl, 0x20
xor al, bl
inc esi
jmp 0x429997
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4298f8

Function at 0x42a1c4
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_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a330
add esp, 0x800
pop ebx
ret

Function at 0x4548c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x45495e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x454922
cmp byte [ebx + 0x10], 0
jne 0x454922
cmp byte [ebx + 0x3c], 0
jne 0x454922
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x454943
lea edx, [ebp - 4]
mov eax, dword [0x5bc3d0]
call fcn.0040d374
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x442b88]
call fcn.00427dd0
call fcn.00408bfc
jmp 0x454943
lea edx, [ebp - 8]
mov eax, dword [0x5bc3d0]
call fcn.0040d374
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x442b88]
call fcn.00427dd0
call fcn.00408bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454965
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409528
ret

Function at 0x455260
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 + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4552ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004547f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4552c7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4552d0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004547f8
dec esi
jne 0x4552f2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x457574
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5c2020
cmp dword [edi], 0
jne 0x4575f0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5c201c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5b89b4
mov ecx, 2
call fcn.004047a0
mov edx, 0x45754c
lea eax, [esi + 5]
call fcn.0045756c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0045756c
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 0x4575c5
mov dword [0x5c201c], 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 0x45c250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x45c2a2
test eax, edx
je 0x45c2a5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x45c265
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 [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x45c28b
add ecx, 4
js 0x45c27b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x45c288
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x45c2b1
test edx, edx
jne 0x45c258
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x45f8f4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45faaf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004098f0
mov eax, dword [ebp - 4]
call fcn.0045f244
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x45f946
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040a698
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00460530
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45fa25
xor eax, eax
push ebp
push 0x45fa1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0045f4e4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0045fae4
test al, al
je 0x45f9fc
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409650
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x45f9fc
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040a28c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0045f444
test al, al
je 0x45f9f6
mov eax, dword [ebp - 8]
call fcn.0040a28c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040a2f4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0045f8f4
dec ebx
cmp ebx, 0xffffffff
jne 0x45f9a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fa25
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0045f4e4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x5c2088], 0
je 0x45fa65
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040a28c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0045f4d0
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0045f444
mov ebx, eax
jmp 0x45fa8c
mov eax, dword [ebp - 4]
call fcn.0040a28c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0045f4d0
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0045f444
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fab6
lea eax, [ebp - 0x3c]
call fcn.004094c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409528
ret