joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c140
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0x348
push ebx
push esi
push edi
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
lea eax, [esp + 0xc]
push 7
and esi, 0xffff
push eax
push 0x1004
push esi
call ebx
lea ecx, [esp + 0xc]
push ecx
call fcn.004616a8
add esp, 4
lea edx, [esp + 0x14c]
mov dword [edi + 4], eax
push 0x104
push edx
push 0x1002
push esi
call ebx
lea eax, [esp + 0x14c]
lea ecx, [edi + 0xc]
push eax
call fcn.004749cd
lea ecx, [esp + 0xc]
push 7
push ecx
push 5
push esi
call ebx
lea edx, [esp + 0xc]
push edx
call fcn.004616a8
add esp, 4
mov dword [edi + 0x10], eax
lea eax, [esp + 0x3c]
push 0x64
push eax
push 0x1003
push esi
call ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [edi + 0x14]
call fcn.004749cd
lea edx, [esp + 0x3c]
push 0x64
push edx
push 0x20
push esi
call ebx
lea eax, [esp + 0x3c]
lea ecx, [edi + 8]
push eax
call fcn.004749cd
lea ecx, [esp + 0x14]
push 7
push ecx
push 0x14
push esi
call ebx
lea edx, [esp + 0x14]
lea ecx, [edi + 0x18]
push edx
call fcn.004749cd
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
lea ecx, [esp + 0x250]
push 0x104
and eax, 0xffff
push ecx
push eax
call sub.VERSION.dll_VerLanguageNameA
cmp eax, 0x104
ja 0x45c244
lea edx, [esp + 0x250]
lea ecx, [edi + 0x1c]
push edx
call fcn.004749cd
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x45c27f
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x1c]
push ecx
push 0x54d658
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x20]
push eax
call fcn.004749cd
pop edi
pop esi
pop ebx
add esp, 0x348
ret
Function at 0x45e2f0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45e339
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45e7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045e360
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045e3e0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045e3e0
lea ecx, [esi + 0xc]
call fcn.0047481b
lea ecx, [esi + 0x10]
call fcn.0047481b
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045f970
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045f970
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045f970
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00474890
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00474890
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45fb60
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x45fbc6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x45fbc6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45fba7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x476c5e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x476c96
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00474ceb
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00474cc3
jmp 0x476ca2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x478351
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x478393
call fcn.0047dec8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x478393
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47838a
xor eax, eax
jmp 0x47839b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004783a1
pop edi
pop esi
pop ebx
ret 4

Function at 0x47e3f8
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 0x47e426
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e444
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e35e
jmp 0x47e444
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e444
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e35e
test edi, edi
mov eax, edi
jne 0x47e42e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401700
Capabilities:
Get common file path

Disassembly:
sub esp, 0x84
mov ecx, dword [0x40b2b0]
push ebx
lea eax, [esp + 4]
push ebp
push eax
push ecx
mov dword [esp + 0x10], 0
call sub.WCDMI.dll_Ordinal_342
mov ebp, dword [esp + 0x98]
mov ebx, eax
add esp, 8
mov dword [ebx], ebp
mov al, byte [0x40b2ac]
test al, al
jne 0x401743
xor eax, eax
pop ebp
pop ebx
add esp, 0x84
ret
mov eax, dword [esp + 8]
test eax, eax
jne 0x40189a
mov eax, ebp
push edi
dec eax
push esi
je 0x401838
dec eax
jne 0x401896
lea edx, [esp + 0x34]
push 0x40
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x40b34b
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xffffffffffffffff
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
push 3
push eax
and ecx, 3
push 1
lea eax, [esp + 0x48]
push 0x80000000
rep movsb byte es:[edi], byte [esi]
push eax
mov dword [ebx + 8], 8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x1c]
mov esi, eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea ecx, [esp + 0x16]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov eax, dword [esp + 0x18]
and eax, 0xffff
mov edx, eax
mov ecx, eax
shr edx, 5
and ecx, 0x1f
and edx, 0xf
shr eax, 9
push ecx
add eax, 0x7bc
push edx
push eax
lea eax, [esp + 0x80]
push 0x4070d8
push eax
call fcn.00402430
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x40b2b0]
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
jmp 0x40188b
lea ecx, [esp + 0x34]
push 0x40
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x40b34b
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 8], 8
mov ecx, dword [0x40b2b0]
lea edx, [esp + 0x38]
push ecx
push edx
call sub.WCDMI.dll_Ordinal_332
add esp, 0xc
mov dword [ebx + 0x10], eax
pop esi
mov dword [ebx], ebp
pop edi
mov eax, dword [esp + 0x94]
pop ebp
mov dword [eax], ebx
mov eax, dword [esp + 4]
pop ebx
add esp, 0x84
ret
Function at 0x4019b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24
mov eax, pe_nt_image_headers32
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push 0x4071a0
push 0x80000002
call edi
mov esi, eax
test esi, esi
jne 0x401b31
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ebp
push ecx
push 0x20019
push eax
push 0x40718c
push edx
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x401b29
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push 0x407180
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x401b22
lea edx, [esp + 0x10]
push ebx
push edx
push 0x20019
push eax
mov eax, dword [esp + 0x24]
push 0x407178
push eax
call edi
mov esi, eax
test esi, esi
je 0x401a78
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push 0x407178
push edx
call edi
mov esi, eax
test esi, esi
jne 0x401b1a
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push 0x40b340
push ecx
push 0
push 0x40716c
push edx
mov dword [esp + 0x28], 2
call ebx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push 0x40b2c0
push ecx
push 0
push 0x407160
push edx
mov dword [esp + 0x28], 1
call ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push 0x407158
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x401b13
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x14]
push 0x40b3c0
push eax
push esi
push 0x407150
push ecx
mov dword [esp + 0x28], 7
call ebx
mov edx, dword [esp + 0x1c]
mov esi, eax
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x18]
push ecx
call ebp
pop ebx
mov edx, dword [esp + 0x1c]
push edx
call ebp
mov eax, dword [esp + 0x20]
push eax
call ebp
pop ebp
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret

Function at 0x401b90
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
xor edi, edi
push eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x401bc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401bbf
mov edi, 1
mov eax, edi
pop edi
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
pop edi
pop esi
ret

Function at 0x402030
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x401b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x40afc4], eax
jne 0x402054
pop ecx
ret
mov eax, 1
mov dword [0x40afc0], eax
pop ecx
ret

Function at 0x402060
Capabilities:
Resume thread

Disassembly:
mov eax, dword [0x40afc4]
mov dword [0x40afbc], 0
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret
Function at 0xeda058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xeda1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xeda07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeda06a
add dl, dl
jne 0xeda089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeda0dc
xor eax, eax
add dl, dl
jne 0xeda096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeda17d
add dl, dl
jne 0xeda0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeda0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeda0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeda0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xeda0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xeda075
mov eax, 1
add dl, dl
jne 0xeda0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeda0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeda0e1
sub eax, ebx
mov ebx, 1
jne 0xeda128
mov ecx, 1
add dl, dl
jne 0xeda10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xeda119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeda105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeda075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xeda13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xeda14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeda136
cmp eax, 0x7d00
jae 0xeda16d
cmp eax, 0x500
jb 0xeda168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeda075
cmp eax, 0x7f
ja 0xeda170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeda075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xeda19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xeda075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x41eef0
Capabilities:
Encode data using xor

Disassembly:
mov eax, ebx
call fcn.0041e9c0
test eax, eax
jl 0x41f128
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x41ef5d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea esp, [esp]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x41ef20
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x41f124
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x4cc348]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4cc348]
and esi, 0xff
mov esi, dword [esi*4 + 0x4ccf48]
and edi, 0xff
xor esi, dword [edi*4 + 0x4cd748]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4cc348]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4cdb48]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x4cc348]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4cd348]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x4cc348]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4cc348]
and esi, 0xff
mov esi, dword [esi*4 + 0x4ccf48]
and edi, 0xff
xor esi, dword [edi*4 + 0x4cd748]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x4cc348]
and edi, 0xff
xor esi, dword [edi*4 + 0x4cd348]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4cc348]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4cdb48]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x4cc348]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4cc348]
and esi, 0xff
mov esi, dword [esi*4 + 0x4ccf48]
and edi, 0xff
xor esi, dword [edi*4 + 0x4cd748]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x4cc348]
and edi, 0xff
xor esi, dword [edi*4 + 0x4cd348]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4cc348]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4cdb48]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x4cc348]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4cc348]
and esi, 0xff
mov esi, dword [esi*4 + 0x4ccf48]
and edi, 0xff
xor esi, dword [edi*4 + 0x4cd748]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x4cc348]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4cc348]
and edi, 0xff
xor esi, dword [edi*4 + 0x4cd348]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4cdb48]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x41ef71
pop edi
xor eax, eax
pop esi
ret
Function at 0x4373f0
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x4a4a76
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4dc58c]
xor eax, esp
mov dword [esp + 0x260], eax
push esi
push edi
mov eax, dword [0x4dc58c]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov eax, dword [esp + 0x284]
mov edi, ecx
mov dword [esp + 0xc], eax
test ebx, ebx
jne 0x437441
mov esi, 0x4cf0a8
jmp 0x437450
mov esi, 0x4d1fa8
cmp ebx, 1
je 0x437450
mov esi, 0x4c7f48
lea ecx, [esp + 0x14]
call fcn.00411b20
mov dword [esp + 0x27c], 0
lea ecx, [esp + 0x148]
mov dword [esp + 0x13c], 0x4ce4d4
call fcn.00411b20
mov eax, 0x4ce3cc
lea edx, [esp + 0x148]
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0x80000002
call fcn.00411d50
push 1
push 0
push esi
push edi
lea ecx, [esp + 0x14c]
mov byte [esp + 0x28c], 1
call fcn.0040e020
test al, al
jne 0x437562
mov ecx, edi
call fcn.004162c0
push 0x4cf354
push 0x4cf34c
mov edx, eax
call fcn.00412340
mov eax, dword [esp + 0x148]
add esp, 8
mov dword [esp + 0x13c], 0x4ce4d4
test eax, eax
je 0x4374fc
push eax
call dword [0x4ad058]
cmp byte [esp + 0x264], 0
mov esi, 0x4cf548
mov dword [esp + 0x140], 0
mov dword [esp + 0x148], esi
jne 0x437538
mov eax, dword [esp + 0x150]
lea ecx, [esp + 0x154]
cmp eax, ecx
je 0x437538
push eax
call fcn.004895e6
add esp, 4
mov dword [esp + 0x14], esi
cmp byte [esp + 0x130], 0
jne 0x43755b
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
je 0x43755b
push eax
call fcn.004895e6
add esp, 4
xor al, al
jmp 0x437663
mov ecx, 0x105
lea esi, [esp + 0x1c]
mov dword [esp + 0x134], ecx
call fcn.00412ad0
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x437589
mov eax, dword [esp + 0x1c]
push 1
lea ecx, [esp + 0x14]
push ecx
add eax, 4
push eax
push edi
mov eax, 0x4cf0d0
lea ecx, [esp + 0x14c]
mov dword [esp + 0x20], 0x208
call fcn.0040e160
test al, al
jne 0x4375ef
lea ecx, [esp + 0x14]
call fcn.00411cf0
mov ecx, edi
call fcn.004162c0
push 0x4d1fd4
push 0x4cf34c
mov edx, eax
call fcn.00412340
add esp, 8
lea ecx, [esp + 0x13c]
call fcn.0040dfd0
mov dword [esp + 0x14], 0x4cf548
jmp 0x43753c
lea edi, [esp + 0x14]
call fcn.00412040
mov edx, dword [esp + 0xc]
mov eax, 0x4d1fe8
test ebx, ebx
je 0x43760a
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.00411d50
cmp byte [esp + 0x130], 0
lea eax, [esp + 0x20]
jne 0x437621
mov eax, dword [esp + 0x1c]
add eax, 4
push eax
mov eax, dword [esp + 0x10]
call fcn.00411f20
lea ecx, [esp + 0x13c]
call fcn.0040dfd0
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], 0x4cf548
jne 0x437661
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x437661
push eax
call fcn.004895e6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00488fbb
add esp, 0x274
ret
Function at 0x444370
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a2c28
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4dc58c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov al, byte [esp + 0x2c]
mov edi, dword [esp + 0x28]
push 0x4ae30c
mov dword [esi + 4], ecx
push edi
mov ecx, 0x4e1050
mov byte [esi], al
call fcn.00432f20
test al, al
jne 0x4443e0
push 0x4ae2e8
push edi
call fcn.00416370
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
push 0x4ae2bc
push edi
mov ecx, 0x4e1280
call fcn.0041b320
test al, al
je 0x4443bd
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.0041b1d0
mov dword [esp + 0x10], 0x4adebc
push 0x4e1280
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.0041b210
test al, al
jne 0x44445c
push 0x4ae2e8
push edi
call fcn.00416370
add esp, 8
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.0041b1f0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
cmp byte [esi + 0xa70], 0
jne 0x4444e0
call fcn.00410940
mov ecx, eax
call fcn.0040edc0
test al, al
jne 0x4444ae
push edi
call fcn.00410940
mov ecx, eax
call fcn.0040edf0
test al, al
jne 0x4444ae
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041b1f0
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
mov ecx, esi
call fcn.004426c0
push 1
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
call fcn.00443f40
test al, al
je 0x444486
lea eax, [esp + 0x10]
push eax
push edi
mov ecx, esi
call fcn.004437f0
test al, al
je 0x444486
mov byte [esi + 0xa70], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041b1f0
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x452120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x452131
xor eax, eax
jmp 0x45231b
mov eax, 1
test eax, eax
je 0x45217d
mov dword [ebp - 4], 1
movzx ecx, byte [ebp - 4]
test ecx, ecx
je 0x452164
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00452320
add esp, 0xc
jmp 0x45231b
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00452720
add esp, 0xc
jmp 0x45231b
mov edx, dword [ebp + 8]
xor edx, 0xffffffff
mov dword [ebp + 8], edx
cmp dword [ebp + 0x10], 8
jb 0x4522dc
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4afc98]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4afc98]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4afc98]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4afc98]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4afc98]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4afc98]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4afc98]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4afc98]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 8
mov dword [ebp + 0x10], edx
jmp 0x452186
cmp dword [ebp + 0x10], 0
je 0x452315
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4afc98]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
jne 0x4522e2
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret