joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f09f
Capabilities:
Get file version info

Disassembly:
push 8
mov eax, 0x46b063
call fcn.0045c3cf
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
je 0x40f0bd
mov eax, 0x800700b7
jmp 0x40f143
cmp dword [ebp + 8], ebx
jne 0x40f0c9
mov eax, 0x80070057
jmp 0x40f143
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x40f0e5
mov eax, 0x80040007
jmp 0x40f143
push edi
mov dword [ebp - 4], ebx
call fcn.00453039
pop ecx
push edi
push ebx
push eax
mov dword [esi], eax
call fcn.00458750
add esp, 0xc
push dword [esi]
push edi
push dword [ebp - 0x14]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x40f134
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi]
mov edi, eax
call fcn.00457fb9
cmp edi, ebx
pop ecx
mov dword [esi], ebx
jle 0x40f130
and edi, 0xffff
or edi, 0x80070000
mov eax, edi
jmp 0x40f143
xor eax, eax
jmp 0x40f143
call fcn.0045c474
ret
Function at 0x40f45d
Capabilities:
Accept command line arguments

Disassembly:
push 0x40
mov eax, 0x46ee81
call fcn.0045c3cf
mov esi, dword [ebp + 8]
push 0x49ed00
mov ecx, esi
call fcn.00401e4f
lea eax, [esi + 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00411d16
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401b81
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x18], ebx
je 0x40f5dc
cmp edi, ebx
je 0x40f5e7
mov byte [ebp - 4], 3
push dword [edi]
mov ecx, esi
call fcn.004020ce
xor esi, esi
inc esi
cmp esi, dword [ebp - 0x18]
jge 0x40f5dc
push dword [edi + esi*4]
lea ecx, [ebp - 0x1c]
call fcn.00401b81
mov ebx, 0x4824e8
push ebx
push 0x482c6c
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.00401c0c
push ebx
push 0x482c70
lea eax, [ebp - 0x1c]
push eax
call fcn.00401c0c
push ebx
lea ecx, [ebp - 0x20]
call fcn.00401b81
lea eax, [esi + 1]
mov byte [ebp - 4], 5
cmp eax, dword [ebp - 0x18]
jge 0x40f52f
push dword [edi + esi*4 + 4]
lea ecx, [ebp - 0x20]
call fcn.004020ce
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00401f16
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 6
call fcn.00401f16
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 5
call fcn.00409fb5
add esp, 0xc
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0040a008
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ebx, [ebp - 0x4c]
call fcn.00409d8a
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00402595
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00402595
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402595
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00402595
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402595
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402595
inc esi
jmp 0x40f4d2
test edi, edi
je 0x40f5e7
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402595
mov eax, dword [ebp + 8]
call fcn.0045c474
ret 4

Function at 0x4104cf
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x498fa4]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
mov dword [ebp - 0x80], 0x114
call fcn.00458750
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41051d
cmp dword [ebp - 0x7c], 6
jb 0x41051d
xor eax, eax
inc eax
jmp 0x41051f
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00457fc4
add ebp, 0x98
leave
ret
Function at 0x410feb
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.0045c0d0
push 0xffffffffffffffff
push 0x46cc86
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x498fa4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
push 0x49ed00
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call fcn.00401e4f
xor eax, eax
mov dword [ebp - 4], edi
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 0x10], 1
call fcn.00458750
add esp, 0xc
push 0x800
lea eax, [ebp]
push eax
push 0x482f88
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004020ce
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
je 0x411090
push str.Desktop
mov ecx, esi
call fcn.00403ec4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00457fc4
add ebp, 0x1004
leave
ret

Function at 0x4117b4
Capabilities:
Query environment variable

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x498fa4]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 8
mov eax, 0x46c193
call fcn.0045c39c
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push 0x49ed00
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00401e4f
and dword [ebp - 4], 0
xor eax, eax
push 0x7fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x10], 1
call fcn.00458750
add esp, 0xc
push 0x400
lea eax, [ebp]
push eax
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004020ce
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00457fc4
add ebp, 0x804
leave
ret

Function at 0x4118f0
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.0045c0d0
push 0xffffffffffffffff
push 0x46c111
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x498fa4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push 0x49ed00
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00401e4f
and dword [ebp - 4], 0
xor eax, eax
push 0xffe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x10], 1
call fcn.00458750
add esp, 0xc
push 0x800
lea eax, [ebp]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004020ce
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00457fc4
add ebp, 0x1004
leave
ret
Function at 0x4119a4
Capabilities:
Query environment variable

Disassembly:
push 0x4c
mov eax, 0x46c0d3
call fcn.0045c405
and dword [ebp - 4], 0
and dword [ebp - 0x54], 0
push 0x49ed00
mov ecx, esi
mov dword [ebp - 0x58], esi
call fcn.00401e4f
and dword [ebp - 4], 0
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push eax
mov dword [ebp - 0x54], 1
call fcn.00458750
add esp, 0xc
push 0x20
lea eax, [ebp - 0x50]
push eax
push str.SystemDrive
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.004020ce
mov eax, esi
call fcn.0045c488
ret

Function at 0x411a0b
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x498fa4]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x18
mov eax, 0x46cc45
call fcn.0045c39c
mov eax, dword [ebp + 0x40c]
xor ebx, ebx
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ebx
call fcn.004119a4
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
jne 0x411a5f
push 0x483088
mov ecx, esi
call fcn.004020ce
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi - 0xc]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x411b68
cmp eax, ecx
jg 0x411b68
movzx eax, word [edi + eax*2]
cmp ax, 0x5c
je 0x411a8f
push 0x482b20
lea ecx, [ebp - 0x10]
call fcn.00403ec4
mov edi, dword [ebp - 0x10]
xor eax, eax
mov esi, 0x1fc
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
call fcn.00458750
xor eax, eax
push esi
mov word [ebp + 0x200], ax
lea eax, [ebp + 0x202]
push ebx
push eax
call fcn.00458750
add esp, 0x18
mov eax, 0xff
push eax
lea ecx, [ebp + 0x200]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0x49ed00
cmp eax, ebx
je 0x411b5e
lea ecx, [ebp - 0x18]
call fcn.00401e4f
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 0x483090
push eax
call fcn.004047a5
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.00401f16
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402595
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402595
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00457fc4
add ebp, 0x404
leave
ret
mov ecx, dword [ebp - 0x14]
call fcn.00401e4f
jmp 0x411b2d
push 0x80070057
call fcn.004026e4
int3
Function at 0x413452
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 4
mov eax, 0x46be99
call fcn.0045c39c
xor esi, esi
cmp dword [ebp + 8], esi
je 0x41350a
push dword [ebp + 8]
call fcn.00457fd3
pop ecx
test eax, eax
je 0x41350a
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
push 0x4813a4
push 1
push esi
push 0x481474
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jge 0x4134b2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x4134ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x41350f
push dword [ebp + 8]
mov edi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.0040ef7b
mov byte [ebp - 4], 1
mov eax, dword [eax]
cmp eax, esi
je 0x4134ce
mov eax, dword [eax]
jmp 0x4134d0
xor eax, eax
mov ecx, dword [edi]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push edi
call dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov edi, eax
cmp ecx, esi
je 0x4134ef
call fcn.0040ab72
mov dword [ebp + 8], esi
cmp edi, esi
jl 0x41349d
mov eax, dword [ebx]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
jmp 0x41349d
mov eax, 0x80070057
call fcn.0045c474
ret

Function at 0x413515
Capabilities:
Reference wmi statements

Disassembly:
push 0x14
mov eax, 0x46cb4f
call fcn.0045c39c
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
push str.ROOTCIMV2
lea ebx, [ebp - 0x10]
call fcn.00413452
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
jl 0x4135e9
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push str.SELECT__FROM_Win32_ComputerSystem
lea ecx, [ebp - 0x1c]
call fcn.0040ef7b
mov edi, eax
push 0x4832c8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040ef7b
mov byte [ebp - 4], 3
mov ecx, dword [edi]
cmp ecx, ebx
je 0x41357b
mov ecx, dword [ecx]
jmp 0x41357d
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x413587
mov eax, dword [eax]
jmp 0x413589
xor eax, eax
mov edx, dword [esi]
lea edi, [ebp - 0x14]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp ecx, ebx
je 0x4135a9
call fcn.0040ab72
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x4135bc
call fcn.0040ab72
mov dword [ebp - 0x1c], ebx
cmp esi, ebx
jl 0x4135d9
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4135e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4135fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.0045c474
ret
Function at 0x4136e5
Capabilities:
Reference wmi statements

Disassembly:
push 0x14
mov eax, 0x46cb4f
call fcn.0045c39c
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
push str.ROOTCIMV2
lea ebx, [ebp - 0x10]
call fcn.00413452
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
jl 0x4137b9
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x1c]
call fcn.0040ef7b
mov edi, eax
push 0x4832c8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040ef7b
mov byte [ebp - 4], 3
mov ecx, dword [edi]
cmp ecx, ebx
je 0x41374b
mov ecx, dword [ecx]
jmp 0x41374d
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x413757
mov eax, dword [eax]
jmp 0x413759
xor eax, eax
mov edx, dword [esi]
lea edi, [ebp - 0x14]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp ecx, ebx
je 0x413779
call fcn.0040ab72
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x41378c
call fcn.0040ab72
mov dword [ebp - 0x1c], ebx
cmp esi, ebx
jl 0x4137a9
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4137b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4137ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.0045c474
ret
Function at 0x413fb3
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x12004]
mov eax, 0x12004
call fcn.0045c0d0
push 0xffffffffffffffff
push 0x46c015
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x498fa4]
xor eax, ebp
mov dword [ebp + 0x12000], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi + 8]
xor ecx, ecx
cmp eax, ecx
je 0x414160
mov esi, dword [edi]
cmp dword [esi], ecx
je 0x414160
cmp eax, 1
je 0x414125
add eax, 0xfffffffe
cmp eax, 1
ja 0x414160
xor eax, eax
mov ebx, 0x1ffe
push ebx
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00458750
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp]
push ecx
xor ebx, ebx
push ebx
push ebx
push eax
push dword [esi]
call fcn.0044e380
add esp, 0x24
cmp eax, ebx
jne 0x414160
lea eax, [edi + 0x10]
push eax
call fcn.004088d0
cmp dword [edi + 8], 3
jne 0x414112
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401b81
push 0x25
lea esi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00403876
cmp eax, 0xffffffff
je 0x41408c
cmp eax, 2
jge 0x41408e
xor eax, eax
cmp eax, ebx
je 0x414103
lea ecx, [ebp - 0x14]
push ecx
inc eax
xor edx, edx
lea ecx, [ebp - 0x10]
call fcn.00403b35
xor eax, eax
mov byte [ebp - 4], 1
push 0xfffc
mov word [ebp + 0x2000], ax
lea eax, [ebp + 0x2002]
push ebx
push eax
call fcn.00458750
mov ebx, dword [ebp - 0x14]
add esp, 0xc
push 0x7fff
lea eax, [ebp + 0x2000]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4140f9
lea eax, [ebp + 0x2000]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00401c0c
push dword [ebp - 0x10]
lea esi, [edi + 0x10]
call fcn.00408898
lea ecx, [ebx - 0x10]
call fcn.00402595
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402595
lea esi, [edi + 0x10]
cmp word [esi], bx
jne 0x414160
lea eax, [ebp]
push eax
call fcn.00408898
jmp 0x414160
mov eax, dword [edi + 4]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
push ecx
push ecx
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 4
push dword [esi]
call fcn.0044e380
add esp, 0x18
test eax, eax
jne 0x414160
lea esi, [edi + 0x10]
push esi
call fcn.004088d0
push 3
pop eax
mov word [esi], ax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
lea eax, [edi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x12000]
xor ecx, ebp
call fcn.00457fc4
add ebp, 0x12004
leave
ret
Function at 0x42e1ea
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x42e1fe
mov eax, 0x80040007
jmp 0x42e280
mov eax, dword [esi]
call dword [eax + 8]
test al, al
jne 0x42e20b
xor eax, eax
jmp 0x42e280
mov eax, dword [esi + 0x48]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x42e21f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x48], ebx
push ebx
push 4
push esi
push dword [esi + 0x54]
push ebx
push ebx
call fcn.00469ad7
add esp, 0x18
mov dword [esi + 0x48], eax
cmp eax, 0xffffffff
je 0x42e27a
cmp eax, ebx
je 0x42e27a
mov byte [esi + 0x50], bl
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 0xc]
dec eax
je 0x42e260
dec eax
je 0x42e259
mov eax, 0x4000
jmp 0x42e263
mov eax, 0x8000
jmp 0x42e263
push 0x20
pop eax
push eax
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x42e27f
mov eax, 0x8007000e
pop ebx
pop esi
ret 4

Function at 0x42e3e4
Capabilities:
Get process image filename

Disassembly:
push 0x610
mov eax, 0x46c60a
call fcn.0045c405
xor esi, esi
mov edi, ecx
cmp dword [ebp + 8], esi
jne 0x42e414
lea ecx, [edi + 0xc]
mov eax, 0x80070057
call fcn.0042e361
mov eax, dword [eax + 0x10]
call fcn.0045c488
ret 4
push dword [ebp + 8]
push esi
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x61c], eax
lea ecx, [ebp - 0x61c]
mov dword [ebp - 4], esi
call fcn.0041315f
test al, al
jne 0x42e45b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [edi + 0xc]
call fcn.0042e361
mov edi, dword [eax + 0x10]
lea esi, [ebp - 0x61c]
call fcn.00413113
mov eax, edi
jmp 0x42e40c
xor eax, eax
push 0x604
mov word [ebp - 0x618], ax
lea eax, [ebp - 0x616]
push esi
push eax
call fcn.00458750
add esp, 0xc
push 0x303
lea eax, [ebp - 0x618]
push eax
push dword [ebp - 0x61c]
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x42e4a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [edi + 0xc]
call fcn.0042e361
jmp 0x42e4bb
lea esi, [edi + 0xc]
call fcn.0040a7a8
lea eax, [ebp - 0x618]
push eax
lea ecx, [edi + 4]
call fcn.004020ce
mov edi, dword [edi + 0x1c]
jmp 0x42e44c
Function at 0x42e4c0
Capabilities:
Get disk information

Disassembly:
push 0xf4
mov eax, 0x46d21e
call fcn.0045c43b
mov dword [ebp - 0xf8], ecx
call fcn.004039c3
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0xd0
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0xee]
push ebx
push eax
call fcn.00458750
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x68
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x42e5c9
lea esi, [ebp - 0xf0]
xor edi, edi
cmp edi, 0x69
jge 0x42e5c9
cmp esi, ebx
je 0x42e5c9
push esi
lea ecx, [ebp - 0xf4]
call fcn.00401b81
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x42e5c1
push 2
pop eax
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0xf4]
call fcn.00403940
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.00401f86
mov ecx, dword [ebp - 0xfc]
add ecx, 0xfffffff0
call fcn.00402595
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.00403a25
mov dword [ebp - 4], 1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xf4]
add ecx, 0xfffffff0
add esi, 8
call fcn.00402595
add edi, 4
jmp 0x42e51c
add ecx, 0xfffffff0
call fcn.00402595
mov eax, dword [ebp - 0xf8]
call fcn.0045c497
ret

Function at 0x4375c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
push edi
xor eax, eax
lea esp, [esp]
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x4375d0
mov ebp, dword [esp + 0x18]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor edi, edi
lea ecx, [ecx]
mov eax, ecx
cdq
idiv dword [esp + 0x1c]
movzx ebx, byte [ecx + esi]
inc ecx
movzx eax, byte [edx + ebp]
add eax, ebx
add eax, edi
and eax, 0xff
cmp ecx, 0x100
mov edi, eax
mov dl, byte [edi + esi]
mov byte [ecx + esi - 1], dl
mov byte [edi + esi], bl
jl 0x4375f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x437630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
movzx edx, byte [eax + 0x101]
movzx ecx, byte [eax + 0x100]
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
mov dword [esp + 0xc], edx
test ebp, ebp
jle 0x43769f
push ebx
push edi
mov edi, dword [esp + 0x14]
inc ecx
and ecx, 0xff
movzx edx, byte [ecx + eax]
mov dword [esp + 0x1c], edx
add edx, edi
and edx, 0xff
movzx ebx, byte [edx + eax]
mov byte [ecx + eax], bl
mov ebx, dword [esp + 0x1c]
mov byte [edx + eax], bl
movzx edi, byte [ecx + eax]
add edi, ebx
and edi, 0xff
movzx ebx, byte [edi + eax]
mov edi, dword [esp + 0x18]
xor byte [esi + edi], bl
inc esi
cmp esi, ebp
mov dword [esp + 0x14], edx
jl 0x437654
pop edi
pop ebx
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebp
ret
Function at 0x437c60
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x28
mov eax, dword [0x498fa4]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ecx, ecx
xor eax, eax
jmp 0x437c80
movsx edi, byte [eax + 0x497368]
dec edi
cmp edi, ecx
je 0x437c94
inc eax
cmp eax, 0x20
jl 0x437c80
jmp 0x437c98
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 0x20
jl 0x437c76
shl edx, 0xb
lea edi, [esp + 0x15]
mov ebx, 0x497168
lea eax, [edx + esi + 0x180]
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, esi
sar eax, 1
mov ecx, esi
and ecx, 1
and eax, 0xf
shl ecx, 4
or eax, ecx
mov ecx, esi
and ecx, 0x20
or eax, ecx
movsx eax, byte [ebx + eax]
xor edx, edx
test al, 8
je 0x437ceb
movsx edx, byte [edi - 1]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
test al, 4
je 0x437d02
movsx ebp, byte [edi]
mov ecx, 0x1f
sub ecx, ebp
mov ebp, 1
shl ebp, cl
or edx, ebp
test al, 2
je 0x437d1a
movsx ebp, byte [edi + 1]
mov ecx, 0x1f
sub ecx, ebp
mov ebp, 1
shl ebp, cl
or edx, ebp
test al, 1
je 0x437d32
movsx eax, byte [edi + 2]
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
or edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax], edx
inc esi
add eax, 4
cmp esi, 0x40
mov dword [esp + 0x10], eax
jl 0x437cb7
add ebx, 0x40
add edi, 4
cmp ebx, 0x497368
jl 0x437cb1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457fc4
add esp, 0x28
ret

Function at 0x437da0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, eax
xor edx, edx
mov ecx, esi
call fcn.00437c60
mov edx, 1
mov ecx, esi
call fcn.00437c60
mov edx, 2
mov ecx, esi
call fcn.00437c60
lea eax, [esi + 0x1980]
push 0x497070
push eax
call fcn.00437af0
push 0x4970b0
add esi, 0x2180
push esi
call fcn.00437af0
add esp, 0x10
xor eax, eax
pop esi
ret