joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44486c
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 0x4449e7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00484dbc
mov eax, dword [ebp - 4]
call fcn.004441cc
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4448be
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00485c04
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.00445460
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44499d
xor eax, eax
push ebp
push 0x444996
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044446c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00444a1c
test al, al
je 0x444974
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00484b1c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x444974
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.004857f8
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.004443cc
test al, al
je 0x44496e
mov eax, dword [ebp - 8]
call fcn.004857f8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00485848
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0044486c
dec ebx
cmp ebx, 0xffffffff
jne 0x44491d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44499d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044446c
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.004857f8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00444458
push eax
call fcn.005bc5fa
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004443cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4449ee
lea eax, [ebp - 0x3c]
call fcn.00484994
lea eax, [ebp - 8]
mov edx, 2
call fcn.004849f4
ret
Function at 0x444a88
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x444b40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00444a1c
test al, al
je 0x444b22
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00484b1c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x444b22
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004857f8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.004857f8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00485848
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x444adb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444b47
lea eax, [ebp - 0x2c]
call fcn.00484994
lea eax, [ebp - 4]
call fcn.00484994
ret

Function at 0x444cf8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x444db0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00444a1c
test al, al
je 0x444d92
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00484b1c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x444d92
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004857f8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.004857f8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00485848
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x444d4b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444db7
lea eax, [ebp - 0x2c]
call fcn.00484994
lea eax, [ebp - 4]
call fcn.00484994
ret
Function at 0x44533c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004441e4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004857f8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004443cc
test al, al
jne 0x4453a4
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5e72b4]
mov dl, 1
mov eax, dword [0x442098]
call fcn.0046dd0c
call fcn.0048419c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4453b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004857f8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004443cc
test al, al
jne 0x445411
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5e72ac]
mov dl, 1
mov eax, dword [0x442098]
call fcn.0046dd0c
call fcn.0048419c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00444214
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x445a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x445b38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0044446c
xor eax, eax
push ebp
push 0x445b13
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444a1c
test al, al
je 0x445af7
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004458f0
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00484b1c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x445af7
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004857f8
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004443cc
test al, al
je 0x445af3
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004857f8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00485848
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004458f0
pop ecx
inc edi
dec ebx
jne 0x445a9b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445b1a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0044446c
ret
Function at 0x445b48
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x445d96
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0044446c
xor eax, eax
push ebp
push 0x445d6c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444a1c
test al, al
je 0x445d50
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00484b1c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x445d50
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
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 - 4]
call fcn.004857f8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004443cc
test al, al
je 0x445d44
mov eax, dword [ebp - 4]
call fcn.004857f8
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00485848
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00445460
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x445d44
xor eax, eax
push ebp
push 0x445d3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0044446c
xor eax, eax
push ebp
push 0x445d1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004857f8
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00485848
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444470
mov eax, dword [ebp - 4]
call fcn.004857f8
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00485848
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00445460
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x445cfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00445a10
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00445b48
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445d03
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x445bd3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445d73
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0044446c
ret
Function at 0x467c40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x467c99
test eax, edx
je 0x467c9c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x467c57
movzx eax, word [eax]
sub eax, ecx
jmp 0x467c7e
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 0x467c7f
add ecx, 4
js 0x467c6f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x467c7c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x467c7e
xor eax, eax
ret
test eax, eax
je 0x467ca8
test edx, edx
jne 0x467c48
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x468c4c
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.004857f8
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x468cb6
test ah, 4
je 0x468caf
test bl, bl
jne 0x468c74
mov al, 1
jmp 0x468cdd
test al, 0x10
je 0x468c7c
xor eax, eax
jmp 0x468cdd
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x468ca0
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x468cdd
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x468cdd
test al, 0x10
sete al
jmp 0x468cdd
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x468cd7
cmp ebx, 3
je 0x468cd7
cmp ebx, 0x7b
je 0x468cd7
mov eax, esi
call fcn.00468c0c
test al, al
jne 0x468cdb
xor eax, eax
jmp 0x468cdd
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x468ce4
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.004857f8
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x468d8b
test esi, 0x400
jne 0x468d20
test esi, 0x10
setne bl
jmp 0x468da5
cmp byte [esp], 0
je 0x468d54
push 0
push 0x2000000
push 3
push 0
push 1
push SysReAllocStringLen
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x468da5
push eax
call sub.KERNEL32.DLL_CloseHandle
test esi, 0x10
setne bl
jmp 0x468da5
test esi, 0x10
je 0x468d60
mov bl, 1
jmp 0x468da5
push 0
push 0x2000000
push 3
push 0
push 1
push SysReAllocStringLen
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x468d87
push eax
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x468da5
mov bl, 1
jmp 0x468da5
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
je 0x468d9f
cmp eax, 3
je 0x468d9f
cmp eax, 0x7b
jne 0x468da3
xor ebx, ebx
jmp 0x468da5
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46cc8c
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 0x46ccc5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00484b1c
jmp 0x46ccce
mov eax, ebx
mov edx, esi
call fcn.00484d74
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46ccd8
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 0x46ccfa
movzx eax, word [esp]
jmp 0x46ccfc
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x46d9b8
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 0x46dadd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0046d7c8
mov esi, eax
mov eax, dword [0x5e7510]
cmp byte [eax], 0
je 0x46da85
mov eax, dword [0x5e7518]
call fcn.00482990
call fcn.0048257c
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 [0x46d990]
call fcn.00486b68
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 0x46daf8
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x46dac1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5e7374]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5e7dec]
call fcn.00486d74
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 0x46dae4
lea eax, [ebp - 4]
mov edx, dword [0x46d990]
call fcn.00486c8c
ret
Function at 0x46eb38
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 0x46ec0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00484dbc
lea eax, [ebp - 4]
call fcn.00484f60
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004857f8
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x46ebf8
mov eax, ebx
call fcn.00482378
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46ebf1
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.004857f8
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x46ebdb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x46ec20
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x46ebdb
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 0x46ebf8
mov eax, dword [ebp - 0x10]
call fcn.00482394
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ec15
lea eax, [ebp - 4]
call fcn.00484994
ret

Function at 0x46f7d8
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.00484e6c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00488798
mov edi, eax
cmp edi, 0x104
jbe 0x46f783
mov eax, edi
add eax, eax
call fcn.00482378
mov esi, eax
jmp 0x46f785
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00488798
push esi
call sub.USER32.DLL_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x46f7be
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 0x46f7a8
mov eax, esp
cmp esi, eax
je 0x46f7cb
mov eax, esi
call fcn.00482394
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 0x46f804
cmp bl, 0
je 0x46f800
cmp bl, 0x41
jl 0x46f7fb
cmp bl, 0x5a
jg 0x46f7fb
or bl, 0x20
xor al, bl
inc esi
jmp 0x46f7df
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x46f744

Function at 0x46ff9c
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.0048589c
add esp, 0x800
pop ebx
ret
Function at 0x4827e8
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.00484994
test esi, esi
jne 0x48281e
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.00484b1c
jmp 0x48283c
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004826cc
mov edi, eax
test esi, esi
je 0x48283c
cmp dword [ebx], 0
je 0x48283c
dec esi
jmp 0x482825
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4837f8
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.00483be4
mov byte [esp], al
cmp byte [esp], 0
jne 0x483981
test edi, edi
je 0x483981
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4838b8
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x483893
cmp edi, 0xffffffff
je 0x483857
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x483857
mov byte [esp], 0
jmp 0x483981
mov ebx, dword [esi]
cmp ebx, 1
jg 0x483893
test ebx, ebx
jne 0x48388c
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.0048071c
test eax, eax
jne 0x48388c
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x483981
pause
dec ebp
test ebp, ebp
jg 0x48383c
cmp edi, 0xffffffff
je 0x4838b8
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4838b6
mov byte [esp], 0
jmp 0x483981
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x483806
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.0048071c
cmp ebx, eax
jne 0x4838b8
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004839f4
mov edx, eax
mov ebx, dword [0x5eaf0c]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x48391f
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x48391d
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x48391f
xor edi, edi
cmp byte [esp], 0
je 0x483948
mov ebx, dword [esi]
test bl, 1
jne 0x483961
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.0048071c
cmp ebx, eax
jne 0x483925
mov byte [esp + 1], 1
jmp 0x483961
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.0048071c
cmp ebx, eax
jne 0x483948
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4838d2
cmp byte [esp], 0
je 0x483981
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 0x484644
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5ea694], 0
je 0x4846a5
cmp word [0x5ea970], 0xd7b2
jne 0x48466d
cmp dword [0x5ea978], 0
jbe 0x48466d
mov eax, 0x5ea96c
call dword [0x5ea988]
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 0x4846d0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x5cbc74], 0
jne 0x4846c1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x484850
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 [0x5cbc40], 0
je 0x48487b
mov edx, edi
mov eax, esi
call dword [0x5cbc40]
mov ebx, eax
jmp 0x48488c
mov eax, 8
call fcn.00482378
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5ea695], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x484818
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 0x4848c1
mov edx, 8
mov eax, ebx
call fcn.00482394
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc