joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4327c1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x449704]
xor eax, dword [ebp + 4]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x432811
push dword [ebp + 8]
call fcn.004352ae
mov esi, eax
test esi, esi
je 0x432839
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
jmp 0x432839
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x43a128
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.0041b931
leave
ret 0xc

Function at 0x433968
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x449704]
xor eax, dword [ebp + 4]
cmp dword [ebp + 0xc], 0x800
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x4339c5
push 0x43cadc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.0041b931
leave
ret
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x433994
jmp 0x4339b8
Function at 0x4339eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x449704]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x433a90
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0xc], ecx
call esi
push dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x433b92
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x433b40
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x433b93
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x433b35
cmp dword [ebp - 0x14], 1
jne 0x433b35
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push 0x439610
push eax
call fcn.0041c992
add esp, 0xc
cmp eax, 1
jne 0x433b35
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x433b93
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x433b93
lea ecx, [ebp - 8]
push ecx
push 0x4339d9
push 1
push 0x10
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 8], bx
je 0x433b93
movzx eax, word [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x433bb9
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.00433968
cmp eax, ebx
pop ecx
pop ecx
jne 0x433bbb
inc edi
cmp edi, esi
jl 0x433ba2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.0041b931
leave
ret 4
Function at 0x433bcd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x448bf0
je 0x433c89
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x433c71
mov esi, dword [ebx + 4]
jmp 0x433c6b
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x433c5b
cmp dword [ebp - 0xc], 4
jne 0x433c5b
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x433c53
or dword [eax + 0x9c], ecx
jmp 0x433c5b
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x433c1f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x433c02
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x43405a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x437cab
call fcn.0041dc2c
sub esp, 0x110
mov eax, dword [0x449704]
xor eax, dword [ebp + 4]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x434115
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, 0xff
jmp 0x4340de
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004022c0
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
call fcn.0043405a
mov ecx, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
setne byte [ebp - 0x11]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401c20
cmp byte [ebp - 0x11], 0
jne 0x4340f3
push ebx
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x18]
call edi
mov esi, eax
test esi, esi
je 0x4340a2
cmp esi, 0x103
pop edi
pop ebx
je 0x434105
cmp esi, 0x3f2
jne 0x434115
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
mov eax, esi
pop esi
call fcn.0041b931
leave
ret 8

Function at 0x434a53
Capabilities:
Get thread local storage value

Disassembly:
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x434a70
mov ecx, dword [esp + 4]
cmp ecx, dword [eax + 8]
jge 0x434a70
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4]
jmp 0x434a72
xor eax, eax
ret 4
Function at 0x434b6a
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x434b9e
call fcn.00428db0
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x434c06
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x434c34
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jl 0x434ccf
cmp dword [esp + 0x14], ebx
je 0x434ccf
jmp 0x434c71
push 0x10
call fcn.00434918
cmp eax, ebx
je 0x434c4a
mov ecx, eax
call fcn.00434b61
mov esi, eax
jmp 0x434c4c
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
push ebx
mov dword [edi + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x434c88
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x434c98
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x434ca4
call fcn.00428db0
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0xc]
sub ecx, eax
shl ecx, 2
push ecx
mov ecx, dword [esi + 0xc]
lea eax, [ecx + eax*4]
push ebx
push eax
call fcn.0041dee0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax + edx*4], ecx
pop ebx
ret 8

Function at 0x434d95
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x434dc3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x434de1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00434cff
jmp 0x434de1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x434de1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00434cff
test edi, edi
mov eax, edi
jne 0x434dcb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44c75c]
test ecx, ecx
je 0x434e94
jmp 0x434d94
ret 8
Function at 0x4187f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call dword [0x4432ec]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.DownLoadManager.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
push 0x44960a
lea ecx, [ebp - 0x1c]
call dword [0x44311c]
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call dword [0x4432c4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call dword [0x443110]
push 0x44960b
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call dword [0x44311c]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x38], 1
push 8
call fcn.004360b6
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x14], 0
je 0x4188fe
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
call dword [0x443518]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], vtable.QNetworkAccessManager.0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
jmp 0x418905
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x10], edx
push 0x18
call fcn.004360b6
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x41894d
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
call dword [0x4433ac]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], vtable.QTimer.0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
jmp 0x418954
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], edx
push 0
push fcn.00419600
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x4432ac]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00419690
add esp, 0x18
lea ecx, [ebp - 0x30]
call dword [0x4433c0]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4305e0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440f8a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xffffffff
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x18]
call fcn.004062e0
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call dword [0x443880]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.QXlTitleBar.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], vtable.QXlTitleBar.1.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0x99
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x99
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0x99
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call dword [0x4431d8]
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call dword [0x4431dc]
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call dword [0x4431d8]
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call dword [0x4433ac]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call dword [0x443108]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], 0
mov ecx, dword [ebp - 0x10]
call fcn.00430f10
mov ecx, dword [ebp - 0x10]
call fcn.004318b0
push str.MyTitle
lea ecx, [ebp - 0x14]
call dword [0x44311c]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00431980
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call dword [0x443110]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0xa8eb98
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
btc cx, sp
bts ecx, esp
mov ecx, dword [ebp + 8]
cmp cl, cl
stc
cmc
sub esp, 0x114
cmc
cmp bp, 0x65e0
stc
push esi
cmp dl, al
cmc
cmp ah, 0xf7
test ecx, ecx
jmp 0xed5b6f
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x1c023b11
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x47b37711
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4039a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
push edi
xor edi, edi
push esi
xor esi, esi
push ebx
sub esp, 0x1c
xor ebx, ebx
lea eax, [esp + 0x18]
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00427280
mov dword [esp + 0x14], eax
mov byte [ebp], 0
mov byte [ebp + 1], 0
jmp 0x4039e0
mov byte [ebx + ebp + 2], bl
inc ebx
cmp ebx, 0xff
jle 0x4039e0
lea eax, [ebp + 0xff]
mov ecx, ebp
mov dword [esp + 0x10], eax
jmp 0x403a29
and edx, 0xffffff00
mov esi, eax
sub esi, edx
lea edx, [ebp + esi]
movzx eax, byte [edx + 2]
mov byte [ecx + 2], al
lea eax, [edi + 1]
mov byte [edx + 2], bl
cdq
inc ecx
idiv dword [esp + 0x18]
cmp ecx, dword [esp + 0x10]
mov edi, edx
jg 0x403a4a
movzx ebx, byte [ecx + 2]
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + edx]
movzx edx, bl
add eax, edx
add eax, esi
test eax, eax
mov edx, eax
jns 0x403a00
lea edx, [eax + 0xff]
jmp 0x403a00
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x403a60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
xor edi, edi
push esi
push ebx
sub esp, 8
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
movzx eax, byte [esi]
mov byte [esp + 7], al
movzx edx, byte [esi + 1]
mov byte [esp + 6], dl
jmp 0x403ada
movzx eax, byte [esp + 7]
movzx edx, byte [esp + 6]
inc eax
mov byte [esp + 7], al
movzx eax, al
mov dword [esp], eax
mov ebx, dword [esp]
movzx eax, byte [eax + esi + 2]
add ebx, esi
add eax, edx
mov byte [esp + 6], al
movzx eax, al
add eax, esi
movzx edx, byte [eax + 2]
movzx ecx, byte [ebx + 2]
mov byte [ebx + 2], dl
mov byte [eax + 2], cl
mov edx, dword [esp]
movzx eax, byte [edx + esi + 2]
movzx edx, cl
add eax, edx
mov edx, eax
and edx, 0x300
sub eax, edx
movzx eax, byte [eax + esi + 2]
xor byte [edi + ebp], al
inc edi
cmp edi, dword [esp + 0x24]
jl 0x403a82
movzx eax, byte [esp + 7]
mov byte [esi], al
xor eax, eax
movzx edx, byte [esp + 6]
mov byte [esi + 1], dl
add esp, 8
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x403b60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x2c
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov ebx, edx
test eax, eax
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x30]
je 0x403ba0
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp], ecx
call fcn.0042e520
mov edx, eax
mov ebx, dword [esp + 0x24]
mov eax, edx
mov esi, dword [esp + 0x28]
add esp, 0x2c
ret
mov dword [esp], ecx
lea eax, [esp + 0x20]
mov dword [esp + 8], eax
mov eax, 2
mov dword [esp + 4], eax
call fcn.0042b9f0
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
xor edx, edx
test eax, eax
je 0x403b8d
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov eax, edx
add esp, 0x2c
ret
Function at 0x403c00
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, edx
mov dword [esp], eax
lea edx, [esp + 0x24]
mov dword [esp + 8], edx
mov edx, 4
mov dword [esp + 4], edx
call fcn.0042b9f0
mov dword [esp + 4], ebx
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
xor edx, edx
test eax, eax
je 0x403c52
mov edx, dword [esp + 0x20]
add esp, 0x28
mov eax, edx
pop ebx
ret

Function at 0x4099c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
ret
Function at 0x40c500
Capabilities:
Get file version info

Disassembly:
sub esp, 0xdc
mov dword [esp + 0xd0], esi
mov esi, eax
xor eax, eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd8], ebp
xor ebp, ebp
mov dword [esp + 0xd4], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov dword [esp], esi
call sub.KERNEL32.dll_LoadLibraryA
sub esp, 4
test eax, eax
mov ebx, eax
je 0x40c5bf
mov dword [esp], ebx
mov eax, 0x5bcaf4
mov dword [esp + 4], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
test eax, eax
mov edx, eax
je 0x40c5ac
cld
xor eax, eax
lea edi, [esp + 0xa0]
mov ecx, 5
rep stosd dword es:[edi], eax
mov eax, 0x14
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
call edx
sub esp, 4
test eax, eax
js 0x40c5ac
mov eax, dword [esp + 0xa8]
mov edi, 1
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_FreeLibrary
sub esp, 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x40c62e
mov dword [esp], esi
xor edx, edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], edx
lea ebp, [esp + 0x30]
mov dword [esp + 4], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
sub esp, 8
test eax, eax
mov edi, eax
jne 0x40c686
mov dword [esp], ebp
mov eax, 0x5bcb02
mov dword [esp + 4], eax
call sub.msvcrt.dll_strtok
xor edx, edx
test eax, eax
je 0x40c661
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [esp], 0
mov ebp, eax
mov eax, 0x5bcb02
mov dword [esp + 4], eax
call sub.msvcrt.dll_strtok
xor edx, edx
test eax, eax
je 0x40c661
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40c657
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, 0x5bcb04
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
movzx edx, word [esp + 0x1c]
shl ebp, 0x10
or edx, ebp
mov ebx, dword [esp + 0xcc]
mov eax, edx
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
add esp, 0xdc
ret
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x40c5e6
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], edi
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.VERSION.dll_GetFileVersionInfoA
sub esp, 0x10
test eax, eax
je 0x40c6df
mov dword [esp], ebx
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov eax, 0x5bcb0c
mov dword [esp + 4], eax
call sub.VERSION.dll_VerQueryValueA
sub esp, 0x10
test eax, eax
jne 0x40c6ec
mov dword [esp], ebx
call fcn.0059ba20
jmp 0x40c5e6
mov dword [esp], ebx
call fcn.0059ba20
mov dword [esp], ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
jmp 0x40c5e6