joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430834
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4309d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40ce98]
call fcn.00402e3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403a10
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4309af
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00428690
test al, al
je 0x4309a2
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4309e8
lea eax, [ebp - 0x254]
call fcn.00408124
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4309a2
xor eax, eax
push ebp
push 0x43099b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x430a20
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x430984
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403c3c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x430984
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403c3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4309a2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4308a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.004106dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4309e0
lea eax, [ebp - 0x260]
call fcn.00403a10
ret

Function at 0x430c54
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5bf708]
cmp byte [eax + 0x85], 0
jne 0x430cc5
cmp dword [0x5bf740], 0
jne 0x430c86
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x430c10
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5bf740], eax
cmp dword [0x5bf73c], 0
jne 0x430ca1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5bf73c], eax
cmp dword [0x5bf744], 0
jne 0x430cc5
push esp
push 0
push 0
push 0x430bb4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5bf744], eax
pop edx
ret
Function at 0x430db4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x430dcb
add esp, 0xfffffff0
call fcn.004030f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414768
mov dl, 1
mov eax, dword [0x40ca80]
call fcn.00402e3c
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x40ca80]
call fcn.00402e3c
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x4161f8]
call fcn.0041dc68
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x430f24
mov eax, dword [0x5be350]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041e03c
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x432598
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5be350]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ab40
test eax, eax
je 0x430eac
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407b44
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ab68
test eax, eax
je 0x430ec0
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403c3c
mov eax, dword [0x5bdf14]
cmp byte [eax], 0
jne 0x430ef1
mov eax, ebx
call fcn.00431008
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
cmp byte [ebp - 1], 0
je 0x430f19
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43125c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5bf708]
cmp dword [eax + 0x24], 0
je 0x4312ec
cmp dword [ebx + 0x74], 0
jne 0x4312e9
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4311f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x4312e9
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4312b8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4312e9
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040e188
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4312c4
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x431bd4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x431c09
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403af4
jmp 0x431c13
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403aa8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43281c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x432854
mov eax, esi
call fcn.00425f68
test al, al
je 0x432854
mov eax, dword [ebx + 0x64]
call fcn.00425dd0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x432854
push 0
mov eax, dword [ebx + 0x64]
call fcn.00425dd0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4343f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x43441a
cmp dword [ebx + 0x64], 0
jne 0x43441a
cmp dword [ebx + 0x6c], 0
jne 0x43441a
mov edi, esi
jmp 0x4344a1
cmp edi, 0xffffffff
jne 0x434422
dec edi
jmp 0x4344a1
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4344a1
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00433158
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x43446f
mov cx, word [esp]
sub cx, si
jmp 0x434471
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x434458
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x434497
mov cx, word [esp]
sub cx, si
jmp 0x434499
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x434480
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4344fe
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0043418c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4344e9
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4344fe
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4343fa
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43a844
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 0x10]
call fcn.00403e40
mov eax, dword [ebp + 0xc]
call fcn.00403e40
mov eax, dword [ebp + 8]
call fcn.00403e40
xor eax, eax
push ebp
push 0x43a903
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
mov dl, 1
mov eax, dword [0x4397a0]
call fcn.0043a6c8
mov ebx, eax
mov dword [ebx + 8], edi
mov eax, dword [ebp - 4]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x10]
mov edx, dword [ebp + 0x10]
call fcn.00403a64
lea eax, [ebx + 0x14]
mov edx, dword [ebp + 0xc]
call fcn.00403a64
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 0x1c]
mov edx, dword [ebp + 8]
call fcn.00403a64
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x34], eax
mov edx, ebx
mov eax, dword [esi + 8]
call fcn.0040dfd0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a90a
lea eax, [ebp + 8]
mov edx, 3
call fcn.00403a34
ret

Function at 0x43d08c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
test dl, dl
je 0x43d0a0
add esp, 0xfffffff0
call fcn.004030f4
mov esi, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00402e3c
push 0
push 0x8000080
push 3
push 0
push 3
push 0xc0000000
mov eax, esi
call fcn.00403e50
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
cmp ebx, 0xffffffff
jne 0x43d0e8
call fcn.0040ac54
jmp 0x43d18c
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], esi
test esi, esi
jne 0x43d159
mov eax, 0x400
call fcn.004026a8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43d152
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 0x10]
mov eax, ebx
xor ecx, ecx
mov edx, 0x400
call fcn.00402b14
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, 0x400
call fcn.00407648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d159
mov eax, dword [ebp - 0x10]
call fcn.004026c0
ret
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043d23c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
cmp dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
cmp byte [ebp - 5], 0
je 0x43d19c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d159
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
test dl, dl
je 0x43d0a0
add esp, 0xfffffff0
call fcn.004030f4
mov esi, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00402e3c
push 0
push 0x8000080
push 3
push 0
push 3
push 0xc0000000
mov eax, esi
call fcn.00403e50
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
cmp ebx, 0xffffffff
jne 0x43d0e8
call fcn.0040ac54
jmp 0x43d18c
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], esi
test esi, esi
jne 0x43d159
mov eax, 0x400
call fcn.004026a8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43d152
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 0x10]
mov eax, ebx
xor ecx, ecx
mov edx, 0x400
call fcn.00402b14
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, 0x400
call fcn.00407648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d159
mov eax, dword [ebp - 0x10]
call fcn.004026c0
ret
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043d23c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
cmp dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
cmp byte [ebp - 5], 0
je 0x43d19c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d23c
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
mov ebx, eax
test dl, dl
je 0x43d29a
mov eax, ebx
call fcn.0043d234
test al, al
jne 0x43d2be
cmp dword [ebx + 0x10], 0
je 0x43d2be
cmp dword [ebx + 0x14], 0
jne 0x43d271
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebx + 0x14], eax
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x43d289
push 0
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebx + 0x18], eax
cmp dword [ebx + 0x18], 0
jne 0x43d2be
xor edx, edx
mov eax, ebx
call fcn.0043d23c
jmp 0x43d2be
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x43d2ac
push eax
call sub.kernel32.dll_UnmapViewOfFile
xor eax, eax
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x43d2be
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebx + 0x14], eax
pop esi
pop ebx
ret

Function at 0x449a7c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
setge al
add esp, 0x94
ret
Function at 0x44d17c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x44d1aa
mov eax, ebx
call fcn.0044dc20
cmp dword [ebx + 0x3c], 0
je 0x44d1a3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x44d21b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x44d20d
cmp dword [ebx + 8], 0
je 0x44d1cc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x44d1de
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x44d20d
cmp dword [ebx + 8], 0
je 0x44d1bf
cmp eax, 3
je 0x44d1f1
dec eax
jne 0x44d1bf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x44d1bf
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x44d1bf
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x44d239
cmp dword [ebx + 0x10], 0xcc
je 0x44d239
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0044d244
pop ebx
ret

Function at 0x45f094
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x45f0e5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x45f0cc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x45f0bc
jmp 0x45f0e5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x45f0cd
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46c24c
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x28]
call fcn.0040e654
mov esi, eax
xor eax, eax
push ebp
push 0x46c2c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x46c2aa
mov edx, ebx
mov eax, esi
call fcn.0040e188
test byte [eax + 0x40], 1
je 0x46c2a4
push 0
mov edx, ebx
mov eax, esi
call fcn.0040e188
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.0040e00c
dec ebx
cmp ebx, 0xffffffff
jne 0x46c278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c2cd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x28]
call fcn.0040e6b8
ret
Function at 0x4722a4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
cmp dword [0x5bf7b0], 0
jne 0x47233d
lea eax, [ebp - 4]
push eax
push 0x472348
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x47233d
mov eax, ebx
call fcn.004026a8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x472336
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x472348
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x472320
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x472358
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x472320
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [0x5bf7b0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47233d
mov eax, dword [ebp - 8]
call fcn.004026c0
ret
mov eax, dword [0x5bf7b0]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x481ba4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x481c7c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5bf7b8], 0
jne 0x481c60
lea eax, [ebp - 4]
mov edx, 0x481c94
call fcn.00403aa8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403e50
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x481c60
mov eax, ebx
call fcn.004026a8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x481c59
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x481c43
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x481ca4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x481c43
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x5bf7b8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481c60
mov eax, dword [ebp - 0xc]
call fcn.004026c0
ret
mov ebx, dword [0x5bf7b8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481c83
lea eax, [ebp - 4]
call fcn.00403a10
ret

Function at 0x487b4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00403e50
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x487b88
push ebp
call fcn.00487adc
pop ecx
mov eax, dword [ebp - 8]
call fcn.00487538
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x488178
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.00403e50
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00403e50
push eax
mov eax, edi
call fcn.00403e50
push eax
mov eax, esi
call fcn.00403e50
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x400]
mov eax, dword [ebp + 8]
call fcn.00403af4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403e50
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x48a251
test al, 0x10
jne 0x48a255
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x48fab4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x48fade
cmp dword [ebx + 0x64], 0
jne 0x48fade
cmp dword [ebx + 0x6c], 0
jne 0x48fade
mov edi, esi
jmp 0x48fb65
cmp edi, 0xffffffff
jne 0x48fae6
dec edi
jmp 0x48fb65
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x48fb65
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0048eeb0
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x48fb33
mov cx, word [esp]
sub cx, si
jmp 0x48fb35
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x48fb1c
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x48fb5b
mov cx, word [esp]
sub cx, si
jmp 0x48fb5d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x48fb44
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x48fbc2
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0048f850
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x48fbad
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x48fbc2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x48fabe
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x495d6c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x5bf824
mov eax, esi
mov edx, 8
test al, 1
je 0x495d88
shr eax, 1
xor eax, 0xedb88320
jmp 0x495d8a
shr eax, 1
dec edx
jne 0x495d7b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x495d74
mov byte [0x5bfc24], 1
pop esi
ret
Function at 0x495da4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5bfc24], 0
jne 0x495dbb
call fcn.00495d6c
mov eax, edi
dec eax
test eax, eax
jl 0x495de4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf824]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x495dc5
mov eax, ebx
pop edi
pop esi
pop ebx
ret