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

Disassembly:
mov eax, 0x4201a0
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.00410742
lea eax, [ebp - 0xb4]
push eax
call fcn.00403a54
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x4269a6
lea ecx, [ebp - 0x30]
call fcn.0041070b
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.00410935
push eax
call dword [0x6410a8]
push dword [0x63033c]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0x641184]
test eax, eax
jne 0x404fb1
inc esi
cmp dword [ebp - 0x10], ebx
je 0x4050f5
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0x6411a8]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4050ec
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x630188]
push dword [ebp - 0x4c]
push 0x426adc
push dword [ebp - 0x1c]
call dword [0x6411e8]
mov edi, eax
cmp edi, ebx
je 0x4050e3
cmp esi, ebx
je 0x405029
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x640fa0]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x641170]
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 [0x641200]
test eax, eax
jne 0x405068
mov ecx, dword [ebp + 8]
push 0x426ae0
call fcn.0041070b
jmp 0x405101
lea eax, [ebp - 0x1b4]
push eax
call fcn.0041185f
pop ecx
cmp eax, 0xc8
jne 0x40513d
cmp esi, ebx
je 0x4050dc
mov esi, 0x7cf
jmp 0x4050c5
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4050dc
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00410884
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004107c9
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00410776
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0x6410d0]
cmp eax, ebx
jne 0x40508b
push edi
call dword [0x6410a4]
push dword [ebp - 0x1c]
call dword [0x6410a4]
push dword [ebp - 0x10]
call dword [0x6410a4]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.00410742
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.00410776
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00410776
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.00410776
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 0x426ae8
call fcn.0041070b
jmp 0x405101
Function at 0x4064dd
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 0x4064fb
xor eax, eax
inc eax
jmp 0x40658d
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40658a
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40658a
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 0x4064f3
cmp dword [edi], 0x4550
jne 0x40658a
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x40658a
movzx eax, word [esi + 0x46]
test ax, ax
je 0x40658a
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.004118e3
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x406561
push 3
jmp 0x40658c
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 0x40658d
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x406b73
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebx + 0x3c]
push edi
xor edi, edi
add esi, ebx
mov dword [ebp - 0xc], edi
cmp dword [esi], 0x4550
jne 0x40ff1e
push 0x10
lea eax, [ebp - 0x1c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x44
lea eax, [ebp - 0x60]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push edi
push edi
push 0x8000004
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [0x641054]
test eax, eax
je 0x40ff1e
push 4
push 0x1000
push 4
push edi
call dword [0x641110]
mov edi, eax
push edi
mov dword [edi], 0x10007
push dword [ebp - 0x18]
call dword [0x6411ac]
test eax, eax
je 0x40ff1e
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 [0x6411b0]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x1c]
call dword [0x640ffc]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40ff25
push dword [ebp - 0x18]
call dword [0x6411c4]
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 [0x64100c]
and dword [ebp - 4], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x40ff7c
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 [0x64100c]
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add dword [ebp + 0xc], 0x28
cmp dword [ebp - 4], eax
jl 0x40ff44
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 [0x64100c]
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 8]
push edi
mov dword [edi + 0xb0], eax
push dword [ebp - 0x18]
call dword [0x640fe0]
push dword [ebp - 0x18]
call dword [0x6411c4]
mov eax, dword [ebp - 0x14]
jmp 0x40ff20
Function at 0x411564
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x421f3b
call sub.msvcrt.dll__EH_prolog
sub esp, 0x40
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
mov dword [ebp - 0x24], esi
push esi
mov dword [ebp - 4], 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 - 0x18]
push eax
push 0x42801c
push 1
push esi
push 0x4280ec
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, esi
jl 0x4116fc
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 eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push esi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x4273f0
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, esi
jl 0x4116f5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp eax, esi
je 0x4116d2
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 0x4116d2
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
mov byte [ebp - 4], 1
call dword [ecx + 0x10]
push 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x44]
call fcn.004114ac
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
call dword [0x6411b4]
push 0x104
push esi
push eax
call dword [0x641144]
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 str._d__d__d__d:_d:_d
push esi
call dword [0x640fc4]
mov ecx, dword [ebp + 8]
add esp, 0x20
push esi
call fcn.0041070b
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4116e3
or dword [ebp - 4], 0xffffffff
push 0x427434
mov ecx, dword [ebp + 8]
call fcn.0041070b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 0x427424
jmp 0x4116db
push 0x42742c
jmp 0x4116db
Function at 0x41170d
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x421f4d
call sub.msvcrt.dll__EH_prolog
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
mov dword [ebp - 0x24], esi
push esi
mov dword [ebp - 4], 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 - 0x18]
push eax
push 0x42801c
push 1
push esi
push 0x4280ec
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.rootSecurityCenter2
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, esi
jl 0x411845
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 eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x4274a8
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, esi
jl 0x41183e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp eax, esi
je 0x41181b
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 0x41181b
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
mov byte [ebp - 4], 1
call dword [ecx + 0x10]
push dword [ebp - 0x2c]
call fcn.00411a75
pop ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.0041070b
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x41182c
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.0041070b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 0x4274c8
jmp 0x411824
push 0x4274d0
jmp 0x411824

Function at 0x412038
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x20]
mov ecx, 0x414
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0x4274f1
mov word [ebp - 0x10], cx
mov dword [ebp - 6], 0x4274f2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x413ad2
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41fb42
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.00410742
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00410742
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00410742
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.00410742
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x415865
Capabilities:
Create thread

Disassembly:
mov eax, 0x4228e0
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.0041418c
test byte [0x640f60], 1
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 3
je 0x41589b
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004107c9
mov eax, dword [ebp + 0x80]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x84]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004107c9
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.004107c9
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.004107c9
mov esi, 0x3e8
jmp 0x4158f4
push esi
call dword [0x640fdc]
cmp dword [0x640f60], 2
jae 0x4158ed
inc dword [0x640f60]
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x414052
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 0x427703
call fcn.0041070b
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call fcn.004141d8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00401061
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], bl
call fcn.00410776
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x416c71
Capabilities:
Get disk information

Disassembly:
mov eax, 0x422c6b
call sub.msvcrt.dll__EH_prolog
sub esp, 0x454
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push 0x427944
lea ecx, [ebp + 0x7c]
mov dword [ebp - 4], esi
xor edi, edi
mov dword [ebp - 0x10], ebx
call fcn.00410935
push eax
call dword [0x6410e0]
test eax, eax
je 0x416cac
mov edi, esi
push ebx
push 0x427954
lea ecx, [ebp + 0x7c]
call fcn.00410935
push eax
call dword [0x6410e0]
test eax, eax
je 0x416cca
mov edi, esi
mov dword [ebp - 0x10], esi
cmp edi, ebx
je 0x416dda
lea eax, [ebp - 0x78]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x78]
cmp byte [ebp - 0x78], bl
je 0x416e3a
push 0x3e8
lea eax, [ebp - 0x460]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x10], ebx
je 0x416d2e
cmp eax, 2
jne 0x416d2e
lea ecx, [ebp + 0x7c]
call fcn.00410935
push eax
lea eax, [ebp - 0x460]
push eax
call dword [0x6411fc]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x416d4a
lea ecx, [ebp + 0x7c]
call fcn.00410935
push eax
lea eax, [ebp - 0x460]
push eax
call dword [0x6411fc]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x460]
push eax
call fcn.00411ca1
add esp, 0xc
push eax
lea eax, [ebp - 0x460]
push eax
call dword [0x6411fc]
push ebx
push dword [ebp + 0xa0]
lea ecx, [ebp + 0x88]
push edi
push dword [ebp + 0x98]
push ebx
push dword [ebp + 0x94]
call fcn.00410935
push eax
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp + 0x70]
call fcn.00410935
push eax
push 0x4276c7
lea ecx, [ebp + 0xa4]
call fcn.00410935
push eax
sub esp, 0x68
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004010b1
call fcn.00416824
add esp, 0x94
push esi
call dword [0x641068]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x416cea
jmp 0x416e3a
push ebx
push dword [ebp + 0xa0]
lea ecx, [ebp + 0x88]
push ebx
push dword [ebp + 0x98]
push ebx
push dword [ebp + 0x94]
call fcn.00410935
push eax
lea ecx, [ebp + 0x7c]
call fcn.00410935
push eax
lea ecx, [ebp + 0x70]
call fcn.00410935
push eax
push 0x4276ca
lea ecx, [ebp + 0xa4]
call fcn.00410935
push eax
sub esp, 0x68
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004010b1
call fcn.00416824
add esp, 0x94
mov eax, dword [ebp + 0xb0]
lea ecx, [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 4], bl
call fcn.00401061
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x70]
call fcn.00413a82
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41bdf7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f1b0]
jne 0x41be01
repz ret
jmp fcn.0041eaef

Function at 0x41f2c6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f1b0]
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.0041b71a
and dword [ebp - 0x14], 0
cmp dword [0x641dd4], 0
mov dword [ebp - 0x18], eax
jne 0x41f379
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41f421
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41f421
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x641dd4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x641dd8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x641ddc], eax
call edi
push eax
call esi
mov dword [0x641de4], eax
test eax, eax
je 0x41f379
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x641de0], eax
mov eax, dword [0x641de0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41f3d2
cmp dword [0x641de4], ecx
je 0x41f3d2
push eax
call esi
push dword [0x641de4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41f3d2
test ebx, ebx
je 0x41f3d2
call edi
test eax, eax
je 0x41f3c9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41f3c9
test byte [ebp - 8], 1
jne 0x41f3d2
or dword [ebp + 0x10], 0x200000
jmp 0x41f405
mov eax, dword [0x641dd8]
cmp eax, dword [ebp - 0x18]
je 0x41f405
push eax
call esi
test eax, eax
je 0x41f405
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41f405
mov eax, dword [0x641ddc]
cmp eax, dword [ebp - 0x18]
je 0x41f405
push eax
call esi
test eax, eax
je 0x41f405
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x641dd4]
call esi
test eax, eax
je 0x41f421
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41f423
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bdf7
leave
ret
Function at 0x5b9a92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x5b9b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x5b9b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x5b9b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005b9b71
test eax, eax
je 0x5b9b67
add ebx, 0x14
jmp 0x5b9b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x5b9b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x5b9ddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x5b9ddd
mov eax, 1
test eax, eax
je 0x5b9ddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x5b9ddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x5b9dd3
mov ebx, eax
and eax, 0x80000000
jne 0x5b9d4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x5b9ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x5b9ddd
mov eax, 1
test eax, eax
je 0x5b9ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x5b9ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x5b9ca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x5b9ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x5b9b67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x5b9ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x5b9ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc