joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ab38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x474454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
je 0x419573
push 1
push 0x45f7dc
lea ecx, [ebp + 0x18]
call fcn.00401c80
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00418d70
push eax
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 2
call fcn.00401e80
mov eax, dword [eax]
add esp, 0x14
lea edx, [ebp - 0x20]
push edx
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
push edx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4195c7
mov esi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esi
cmp eax, ebx
mov eax, dword [ebp - 0x18]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4195ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41960d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], bl
je 0x419657
cmp esi, ebx
je 0x41961d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419643
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [ebp + 0xc]
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
push ebx
push eax
push esi
mov dword [ebp - 0x1c], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
cmp esi, ebx
je 0x419682
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
cmp edi, ebx
sete byte [ebp - 0xd]
cmp esi, ebx
je 0x419693
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4196b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419a90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ac51
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x474454]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ebx
push eax
lea edx, [ebp - 0x418]
push edx
mov dword [ebp - 4], ebx
call fcn.00418d70
mov eax, dword [eax]
add esp, 8
push 0x2001f
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x428]
call fcn.00404a30
test eax, eax
mov eax, dword [ebp - 0x418]
setne byte [ebp - 0x411]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419b34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x411], bl
je 0x419b54
mov eax, dword [ebp - 0x428]
cmp eax, ebx
je 0x419b4d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x419c7d
xor edi, edi
jmp 0x419b60
push 0x3ff
lea ecx, [ebp - 0x40f]
push ebx
push ecx
mov byte [ebp - 0x410], bl
call fcn.0043ffa0
mov esi, dword [ebp - 0x428]
add esp, 0xc
lea edx, [ebp - 0x434]
push edx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x410]
push ecx
push edi
push esi
mov dword [ebp - 0x42c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc edi
cmp eax, ebx
jne 0x419c70
mov edx, dword [0x474238]
mov eax, dword [edx + 0xc]
mov ecx, 0x474238
call eax
add eax, 0x10
mov dword [ebp - 0x418], eax
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x419c01
mov edx, ecx
movzx esi, dx
push ebx
push esi
call fcn.00401150
add esp, 8
cmp eax, ebx
je 0x419c2c
push esi
push eax
lea ecx, [ebp - 0x418]
call fcn.00401d40
jmp 0x419c2c
lea eax, [ebp - 0x410]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x419c10
sub eax, edx
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x418]
call fcn.00401be0
lea ecx, [ebp - 0x418]
push ecx
mov ecx, dword [ebp - 0x41c]
mov byte [ebp - 4], 2
call fcn.00419a10
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419b60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x419b60
cmp esi, ebx
je 0x419c7b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fdbf
mov esp, ebp
pop ebp
ret
Function at 0x420b70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b129
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x474454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], edi
push eax
push str.iexplore.exe
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edx, dword [0x474238]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x474238
call eax
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], 1
cmp esi, edi
je 0x420c57
push esi
call fcn.0043e87e
mov ecx, dword [ebp - 0x10]
add esp, 4
push eax
push esi
push ecx
push str.iexplore.exe
mov dword [ebp - 0x1c], eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x420c4b
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x45f7dc
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x420c4b
cmp dword [ebp - 0x14], edi
je 0x420c4b
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xfeef04bd
jne 0x420c4b
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx esi, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push esi
push edx
push ecx
push str._d._d._d._d
push ebx
call fcn.00402220
add esp, 0x18
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004402fd
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4213d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b240
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x474454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x20], ebx
call fcn.00421220
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
jne 0x421428
mov esi, dword [ebp + 8]
push 0x46146c
mov ecx, esi
call fcn.00402280
jmp 0x4214fe
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x46146c
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00402280
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x4214c5
push esi
call fcn.0043e87e
mov edx, dword [ebp - 0x18]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x10]
push edi
push esi
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4214bc
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x45f7dc
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4214bc
cmp dword [ebp - 0x1c], ebx
je 0x4214bc
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0xfeef04bd
jne 0x4214bc
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx esi, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push esi
push edx
push ecx
lea eax, [ebp - 0x14]
push str._d._d._d._d
push eax
call fcn.00402220
add esp, 0x18
push edi
call fcn.004402fd
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.004011e0
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4214fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421520
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421970
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b240
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x474454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x20], ebx
call fcn.004217c0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
jne 0x4219c8
mov esi, dword [ebp + 8]
push 0x46146c
mov ecx, esi
call fcn.00402280
jmp 0x421a9e
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x46146c
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00402280
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x421a65
push esi
call fcn.0043e87e
mov edx, dword [ebp - 0x18]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x10]
push edi
push esi
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x421a5c
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x45f7dc
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x421a5c
cmp dword [ebp - 0x1c], ebx
je 0x421a5c
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0xfeef04bd
jne 0x421a5c
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx esi, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push esi
push edx
push ecx
lea eax, [ebp - 0x14]
push str._d._d._d._d
push eax
call fcn.00402220
add esp, 0x18
push edi
call fcn.004402fd
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.004011e0
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ac0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421ae0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
cmp ecx, 6
jne 0x421b50
cmp eax, 2
jne 0x421b1b
mov esi, dword [ebp + 8]
push 0x45fab8
mov ecx, esi
call fcn.00402280
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x421b36
mov esi, dword [ebp + 8]
push 0x45fabc
mov ecx, esi
call fcn.00402280
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x421baa
mov esi, dword [ebp + 8]
push 0x46156c
mov ecx, esi
call fcn.00402280
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 5
jne 0x421ba5
cmp eax, 2
jne 0x421b70
mov esi, dword [ebp + 8]
push str.XP64
mov ecx, esi
call fcn.00402280
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x421b8b
mov esi, dword [ebp + 8]
push str.XP32
mov ecx, esi
call fcn.00402280
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x421bc1
mov esi, dword [ebp + 8]
push str.2000
mov ecx, esi
call fcn.00402280
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 6
jb 0x421bc1
mov esi, dword [ebp + 8]
mov eax, 0x461550
push eax
mov ecx, esi
call fcn.00402280
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov eax, str.XP_X
push eax
mov ecx, esi
call fcn.00402280
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b448
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x474454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.0043f95b
add esp, 4
cmp eax, ebx
je 0x424370
lea ecx, [ebp - 0x18]
push ecx
push eax
lea edx, [ebp - 0xd]
push edx
mov dword [esi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004226f0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
push 8
mov dword [ebp - 4], ebx
mov dword [edi], ebx
call fcn.0043f95b
add esp, 0x10
cmp eax, ebx
je 0x42434c
lea ecx, [ebp - 0x24]
push ecx
push eax
lea edx, [ebp - 0xd]
push edx
mov dword [edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.004226f0
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
lea ecx, [esi + 0x7c]
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
push ecx
mov byte [esi + 0x60], bl
call fcn.00422530
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], ebx
call fcn.0044020f
push 0x46b140
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
call fcn.0043f2fb
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], ebx
call fcn.0044020f
push 0x46b140
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], vtable.std::bad_alloc.0
call fcn.0043f2fb
int3

Function at 0x42c910
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x42c929
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x42c933
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43e4f8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x475c00], 0
push esi
push edi
jne 0x43e46e
call fcn.0043e3da
test eax, eax
je 0x43e4b3
mov eax, dword [0x475c00]
cmp eax, 1
jne 0x43e48f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x43e4b3
jmp 0x43e4f5
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x43e4f5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43e4b7
xor eax, eax
jmp 0x43e4f5
mov eax, dword [esi]
push dword [0x475c00]
call edi
mov edi, eax
test edi, edi
je 0x43e4d9
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x43e4f5
lea edi, [esi + 0xff0]
push esi
push dword [0x475c00]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x43e4df
mov eax, esi
pop edi
pop esi
ret
jmp 0x43e45a

Function at 0x43fdbf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x474454]
jne 0x43fdc9
repz ret
jmp fcn.00448bdc
Function at 0x4521ed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x474454]
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.00446c58
and dword [ebp - 0x14], 0
cmp dword [0x476be8], 0
mov dword [ebp - 0x18], eax
jne 0x4522a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x452348
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x452348
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x476be8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x476bec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x476bf0], eax
call edi
push eax
call esi
mov dword [0x476bf8], eax
test eax, eax
je 0x4522a0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x476bf4], eax
mov eax, dword [0x476bf4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4522f9
cmp dword [0x476bf8], ecx
je 0x4522f9
push eax
call esi
push dword [0x476bf8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4522f9
test ebx, ebx
je 0x4522f9
call edi
test eax, eax
je 0x4522f0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4522f0
test byte [ebp - 8], 1
jne 0x4522f9
or dword [ebp + 0x10], 0x200000
jmp 0x45232c
mov eax, dword [0x476bec]
cmp eax, dword [ebp - 0x18]
je 0x45232c
push eax
call esi
test eax, eax
je 0x45232c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45232c
mov eax, dword [0x476bf0]
cmp eax, dword [ebp - 0x18]
je 0x45232c
push eax
call esi
test eax, eax
je 0x45232c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x476be8]
call esi
test eax, eax
je 0x452348
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45234a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043fdbf
leave
ret
Function at 0x1003a530
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1003a561
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1003a561
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1003a561
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10050367
Capabilities:
Encode data using xor

Disassembly:
call 0x100502e0
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10050310
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1005032c
xor edx, 0
jmp 0x10050337
xor edx, edx
jmp 0x1005034e
jmp 0x1005035a
xor eax, eax
push 0x8427d7c0
call 0x10050367
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100503a3
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1005037c
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100503ba
add eax, 0
jno 0x100503bf
add esi, 0
ret 0x10
Function at 0x10051128
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1005114a
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100512ec
cmp edi, dword [ebp + 0x10]
jb 0x100512ec
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10050c14
inc edi
jmp 0x100511d3
jmp 0x100511e0
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10050c14
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10050c14
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10051234
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10051218
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10051262
add dword [eax], 0x39
jle 0x1005123e
sub al, 0xf5
mov ch, al
call fcn.10051277
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10052f4f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10052f65
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10052f76
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10052fb7
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx