joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4660c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x4661d8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jne 0x4661b8
mov eax, ebx
call fcn.00406040
push eax
call sub.kernel32.dll_GetModuleHandleA
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.0041a0f4
mov dword [edi], eax
test esi, esi
je 0x466126
cmp word [esi], 0x25ff
jne 0x466126
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x466128
xor ebx, ebx
cmp byte [ebp + 8], 0
jne 0x466146
push 0
call sub.kernel32.dll_GetModuleHandleW_2
cmp eax, dword [0x54c66c]
je 0x466146
cmp byte [0x54c678], 0
je 0x46615d
lea eax, [ebp - 0x10]
call fcn.00435520
mov eax, dword [ebp - 0x10]
mov edx, dword [edi]
mov ecx, dword [ebp + 0xc]
call fcn.00435974
jmp 0x46616c
mov edx, dword [edi]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x54c66c]
call fcn.004358bc
test ebx, ebx
je 0x46617b
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
je 0x46617f
xor eax, eax
jmp 0x466181
mov al, 1
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x4661bc
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4661bc
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
jmp 0x4661bc
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4661df
lea eax, [ebp - 0x10]
mov edx, dword [0x4354f4]
call fcn.00407fc8
ret

Function at 0x4661ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4662c7
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x4662ab
test esi, esi
je 0x46622d
cmp word [esi], 0x25ff
jne 0x46622d
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x46622f
xor ebx, ebx
cmp byte [ebp + 8], 0
jne 0x46624d
push 0
call sub.kernel32.dll_GetModuleHandleW_2
cmp eax, dword [0x54c66c]
je 0x46624d
cmp byte [0x54c678], 0
je 0x466264
lea eax, [ebp - 0xc]
call fcn.00435520
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 4]
call fcn.00435974
jmp 0x466273
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, dword [0x54c66c]
call fcn.004358bc
test ebx, ebx
je 0x4662ab
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
jne 0x4662ab
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4662ab
mov dword [ebx], edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4662ce
lea eax, [ebp - 0xc]
mov edx, dword [0x4354f4]
call fcn.00407fc8
ret
Function at 0x466ae4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov ebx, eax
lea eax, [ebp - 0x40]
mov edx, dword [0x41bc08]
call fcn.004070e8
xor eax, eax
push ebp
push 0x466c54
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x49], 0
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00421010
cmp byte [ebp - 0x40], 0
je 0x466c38
mov eax, dword [ebp - 0x20]
call fcn.00407ce8
test eax, eax
jl 0x466c38
inc eax
xor esi, esi
mov edx, esi
add edx, edx
add edx, edx
add edx, edx
sub edx, esi
mov ecx, dword [ebp - 0x20]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x44]
jne 0x466c30
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 + 4]
cmp byte [eax], 0xe8
jne 0x466bd2
lea eax, [ebp - 0x50]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x466c38
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x14]
mov dword [edx], eax
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
mov edx, dword [edx]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [ebp - 0x48]
sub edx, dword [ebx + 8]
mov dword [eax], edx
lea edx, [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x50]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp + 0x18]
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
mov byte [ebp - 0x49], 1
jmp 0x466c38
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 + 4]
cmp word [eax], 0x15ff
jne 0x466c38
lea eax, [ebp - 0x50]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x466c38
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov edx, dword [edx]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
lea edx, [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x50]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp + 0x18]
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
mov byte [ebp - 0x49], 1
jmp 0x466c38
inc esi
dec eax
jne 0x466b57
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466c5b
lea eax, [ebp - 0x40]
mov edx, dword [0x41bc08]
call fcn.004071c0
ret
Function at 0x466ec4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov byte [0x54d014], 0
cmp dword [0x54d018], 0
je 0x466f0b
push esp
push 0x40
push 4
mov eax, dword [0x54d018]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x466f61
mov eax, dword [0x54d018]
mov edx, dword [0x54d01c]
mov dword [eax], edx
push esp
mov eax, dword [esp + 4]
push eax
push 4
mov eax, dword [0x54d018]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x466f61
cmp dword [0x54d020], 0
je 0x466f4a
push esp
push 0x40
push 4
mov eax, dword [0x54d020]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x466f61
mov eax, dword [0x54d020]
mov edx, dword [0x54d024]
mov dword [eax], edx
push esp
mov eax, dword [esp + 4]
push eax
push 4
mov eax, dword [0x54d020]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x466f61
push 0
mov ecx, 0x4667fc
mov eax, sub.kernel32.dll_CreateThread_1
mov edx, dword [0x54d00c]
call fcn.004661ec
push 0
mov ecx, 0x466ab8
mov edx, dword [0x54d010]
xor eax, eax
call fcn.004661ec
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
ret

Function at 0x467554
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov esi, eax
lea eax, [ebp - 8]
mov edx, dword [0x467424]
call fcn.004070e8
xor eax, eax
push ebp
push 0x467633
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x467640
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x46760a
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov cl, 0x30
mov edx, 1
call fcn.0040d33c
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x467658
call fcn.00405dc8
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0040e8fc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00405a34
lea eax, [ebp - 4]
mov edx, 0x467680
call fcn.00405d4c
mov eax, dword [ebp - 4]
call fcn.00405d18
cmp eax, 0x104
jge 0x4675fc
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x104
call fcn.004061e0
lea eax, [ebp - 8]
push eax
push 0x46745c
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46763a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004059a8
lea eax, [ebp - 8]
mov edx, dword [0x467424]
call fcn.004071c0
ret
Function at 0x467f4c
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x468021
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.0040d33c
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x46803c
call fcn.00405dc8
mov eax, dword [ebp - 4]
call fcn.00406040
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov ebx, eax
test ebx, ebx
je 0x468006
mov byte [0x54c5ac], 1
push 0
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test esi, esi
je 0x468000
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esi]
push eax
push 0
push 0x100000
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x467fe8
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle_1
mov edx, 0x54c6cc
lea eax, [esi + 8]
mov ecx, 0x50
call fcn.0040323c
push esi
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468028
lea eax, [ebp - 8]
mov edx, 2
call fcn.004059a8
ret
Function at 0x468558
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4686ec
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov edx, 0x4686fc
mov ecx, 0x468710
mov eax, ebx
call fcn.0041a610
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405b94
call fcn.00405d18
cmp eax, 0x14
jne 0x4686d6
cmp ebx, dword [0x54c66c]
sete al
mov edx, dword [ebp - 4]
test byte [edx + 3], 0x80
sete dl
cmp al, dl
jne 0x4686d6
mov eax, ebx
call fcn.00419e1c
mov esi, eax
cmp word [esi + 0x18], 0x20b
jne 0x46863e
lea eax, [ebp - 8]
push eax
push 0x40
push 0xf0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
cmp ebx, dword [0x54c66c]
jne 0x4685fb
mov eax, 0x433e78
mov edx, dword [ebp - 4]
sub eax, dword [edx]
sub eax, ebx
mov dword [esi + 0x2c], eax
jmp 0x468608
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x7fffffff
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xf0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x4686c7
lea eax, [ebp - 8]
push eax
push 0x40
push 0xe0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
cmp ebx, dword [0x54c66c]
jne 0x46867b
mov eax, 0x433e78
mov edx, dword [ebp - 4]
sub eax, dword [edx]
sub eax, ebx
mov dword [esi + 0x2c], eax
mov eax, 0x54c5dc
mov edx, dword [ebp - 4]
sub eax, dword [edx + 4]
sub eax, ebx
mov dword [esi + 0x30], eax
jmp 0x468696
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x7fffffff
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
and eax, 0x7fffffff
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xe0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4686f3
lea eax, [ebp - 4]
call fcn.00405984
ret
Function at 0x468814
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4689f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x468a10
call fcn.00405a34
mov eax, dword [ebp - 4]
call fcn.00406040
push eax
call sub.kernel32.dll_GetModuleHandleA
test eax, eax
jne 0x4689dd
xor eax, eax
push ebp
push 0x4689d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor esi, esi
jmp 0x4689b4
cmp dword [ebp - 0x1c], 0x1000
jne 0x4689ac
cmp dword [ebp - 0x18], 1
je 0x4689ac
cmp esi, dword [ebp - 0x28]
je 0x4689ac
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jne 0x4689ac
push 0x104
lea eax, [ebp - 0x236]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
test eax, eax
jbe 0x4689ac
mov eax, dword [ebp - 0x28]
call fcn.004393a0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4689ac
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4689ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4689ac
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SizeofResource
sub eax, 0x10
push eax
push 0
push 0
push 0x7fffffff
mov esi, dword [0x556f70]
mov esi, dword [esi]
mov eax, 0x468a20
mov ecx, 0xe
mov edx, dword [ebp - 0x10]
call esi
test eax, eax
jl 0x46896d
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SizeofResource
sub eax, 0x10
push eax
push 0
push 0
push 0x7fffffff
mov esi, dword [0x556f70]
mov esi, dword [esi]
mov eax, 0x468a30
mov ecx, 0x10
mov edx, dword [ebp - 0x10]
call esi
inc eax
sete dl
mov eax, dword [ebp - 0x28]
call fcn.00467f04
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SizeofResource
sub eax, 0x10
push eax
push 0
push 0
push 0x7fffffff
mov esi, dword [0x556f70]
mov esi, dword [esi]
mov eax, 0x468a44
mov ecx, 0xc
mov edx, dword [ebp - 0x10]
call esi
test eax, eax
jl 0x4689ac
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.00467d20
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
add ebx, eax
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
cmp eax, 0x1c
je 0x46886d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4689dd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4689fa
lea eax, [ebp - 4]
call fcn.00405984
ret
Function at 0x46ab28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00405984
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00406040
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x46abed
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406040
mov edi, eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
cmp dword [ebp - 0xc], 0
je 0x46abe4
mov eax, dword [ebp - 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46abde
cmp dword [ebp - 0x10], 1
jne 0x46abd0
mov eax, ebx
mov edx, esi
mov ecx, 0
call fcn.00405c38
jmp 0x46abde
push 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov edx, esi
call fcn.00405abc
push esi
call sub.kernel32.dll_LocalFree
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46d040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x55bda0
push 0xa
push 0x46d0d4
mov eax, dword [0x55ab20]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x46d064
call fcn.00478470
push ebx
mov eax, dword [0x55ab20]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x46d07b
call fcn.00478470
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x46d08d
call fcn.00478470
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x55bda4], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x55bda8], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x55bdac], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x55bdb0], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x55bdb4], ecx
add edx, dword [eax + 0x14]
mov dword [0x55bdb8], edx
pop esi
pop ebx
ret

Function at 0x46eb30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x46ebd9
test eax, edx
je 0x46ebdc
push 0
push 0
cmp word [eax - 0xa], 2
je 0x46eb59
push edx
mov edx, eax
mov eax, esp
call fcn.004068f4
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x46eb6f
push eax
lea eax, [esp + 8]
call fcn.004068f4
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x46eb7e
movzx eax, word [eax]
sub eax, ecx
jmp 0x46eba5
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 0x46ebbf
add ecx, 4
js 0x46eb96
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x46ebbc
push eax
mov eax, ecx
mov edx, 2
call fcn.004059a8
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x46eba3
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x46eba5
xor eax, eax
ret
test eax, eax
je 0x46ebec
test edx, edx
jne 0x46eb40
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00406764
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46fd42
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x46fd63
cmp ebx, 3
je 0x46fd63
cmp ebx, 0x7b
je 0x46fd63
mov eax, esi
call fcn.0046fce4
test al, al
jne 0x46fd67
xor eax, eax
jmp 0x46fd69
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00406764
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46fd85
test al, 0x10
jne 0x46fd89
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x46fea4
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00406764
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x46fec6
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4753ac
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 0x4753e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406814
jmp 0x4753ee
mov eax, ebx
mov edx, esi
call fcn.004066d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x475ccc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.00475b04
mov eax, dword [0x5572b0]
cmp byte [eax], 0
je 0x475d5e
mov eax, dword [0x556ee4]
call fcn.00403844
call fcn.004031ec
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.00470414
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x475dac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x475d97
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x556e64]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x55ab20]
call fcn.004080b0
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret
Function at 0x4769c8
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 0x476a9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040672c
lea eax, [ebp - 4]
call fcn.00407048
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406764
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x476a88
mov eax, ebx
call fcn.00403054
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x476a81
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.00406764
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x476a6b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x476ab0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x476a6b
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 0x476a88
mov eax, dword [ebp - 0x10]
call fcn.00403070
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476aa5
lea eax, [ebp - 4]
call fcn.004066c8
ret

Function at 0x478318
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.00405d24
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x4782c2
mov eax, edi
add eax, eax
call fcn.00403054
mov esi, eax
jmp 0x4782c4
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4782fd
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 0x4782e7
mov eax, esp
cmp esi, eax
je 0x47830a
mov eax, esi
call fcn.00403070
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 0x478344
cmp bl, 0
je 0x478340
cmp bl, 0x41
jl 0x47833b
cmp bl, 0x5a
jg 0x47833b
or bl, 0x20
xor al, bl
inc esi
jmp 0x47831f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x478284

Function at 0x48beb8
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.0048bbbc
dec esi
jne 0x48beda
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret