joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe2c
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x400
mov ebx, ecx
lea ecx, [ebp - 0x610]
push 0
push ecx
mov dword [ebp - 0xe24], eax
call fcn.00407f40
add esp, 0xc
push ebx
lea edx, [ebp - 0x610]
push 0x1ff
push edx
call fcn.0040466c
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4042b1
sub eax, edx
sar eax, 1
lea edi, [ebp + eax*2 - 0x60e]
mov ecx, 0x80
mov esi, 0x417a80
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
jmp 0x4042e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4042e0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 0x202]
push 0x10000
mov dword [ebp - 0xe28], eax
call fcn.0040512d
add esp, 4
push 0x10000
xor esi, esi
mov ebx, eax
push esi
push ebx
call fcn.00407f40
add esp, 0xc
push 0x7fe
lea edx, [ebp - 0xe0e]
xor ecx, ecx
push esi
push edx
mov dword [ebp - 0xe1c], 0x10000
mov word [ebp - 0xe10], cx
call fcn.00407f40
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x20e]
xor eax, eax
push esi
push ecx
mov dword [ebp - 0xe18], esi
mov dword [ebp - 0xe14], esi
mov dword [ebp - 0xe20], esi
mov word [ebp - 0x210], ax
call fcn.00407f40
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0xe24]
lea eax, [ebp - 0xe10]
push eax
push ecx
lea esi, [ebp - 0xe18]
call fcn.00403ba0
add esp, 8
test eax, eax
je 0x40447c
mov eax, dword [ebp - 0xe28]
lea edx, [ebp - 0xe10]
push edx
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0xbba
mov edx, esi
call fcn.00403cb0
add esp, 0x10
test eax, eax
je 0x40447c
lea edx, [ebp - 0xe10]
push edx
lea eax, [ebp - 0xe20]
push eax
mov ecx, esi
push ecx
lea edx, [ebp - 0xe1c]
mov ecx, ebx
call fcn.00403eb0
add esp, 0xc
test eax, eax
je 0x40447c
mov edx, 0xbba
cmp word [ebp - 0xe20], dx
jne 0x40447c
cmp dword [ebp - 0xe1c], 0
je 0x40447c
cmp byte [ebx], 0
jne 0x40447c
push 0x417c80
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004045f7
add esp, 0xc
push 0x41379c
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0xe14]
push edx
mov dword [ebp - 0xe14], 0
call fcn.00404919
add esp, 0xc
cmp dword [ebp - 0xe14], 0
je 0x404472
lea eax, [ebp - 0xe14]
push eax
mov edi, esi
call fcn.004044c0
add esp, 4
mov dword [ebp - 0xe14], 1
test ebx, ebx
je 0x404489
push ebx
call fcn.004051c1
add esp, 4
mov eax, dword [ebp - 0xe18]
test eax, eax
je 0x40449a
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xe14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045e8
mov esp, ebp
pop ebp
ret
Function at 0x4044c0
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040dbb0
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [edi]
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push ebx
push 4
lea ecx, [ebp - 0x1008]
push ecx
push edx
mov dword [ebp - 0x100c], eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
je 0x40450c
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004045e8
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1008], ebx
jbe 0x404558
push esi
mov ecx, dword [edi]
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
je 0x404557
mov edx, dword [ebp - 0x100c]
mov eax, dword [edx]
push eax
push esi
lea ecx, [ebp - 0x1004]
push 1
push ecx
call fcn.00404dff
add ebx, esi
add esp, 0x10
cmp ebx, dword [ebp - 0x1008]
jb 0x404515
pop esi
mov edx, dword [ebp - 0x100c]
mov eax, dword [edx]
push eax
call fcn.00404c34
mov ecx, dword [ebp - 4]
add esp, 4
cmp ebx, dword [ebp - 0x1008]
pop ebx
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004045e8
mov esp, ebp
pop ebp
ret

Function at 0x4045e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x415048]
jne 0x4045f2
repz ret
jmp fcn.00405d6e
Function at 0x40df4c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409ab3
and dword [ebp - 0x14], 0
cmp dword [0x416cac], 0
mov dword [ebp - 0x18], eax
jne 0x40dfff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40e0a7
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40e0a7
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x416cac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x416cb0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x416cb4], eax
call edi
push eax
call esi
mov dword [0x416cbc], eax
test eax, eax
je 0x40dfff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x416cb8], eax
mov eax, dword [0x416cb8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x40e058
cmp dword [0x416cbc], ecx
je 0x40e058
push eax
call esi
push dword [0x416cbc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40e058
test ebx, ebx
je 0x40e058
call edi
test eax, eax
je 0x40e04f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40e04f
test byte [ebp - 8], 1
jne 0x40e058
or dword [ebp + 0x10], 0x200000
jmp 0x40e08b
mov eax, dword [0x416cb0]
cmp eax, dword [ebp - 0x18]
je 0x40e08b
push eax
call esi
test eax, eax
je 0x40e08b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e08b
mov eax, dword [0x416cb4]
cmp eax, dword [ebp - 0x18]
je 0x40e08b
push eax
call esi
test eax, eax
je 0x40e08b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x416cac]
call esi
test eax, eax
je 0x40e0a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40e0a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045e8
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
mov ecx, 0x28ab2438
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x4ecb2a2c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0xb89b00
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b89c50
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb89b26
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb89b12
add dl, dl
jne 0xb89b31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb89b84
xor eax, eax
add dl, dl
jne 0xb89b3e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb89c25
add dl, dl
jne 0xb89b4d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb89b58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb89b63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb89b6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb89b7a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb89b1d
mov eax, 1
add dl, dl
jne 0xb89b92
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb89b9d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb89b89
sub eax, ebx
mov ebx, 1
jne 0xb89bd0
mov ecx, 1
add dl, dl
jne 0xb89bb6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb89bc1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb89bad
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb89b1d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb89be7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb89bf2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb89bde
cmp eax, 0x7d00
jae 0xb89c15
cmp eax, 0x500
jb 0xb89c10
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb89b1d
cmp eax, 0x7f
ja 0xb89c18
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb89b1d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb89c46
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 0xb89b1d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401160
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.00437ab0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00437ab0
add esp, 0x18
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4011ce
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433092
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4011bd
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00433092
mov esp, ebp
pop ebp
ret

Function at 0x401430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareCanonIJPLM
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push 0x80000002
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40149a
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 8
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4014a2
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4014b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push edx
push 0x80000002
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40151f
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x40151f
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x405ac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edx + 0x6dfffffc], edi
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0040525a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040520f
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0040525a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]

Function at 0x406160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00405228
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
invalid
movsd dword es:[edi], dword [esi]
xchg ebp, eax
cld
invalid
invalid

Function at 0x408140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4505a6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46b070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004330cb
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00431cee
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40dca0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor bl, bl
lea esi, [edi + 0x60]
cmp esi, eax
je 0x40dcd0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040cc40
cmp dword [esi + 0x14], 8
jb 0x40dcda
mov eax, dword [esi]
jmp 0x40dcdc
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40dd13
cmp dword [esi + 0x14], 8
jb 0x40dcf1
mov eax, dword [esi]
jmp 0x40dcf3
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40dd13
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433092
mov esp, ebp
pop ebp
ret 4
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.00437ab0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40dd33
mov eax, dword [esi]
jmp 0x40dd35
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x4625c4
push 0x461b08
push str.keyinfo
call ebx
lea ecx, [ebp - 0x84]
lea eax, [ecx + eax*2]
push eax
mov eax, ecx
mov ecx, edi
push eax
call fcn.0040fe80
cmp dword [esi + 0x14], 8
jb 0x40dd74
mov eax, dword [esi]
jmp 0x40dd76
mov eax, esi
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x4625c4
push 0x461b2c
push str.keyinfo
call ebx
lea ecx, [ebp - 0x84]
lea eax, [ecx + eax*2]
push eax
mov eax, ecx
lea ecx, [edi + 0x18]
push eax
call fcn.0040fe80
cmp dword [esi + 0x14], 8
jb 0x40ddb0
mov eax, dword [esi]
jmp 0x40ddb2
mov eax, esi
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x4625c4
push 0x461b34
push str.keyinfo
call ebx
lea ecx, [ebp - 0x84]
lea eax, [ecx + eax*2]
push eax
mov eax, ecx
lea ecx, [edi + 0x30]
push eax
call fcn.0040fe80
cmp dword [esi + 0x14], 8
jb 0x40ddea
mov esi, dword [esi]
push esi
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x4625c4
push 0x461b3c
push str.keyinfo
call ebx
lea ecx, [ebp - 0x84]
lea eax, [ecx + eax*2]
push eax
mov eax, ecx
lea ecx, [edi + 0x48]
push eax
call fcn.0040fe80
cmp dword [edi + 0x58], 0
je 0x40de47
cmp dword [edi + 0x40], 0
je 0x40de47
cmp dword [edi + 0x28], 0
je 0x40de47
cmp dword [edi + 0x10], 0
je 0x40de47
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433092
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433092
mov esp, ebp
pop ebp
ret 4
Function at 0x40f4c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450d3b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46b070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
lea eax, [esi + 0x10]
mov dword [esi + 0xc], 0
mov byte [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov byte [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov byte [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov byte [eax + 0x34], 0
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ecx
push dword [esi + 0xc]
push dword [esi + 8]
push eax
call fcn.0040ff10
add esp, 0x10
test al, al
mov eax, esi
jne 0x40f57c
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40fc90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x40fcc1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40fcb0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x416520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp - 8], eax
movups xmm0, xmmword [0x461f98]
push esi
push edi
movups xmmword [ebp - 0x28], xmm0
push 0x44
movups xmm0, xmmword [0x461fa8]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x2c], 0xffffffff
push 0
push eax
mov edi, edx
mov esi, ecx
movups xmmword [ebp - 0x18], xmm0
call fcn.00437ab0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x84], 0x44
add esp, 0xc
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x80], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x58], 0x80
mov word [ebp - 0x52], ax
mov dword [ebp - 0x50], eax
call fcn.004310b0
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x4165b1
call fcn.00416790
jmp 0x4165b6
call fcn.00416940
test eax, eax
je 0x416635
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push edi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
test edi, edi
jne 0x4165e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x416604
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41660e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41660e
push eax
call esi
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x416618
push eax
call esi
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x416623
push eax
call esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00433092
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00433092
mov esp, ebp
pop ebp
ret
Function at 0x416650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x461f98]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x7c]
movups xmmword [ebp - 0x24], xmm0
push 0x44
movups xmm0, xmmword [0x461fa8]
push 0
push eax
mov ebx, edx
mov dword [ebp - 0x28], 0xffffffff
mov esi, ecx
movups xmmword [ebp - 0x14], xmm0
call fcn.00437ab0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x7c], 0x44
add esp, 0xc
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x50], 0x80
mov word [ebp - 0x4a], ax
mov dword [ebp - 0x48], eax
call fcn.004310b0
lea ecx, [ebp - 0x28]
test eax, eax
je 0x4166dc
call fcn.00416790
jmp 0x4166e1
call fcn.00416940
test eax, eax
je 0x41676e
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
test esi, esi
je 0x416730
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
cmp esi, 0xffffffff
je 0x416730
push edi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, eax
test esi, esi
jne 0x416736
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x416746
push eax
call edi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x416750
push eax
call edi
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41675b
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433092
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433092
mov esp, ebp
pop ebp
ret