joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101aa86a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101bed60], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101aa8e2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff9
mov dword [ebp - 0x18], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x1c], eax
je 0x101aa98f
jmp 0x101aa988
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101aa968
jmp 0x101aa988
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x101aa919
mov dword [0x101bed60], 0x9f6
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x101aa8e2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x101aa988
mov dword [0x101bed60], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101aa988
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101aa988
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101aa8ca
jmp 0x101aa988
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x25], dl
mov al, byte [ebp - 0x25]
test al, 1
jne 0x101aa8a0
jmp 0x101aa988
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x101aa98f
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop ebp
ret
Function at 0x101aa997
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101aa9eb
lea eax, [ebp - 0x24]
mov dword [0x101bed60], 0x1372
mov dword [ebp - 0x34], eax
call fcn.101ab0ab
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov ecx, dword [ebp - 0x34]
mov dword [esp + 4], ecx
call fcn.101a9e30
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x101aaacf
jmp 0x101aaa17
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ad47b]
mov dh, byte [eax + 0x101ad44c]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x101aa9b1
jmp 0x101aa9eb
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101bed60]
add ecx, 0xffffdbc9
mov dword [0x101bed60], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.101a9fef
mov eax, dword [0x101bed60]
add eax, 0xffffe005
mov dword [0x101bed64], eax
mov eax, dword [ebp - 0x40]
mov word [eax], 0x5a4d
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov dword [0x101bed60], 0x19c4
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x24], ecx
add ecx, 0x1edc
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x101aaac6
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x101aabf1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101bed68], 0
mov dword [0x101bed6c], 0
mov dword [0x101bed78], 0
mov ebx, dword [0x101bed64]
add ebx, 0xfffff338
mov dword [0x101bed60], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101aad53
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101bed60], 0x20d1
mov dword [0x101bed64], 0x7e7
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101bed68], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101bed6c], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101bed70], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101bed70]
mov edx, dword [0x101bed6c]
mov byte [edi + edx], cl
mov dword [0x101bed64], 0x2664
mov edx, dword [0x101bed68]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101bed6c]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101bed78], ebx
mov dword [0x101bed60], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x101bed7d], ch
mov byte [0x101bed7e], cl
xor ch, cl
mov byte [0x101bed7c], ch
mov dword [0x101bed60], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x101bed64], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
jne 0x101aad5b
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101bed68]
mov ecx, dword [0x101bed6c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x101aac5c
Function at 0x101aaeab
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x101bed60], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.101aa28e
lea ecx, [0x101aa810]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], 0x12de00
mov edx, dword [0x101bed4c]
mov dword [esp + 0x54], edx
mov edx, dword [0x101bed50]
mov dword [esp + 0x40], edx
mov edx, dword [0x101bed54]
mov dword [esp + 0x58], edx
mov edx, dword [0x101bed58]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101bed5c]
mov dword [esp + 0x84], edx
mov dword [0x101bed64], 0x4bf
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x101aaf4a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x101aaf6d
jmp 0x101aaf59
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x101aaf34
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101aaf4a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [0x101bed64], 0xe73
mov ecx, dword [esp + 0x14]
add ecx, 0x50
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
call fcn.101aa86a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x101aafdf
lea eax, [esp + 0x38]
mov dword [0x101bed64], 0x341
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101aa997
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x7b5537ef
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x30c77a5d
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4046f0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004068ac
test esi, esi
jne 0x404726
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406a14
jmp 0x404744
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404634
mov edi, eax
test esi, esi
je 0x404744
cmp dword [ebx], 0
je 0x404744
dec esi
jmp 0x40472d
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405658
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405a44
mov byte [esp], al
cmp byte [esp], 0
jne 0x4057e1
test edi, edi
je 0x4057e1
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405718
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x4056f3
cmp edi, 0xffffffff
je 0x4056b7
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4056b7
mov byte [esp], 0
jmp 0x4057e1
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4056f3
test ebx, ebx
jne 0x4056ec
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402580
test eax, eax
jne 0x4056ec
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4057e1
pause
dec ebp
test ebp, ebp
jg 0x40569c
cmp edi, 0xffffffff
je 0x405718
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405716
mov byte [esp], 0
jmp 0x4057e1
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405666
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402580
cmp ebx, eax
jne 0x405718
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405854
mov edx, eax
mov ebx, dword [0x4c68c8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40577f
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40577d
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40577f
xor edi, edi
cmp byte [esp], 0
je 0x4057a8
mov ebx, dword [esi]
test bl, 1
jne 0x4057c1
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402580
cmp ebx, eax
jne 0x405785
mov byte [esp + 1], 1
jmp 0x4057c1
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402580
cmp ebx, eax
jne 0x4057a8
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405732
cmp byte [esp], 0
je 0x4057e1
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40655c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c6050], 0
je 0x4065bd
cmp word [0x4c632c], 0xd7b2
jne 0x406585
cmp dword [0x4c6334], 0
jbe 0x406585
mov eax, 0x4c6328
call dword [0x4c6344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4065e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c2028], 0
jne 0x4065d9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406768
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4c202c], 0
je 0x406793
mov edx, edi
mov eax, esi
call dword [0x4c202c]
mov ebx, eax
jmp 0x4067a4
mov eax, 8
call fcn.00404368
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4c6051], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406730
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x4067d9
mov edx, 8
mov eax, ebx
call fcn.00404384
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x408900
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408a65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004068ac
cmp si, word [0x4c27dc]
jb 0x408998
cmp si, word [0x4c29dc]
ja 0x408998
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x408998
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4c27dc]
jae 0x408972
mov edi, ebx
dec edi
jmp 0x408993
cmp si, word [ebx*8 + 0x4c27dc]
jbe 0x408982
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408993
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4c27e0]
call fcn.00408810
jmp 0x408998
cmp edi, dword [ebp - 8]
jae 0x40895c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408a47
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408a47
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004072b0
push dword [ebp - 0x160]
push 0x408a80
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004072b0
push dword [ebp - 0x164]
push 0x408a90
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004072b0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004074e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a6c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040690c
ret
Function at 0x408c18
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408d1b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c8b51
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4c8b6a]
jne 0x408c64
mov eax, esi
mov edx, 0x4c8b6c
mov ecx, 0x55
call fcn.004072b0
push 0x4c8b51
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408d05
push 0x4c8b51
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004068ac
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408cd3
cmp byte [0x4c8b50], 0
je 0x408c98
mov edx, esi
mov eax, ebx
call fcn.00408afc
jmp 0x408cd3
mov edx, esi
mov eax, ebx
call fcn.00408900
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408cd3
cmp dword [esi], 0
je 0x408cbc
mov eax, esi
mov edx, 0x408d34
call fcn.00407408
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408900
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407408
push 0x4c8b51
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4c8b6a], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407224
push eax
push 0x4c8b6c
call sub.kernel32.dll_lstrcpynW
push 0x4c8b51
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408d22
lea eax, [ebp - 4]
call fcn.004068ac
ret
Function at 0x41f77c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41f8a1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041f58c
mov esi, eax
mov eax, dword [0x4c5554]
cmp byte [eax], 0
je 0x41f849
mov eax, dword [0x4c531c]
call fcn.00404824
call fcn.004044e4
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41f754]
call fcn.00408350
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41f8bc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41f885
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4c52b4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c8c34]
call fcn.00408444
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f8a8
lea eax, [ebp - 4]
mov edx, dword [0x41f754]
call fcn.0040835c
ret

Function at 0x4208e0
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 0x4209b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406cb4
lea eax, [ebp - 4]
call fcn.00406e50
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407224
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4209a0
mov eax, ebx
call fcn.00404368
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x420999
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.00407224
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x420983
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4209c8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x420983
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 0x4209a0
mov eax, dword [ebp - 0x10]
call fcn.00404384
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4209bd
lea eax, [ebp - 4]
call fcn.004068ac
ret
Function at 0x4211cc
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.00406d5c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409e40
mov edi, eax
cmp edi, 0x104
jbe 0x421177
mov eax, edi
add eax, eax
call fcn.00404368
mov esi, eax
jmp 0x421179
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409e40
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4211b2
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 0x42119c
mov eax, esp
cmp esi, eax
je 0x4211bf
mov eax, esi
call fcn.00404384
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 0x4211f8
cmp bl, 0
je 0x4211f4
cmp bl, 0x41
jl 0x4211ef
cmp bl, 0x5a
jg 0x4211ef
or bl, 0x20
xor al, bl
inc esi
jmp 0x4211d3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x421138

Function at 0x421998
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004072b0
add esp, 0x800
pop ebx
ret

Function at 0x445e78
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x445f16
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x445eda
cmp byte [ebx + 0x10], 0
jne 0x445eda
cmp byte [ebx + 0x3c], 0
jne 0x445eda
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x445efb
lea edx, [ebp - 4]
mov eax, dword [0x4c54f8]
call fcn.00409dac
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x435df8]
call fcn.0041f8c0
call fcn.00405ffc
jmp 0x445efb
lea edx, [ebp - 8]
mov eax, dword [0x4c54f8]
call fcn.00409dac
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x435df8]
call fcn.0041f8c0
call fcn.00405ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445f1d
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040690c
ret

Function at 0x446824
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x446872
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00445dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44688b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x446894
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.00445dc4
dec esi
jne 0x4468b6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x44812c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4caf88
cmp dword [edi], 0
jne 0x4481a8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4caf84]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c2ff4
mov ecx, 2
call fcn.00404534
mov edx, 0x448104
lea eax, [esi + 5]
call fcn.00448124
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00448124
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x44817d
mov dword [0x4caf84], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8