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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x511440
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c2907
mov ecx, dword [0xbdc8b0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4c285c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004c1480
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.005000b7
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004fffca
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0xbd0ddc
call fcn.00500038
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004c1840
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.005000b7
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004fffca
lea ecx, [esp + 0xc]
call fcn.00500492
mov ecx, dword [esp + 0xc]
push 0xbd181c
push ecx
call fcn.004ee834
add esp, 8
test eax, eax
je 0x4c2884
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4c27bd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004fffca
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004fffca
jmp 0x4c290b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004c2500
test eax, eax
push 0
je 0x4c28ef
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004c0ba0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4c28d5
cmp eax, 0x64
jg 0x4c28c3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4c2860
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4c2860
cmp eax, 0x64
jge 0x4c285c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4c2860
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004c0ba0
mov esi, eax
jmp 0x4c2860
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4c2915
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4d4750
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0xbd5348]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4d4763
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4d47a4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0xbd53f0]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4d47d6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4d47da
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4d47cb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4d47f8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4d47fc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4d47ed
xor ecx, ecx
mov eax, 0xbd5358
xor ebx, ebx
mov bl, byte [ecx + 0xbd5400]
cmp byte [esp + ebx + 0x14], 0
je 0x4d4827
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0xbd5418]
cmp byte [esp + ebx + 0x14], 0
je 0x4d483e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4d480e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4d4797
lea edx, [esp + 0x84]
push edx
call fcn.004d4880
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4d8ee0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xc273f4]
xor edx, edx
cmp eax, edx
jne 0x4d8f06
xor eax, eax
mov byte [eax + 0xc272f4], al
inc eax
cmp eax, 0x100
jl 0x4d8eee
mov dword [0xc273f4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xc272f4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4d8f97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4d8f6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4d8f38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4d9010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4d9063
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4d904a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4df9e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51221e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004e0300
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xbaab5c
call fcn.004ffd0b
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4dfa73
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004ffd0b
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4dfa6c
push 0
mov ecx, eax
call fcn.004d6b10
mov dword [esi + 0xc], eax
jmp 0x4dfa75
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4dfa75
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5023d8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x502410
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.00500425
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005003fd
jmp 0x50241c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x503ac6
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 0x503b08
call fcn.005098d7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x503b08
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x503aff
xor eax, eax
jmp 0x503b10
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00503b16
pop edi
pop esi
pop ebx
ret 4

Function at 0x509e07
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 0x509e35
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x509e53
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00509d6d
jmp 0x509e53
mov eax, dword [esi + 0x14]
test eax, eax
je 0x509e53
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00509d6d
test edi, edi
mov eax, edi
jne 0x509e3d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x45af60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.0045b520
push dword [0x4e7ca8]
call fcn.0040e430
mov eax, dword [0x4e788c]
add esp, 4
test eax, eax
je 0x45af86
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.00462ea0
push 2
push dword [0x4ea4c4]
call fcn.004030c0
add esp, 8
cmp eax, 3
jne 0x45afa5
call fcn.00464d20
call fcn.00460f80
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp + 8]
call fcn.0049b81a
int3

Function at 0x45b2b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0040de10
push dword [0x4be594]
mov esi, eax
lea eax, [ebp - 0x68]
push str._.70s_Command_Line_Error
push eax
call fcn.004089b0
add esp, 0x14
lea eax, [ebp - 0x68]
push 0x10
push eax
push esi
push dword [0x4ea4b8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040e430
add esp, 4
push 1
call fcn.0049b81a
int3

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 1
jne 0x45b5a9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4e8090]
js 0x45b595
cmp eax, 0x32
jl 0x45b691
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4e8090], eax
jmp 0x45b679
cmp eax, 3
jne 0x45b638
push 0x6c
push dword [0x4ea4c4]
call fcn.00403060
mov ecx, dword [0x4e8064]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x45b5e1
push 0x20001
push 0
push dword [esi]
call ecx
test eax, eax
jne 0x45b679
push dword [esi]
lea eax, [ebp - 0x58]
push str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
push eax
call fcn.004089b0
push dword [0x4be594]
lea eax, [ebp - 0xbc]
push str._.70s_Sound_Error
push eax
call fcn.004089b0
add esp, 0x18
lea eax, [ebp - 0xbc]
push 0x30
push eax
lea eax, [ebp - 0x58]
push eax
push dword [0x4ea4b8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push 0x66
push dword [0x4ea4c4]
call fcn.00403560
add esp, 0xc
jmp 0x45b679
cmp eax, 4
jne 0x45b679
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4e8094]
js 0x45b652
cmp eax, 0x32
jl 0x45b691
cmp dword [0x4ea410], 2
jne 0x45b66a
push 0x64
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x45b672
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4e8094], eax
mov eax, dword [0x4ea4ac]
cmp dword [eax + 0x134], 0
jne 0x45b691
push 2
call fcn.0045c6e0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046addd
mov esp, ebp
pop ebp
ret

Function at 0x45da20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [0x4ea4b8]
push 0x45b170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x45e290
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 0x14
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x18]
push eax
call fcn.00477691
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov dword [0x4e6ae8], eax
call fcn.0046addd
mov esp, ebp
pop ebp
ret

Function at 0x45e510
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4e5814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 2
push dword [0x4ea4c4]
call fcn.004030c0
push eax
call fcn.00412d30
add esp, 0xc
mov dword [0x4e6af0], eax
test eax, eax
je 0x45e6ae
push 8
push dword [0x4ea4c4]
call fcn.004030c0
add esp, 8
push eax
push 7
push dword [0x4ea4c4]
call fcn.004030c0
add esp, 8
push eax
lea eax, [ebp - 0x408]
push eax
push 1
push dword [0x4ea4c4]
call fcn.004030c0
add esp, 8
push eax
push 0
push dword [0x4ea4c4]
call fcn.00403120
add esp, 8
push eax
push dword [0x4ea4c4]
mov eax, dword [0x4e6af0]
push 0x4e6af4
push 0
mov eax, dword [eax]
call eax
mov ecx, dword [0x4e6af0]
mov edi, eax
push dword [0x4ea4a8]
push dword [0x4e6af4]
mov ecx, dword [ecx + 0x34]
call ecx
add esp, 0x28
test edi, edi
jne 0x45e6e3
push 0x5f
push dword [0x4ea4c4]
mov dword [0x4e7fe4], edi
mov dword [0x4e7fe0], edi
call fcn.00403120
mov esi, eax
add esp, 8
cmp byte [esi], 0
jne 0x45e616
push dword [0x4be594]
lea eax, [ebp - 0x404]
push dword [ebp - 0x408]
push str._s____s
push eax
call fcn.004089b0
add esp, 0x10
lea esi, [ebp - 0x404]
push dword [ebp - 0x408]
call fcn.0040e430
push esi
push 0
call fcn.0045e3a0
push esi
push 0
call fcn.0045e1c0
mov eax, dword [0x4e6af0]
push dword [0x4e6af4]
push dword [eax + 0x14]
push dword [0x4ea4ac]
call fcn.0044d390
push 0
push dword [0x4e6af4]
push dword [0x4e6af0]
push dword [0x4ea4ac]
push dword [0x4ea4c4]
call fcn.00409de0
mov edi, dword [sym.imp.USER32.dll_DeleteMenu]
add esp, 0x34
mov dword [0x4e6aec], eax
xor esi, esi
nop dword [eax]
push 0
push 0x40
push dword [esi + 0x4e7628]
call edi
add esi, 4
cmp esi, 8
jb 0x45e680
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x4e7608], 0
pop esi
call fcn.0046addd
mov esp, ebp
pop ebp
ret
push dword [0x4be594]
push str._s_Internal_Error
call fcn.0040dda0
add esp, 8
mov esi, eax
push 0x30
push esi
push str.Unsupported_protocol_number_found
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040e430
add esp, 4
push 1
call fcn.0045af60
push dword [0x4be594]
push str._s_Error
call fcn.0040dda0
add esp, 8
mov esi, eax
push edi
push dword [0x4ea4c4]
call fcn.0040dbc0
add esp, 4
push eax
lea eax, [ebp - 0x404]
push str.Unable_to_open_connection_to_n_.800s_n_s
push eax
call fcn.004089b0
add esp, 0x10
lea eax, [ebp - 0x404]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040e430
add esp, 4
push 0
call fcn.0049b81a
int3
Function at 0x40c670
Capabilities:
Set registry value

Disassembly:
push ebp
mov ecx, str.Recent_file_list
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x60]
push ebx
sub esp, 0x70
call sym._registry_get_handle
test eax, eax
je 0x40c6a0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._registry_read_filelist
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edi, 0x3ed
lea esi, [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov dword [ebp - 0x3c], 0x30
mov dword [ebp - 0x64], eax
sub esp, 4
mov dword [ebp - 0x38], 0x20
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x64]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenuItemInfoW]
sub esp, 0x10
test eax, eax
je 0x40c71c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + edi*4 - 0x1000], eax
inc edi
cmp edi, 0x3f1
jne 0x40c6e6
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
mov dword [ebp - 0x64], eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
je 0x40c810
mov eax, dword [ebp - 0x64]
xor edi, edi
mov ecx, esi
mov esi, edi
mov edi, ecx
test eax, eax
je 0x40c778
mov ecx, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call edi
sub esp, 8
test eax, eax
je 0x40c82f
inc esi
cmp esi, 4
je 0x40c778
mov eax, dword [ebp + esi*4 - 0x4c]
test eax, eax
jne 0x40c74e
lea esi, cs:[esi]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40c791
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov edi, dword [sym.imp.user32.dll_wsprintfW]
mov edx, dword [ebp + 8]
lea esi, [ebp - 0x58]
test edx, edx
je 0x40c810
inc ebx
mov dword [ebp + 8], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.File_d
mov dword [esp], esi
call edi
mov edx, dword [ebp + 8]
cmp word [edx], 0
je 0x40c828
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40c7c8
sub eax, edx
add eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
cmp ebx, 4
je 0x40c810
mov edx, dword [ebp + ebx*4 - 0x4c]
jmp 0x40c79d
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x40c68d
mov eax, 2
jmp 0x40c7d6
test esi, esi
je 0x40c791
lea eax, [ebp - 0x4c]
lea edx, [esi*4]
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memmove
jmp 0x40c791
Function at 0x32001866
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3205cfc4]
jne 0x32001870
repz ret
jmp fcn.32043968

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x42da58
Capabilities:
Parse pe header

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
and eax, 0x79000055
dec ebx
outsb dx, byte [esi]
dec ecx
je 0x42daa8
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
das
aas
aaa
dec esi
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
pop eax
dec edx
add byte [eax], al
add byte [eax], al
cmp byte [edi], dh
and eax, 0x326442
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al

Function at 0x42da62
Capabilities:
Parse pe header

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
and eax, 0x79000055
dec ebx
outsb dx, byte [esi]
dec ecx
je 0x42daa8
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
das
aas
aaa
dec esi
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
pop eax
dec edx
add byte [eax], al
add byte [eax], al
cmp byte [edi], dh
and eax, 0x326442
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al

Function at 0x42da73
Capabilities:
Parse pe header

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
and eax, 0x79000055
dec ebx
outsb dx, byte [esi]
dec ecx
je 0x42daa8
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
das
aas
aaa
dec esi
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
pop eax
dec edx
add byte [eax], al
add byte [eax], al
cmp byte [edi], dh
and eax, 0x326442
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
Function at 0x438b39
Capabilities:
Parse pe header

Disassembly:
mov al, 0x70
mov al, 0x71
mov al, 0x72
mov al, 0x73
mov al, 0x74
mov al, 0x75
mov al, 0x76
mov al, 0x77
mov al, 0x78
mov al, 0x79
mov al, 0x7a
mov al, 0x7b
mov al, 0x7e
mov al, 0x7f
mov al, 0x81
mov al, 0x82
mov al, 0x83
mov al, 0x85
mov al, 0x86
mov al, 0x87
mov al, 0x88
mov al, 0x89
mov al, 0x8a
mov al, 0x8b
mov al, 0x8e
mov al, 0x90
mov al, 0x92
mov al, 0x93
mov al, 0x94
mov al, 0x95
mov al, 0x96
mov al, 0x97
mov al, 0x9b
mov al, 0x9d
mov al, 0x9e
mov al, 0xa3
mov al, 0xa4
mov al, 0xa5
mov al, 0xa6
mov al, 0xa7

Function at 0x438b89
Capabilities:
Parse pe header

Disassembly:
mov al, 0xaa
mov al, 0xb0
mov al, 0xb2
mov dl, 0xb0
mov dh, 0xb0
mov bh, 0xb0
mov ecx, 0xbbb0bab0
Function at 0x4104a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442bd3
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x45c02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.0040fca0
push eax
mov dword [ebp - 4], 0
call fcn.00408840
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x446190]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x18]
movzx ecx, ax
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x41053b
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x446190]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x410538
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x446190]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
imul eax, eax, 0xeeeeeeef
test eax, eax
jne 0x41057b
push ecx
lea ecx, [ebp - 0x94]
call fcn.00410670
push eax
push dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.00410780
lea ecx, [ebp - 0x94]
call fcn.00404220
jmp 0x410644
mov edi, dword [ebp + 8]
cmp edi, eax
jbe 0x4105b0
push ecx
lea ecx, [ebp - 0x94]
call fcn.00410670
push eax
push edi
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004106f0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00404220
sub esp, 8
lea ecx, [ebx + 0xc]
call fcn.00410970
test edi, edi
je 0x410644
xor edx, edx
mov eax, dword [ebx]
add eax, edx
mov dword [eax], 0xffffffff
lea esi, [eax + 4]
mov dword [eax + 0x68], 0xffffffff
mov dword [eax + 0x6c], 0x7fffffff
mov dword [eax + 0x70], 0
cmp dword [eax + 0x18], 8
jb 0x4105f0
mov esi, dword [eax + 4]
xor ecx, ecx
mov dword [eax + 0x14], 0
mov word [esi], cx
lea esi, [eax + 0x1c]
cmp dword [eax + 0x30], 8
jb 0x410608
mov esi, dword [eax + 0x1c]
mov dword [eax + 0x2c], ecx
add edx, 0x78
xor ecx, ecx
mov word [esi], cx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x44], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x40], 6
mov word [eax + 0x48], cx
mov dword [eax + 0x4c], 0x201
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
sub edi, 1
jne 0x4105c5
cmp dword [ebx + 0x40], 8
lea eax, [ebx + 0x2c]
jb 0x410650
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
mov dword [ebx + 0x3c], 0
mov word [eax], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4