joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4034f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebp
mov ebp, dword [esp + 0x210]
push esi
mov esi, dword [esp + 0x218]
push esi
push ebp
push str.QTExtDir
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.004032c0
mov al, byte [ebp]
add esp, 0x10
test al, al
jne 0x40362c
add esi, 0xfffffff6
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea ecx, [esp + 0x110]
push esi
push ecx
call fcn.00403370
mov al, byte [esp + 0x118]
add esp, 0xc
test al, al
je 0x40362c
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403560
sub eax, edx
cmp byte [esp + eax + 7], 0x5c
push edi
je 0x4035a2
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403578
sub eax, edx
cmp byte [esp + eax + 0xb], 0x2f
je 0x4035a2
lea edi, [esp + 0xc]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403590
mov dx, word [0x4369d0]
mov word [edi], dx
lea eax, [esp + 0x110]
mov edx, ebp
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4035b0
lea esi, [esp + 0x110]
lea eax, [esp + 0xc]
push ebx
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4035ee
test cl, cl
je 0x4035ea
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4035ee
add eax, 2
add esi, 2
test cl, cl
jne 0x4035c6
xor eax, eax
jmp 0x4035f3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
jne 0x40362b
mov edi, ebp
dec edi
jmp 0x403600
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403600
mov eax, dword [str.QuickTime_]
mov dword [edi], eax
mov ecx, dword [0x436a98]
mov dword [edi + 4], ecx
mov dx, word [0x436a9c]
mov word [edi + 8], dx
mov al, byte [0x436a9e]
mov byte [edi + 0xa], al
pop edi
mov eax, ebp
pop esi
lea edx, [eax + 1]
pop ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403633
sub eax, edx
add esp, 0x208
ret
Function at 0x4062e0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e420
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x442094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0
push 0x10
push eax
push dword [ecx]
call sub.bcrypt.dll_BCryptGenRandom
mov edi, eax
test edi, edi
jne 0x406362
movzx ecx, byte [ebp - 0x18]
mov eax, esi
and cl, 0x3f
or cl, 0x80
mov byte [ebp - 0x18], cl
movzx ecx, byte [ebp - 0x1a]
and cl, 0xf
or cl, 0x40
mov byte [ebp - 0x1a], cl
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [esi], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042caf0
mov esp, ebp
pop ebp
ret 4
push 0x43470c
lea ecx, [ebp - 0x38]
call fcn.00404ae0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
mov eax, edi
lea ecx, [ebp - 0x50]
cdq
push edx
push eax
call fcn.00405380
mov byte [ebp - 4], 1
push 0x54
push str.e:_tfbuild_work230_s_srcworkpackages_boost.1.68.0.0lib_nativeinclude_boostuuiddetail_random_provider_bcrypt.ipp
push str.void___thiscall_boost::uuids::detail::random_provider_base::get_random_bytes_void__unsigned_int_
push eax
call fcn.004048e0
int3

Function at 0x4087c0
Capabilities:
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x408857
cmp ecx, eax
jne 0x40883c
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push eax
mov dword [esi + edx + 4], ecx
lea ecx, [edi + 4]
mov esi, dword [esp + 0x10]
push esi
call fcn.0040be60
pop edi
mov eax, esi
pop esi
ret 8
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0xc]
push eax
mov dword [edx + 4], ecx
lea ecx, [edi + 4]
push esi
call fcn.0040be60
pop edi
mov eax, esi
pop esi
ret 8
cmp ecx, eax
jne 0x40885f
mov ecx, dword [eax]
mov dword [edx], ecx
mov esi, dword [esp + 0xc]
lea ecx, [edi + 4]
push eax
push esi
call fcn.0040be60
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x409b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f0a9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x442094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 5
mov ecx, dword [ebx + 8]
call fcn.0040c370
mov byte [ebp - 4], 4
lea eax, [ebx + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 4], 3
lea esi, [ebx + 0x50]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc]
call fcn.004098d0
mov byte [ebp - 4], 3
add esi, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.0040b940
mov byte [ebp - 4], 3
push 0x14
push dword [esi]
call fcn.0042c865
add esp, 8
mov byte [ebp - 4], 2
lea esi, [ebx + 0x30]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0xc]
call fcn.004098d0
mov byte [ebp - 4], 2
add esi, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xe
mov ecx, esi
call fcn.0040b9e0
mov byte [ebp - 4], 2
push 0x28
push dword [esi]
call fcn.0042c865
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0xc]
call fcn.004098d0
mov byte [ebp - 4], 1
lea ecx, [esi + 4]
call fcn.004094d0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x409c1f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x409c1f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x409c1f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebx + 4]
test esi, esi
je 0x409c4b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x409c4b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x409c4b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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 0x40a520
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f2d3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x442094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x74]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004047f0
add esp, 8
mov dword [ebp - 4], 1
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + 0x54]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x68]
and ecx, eax
mov eax, dword [esi + 0x5c]
mov esi, dword [esi + 0x5c]
mov ebx, dword [eax + ecx*8]
lea ecx, [ecx*8 + 4]
mov eax, ebx
mov dword [ebp - 0x14], ecx
nop word [eax + eax]
cmp ebx, edx
jne 0x40a5c8
mov ecx, edx
jmp 0x40a5cd
mov ecx, dword [ecx + esi]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x40a616
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x40a5df
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
jmp 0x40a5c0
cmp eax, edx
je 0x40a616
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x40a5ff
lock inc dword [ecx + 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
mov ebx, 1
jmp 0x40a635
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 3
mov ebx, 2
xor eax, eax
mov dword [ebp - 0x10], ebx
mov edx, dword [ebp + 8]
mov dword [ecx], 0
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [ecx + 4], 0
or ebx, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 2
or edi, 0xffffffff
test bl, 2
je 0x40a691
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x40a691
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a691
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40a691
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 1
test bl, 1
je 0x40a6c8
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x40a6c8
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a6c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40a6c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
cmp byte [ebp - 0x24], 0
je 0x40a6db
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b5d0
Capabilities:
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
ret 4

Function at 0x40b620
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov ebx, ecx
mov edi, dword [edx + 0x10]
jb 0x40b634
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x40b651
nop
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x40b640
mov eax, dword [ebx + 0x18]
pop edi
and eax, esi
pop esi
pop ebx
ret 4
Function at 0x40bc00
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebp, ecx
mov dword [esp + 0x14], ebp
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebp + 4]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x18]
mov ebx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [esp + 0x24], ebx
mov esi, ebx
mov dword [esp + 0x10], eax
cmp ebx, edx
jne 0x40bc6a
mov eax, edx
jmp 0x40bc6e
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x40bcc3
mov ebx, dword [edi]
cmp dword [esi + 8], ebx
je 0x40bc85
mov esi, dword [esi]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
jmp 0x40bc62
mov ecx, esi
mov edi, esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x24]
nop dword [eax]
cmp edi, edx
jne 0x40bca8
mov eax, edx
jmp 0x40bcac
mov eax, dword [ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x40bcb9
cmp ebx, dword [esi + 8]
jne 0x40bcb9
mov esi, dword [esi]
jmp 0x40bca0
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x18], esi
jne 0x40bcc7
mov edi, edx
mov esi, edx
mov eax, edi
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp eax, esi
je 0x40bcde
mov eax, dword [eax]
inc ebx
cmp eax, esi
jne 0x40bcd3
mov dword [esp + 0x24], ebx
cmp edi, dword [edx]
jne 0x40bd03
cmp esi, edx
jne 0x40bd03
lea ecx, [ebp + 4]
call fcn.0040b940
push 8
mov ecx, ebp
call fcn.0040b660
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret 4
cmp edi, esi
je 0x40bcf7
nop word [eax + eax]
movzx ecx, byte [edi + 8]
mov ebx, edi
xor ecx, 0x811c9dc5
mov dword [esp + 0x1c], edi
imul edx, ecx, 0x1000193
mov ebp, edi
mov eax, edi
mov edi, dword [edi]
movzx ecx, byte [ebx + 9]
xor edx, ecx
movzx ecx, byte [ebp + 0xa]
mov ebp, dword [esp + 0x14]
imul edx, edx, 0x1000193
xor edx, ecx
mov ecx, eax
imul edx, edx, 0x1000193
movzx ecx, byte [ecx + 0xb]
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [ebp + 0xc]
and ecx, dword [ebp + 0x18]
lea ebx, [ecx*8]
mov ecx, dword [edx + ebx]
add edx, ebx
cmp dword [edx + 4], eax
jne 0x40bd8a
cmp ecx, eax
jne 0x40bd82
mov ecx, dword [ebp + 4]
mov dword [edx], ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
mov dword [ebx + edx + 4], ecx
jmp 0x40bd90
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x40bd90
cmp ecx, eax
jne 0x40bd90
mov dword [edx], edi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp + 4]
call fcn.0040be60
cmp edi, esi
jne 0x40bd10
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x40bf00
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov ebx, dword [esp + 0x14]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
lea eax, [ecx*8]
mov ebp, dword [eax + edx]
mov ecx, ebp
add edx, eax
nop dword [eax]
cmp ebp, esi
jne 0x40bf68
mov eax, esi
jmp 0x40bf6d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x40bf87
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x40bf7c
mov ecx, dword [ecx]
jmp 0x40bf60
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
mov eax, ebx
pop ebx
ret 8
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40c070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f656
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x442094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.IpcSocketIn.0
call fcn.0040bfa0
mov dword [ebp - 4], 0
push 0
push 0
push 1
push 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x28], eax
test eax, eax
je 0x40c149
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
lea eax, [esi + 0x20]
push eax
push 0
push esi
push 0x40c4f0
push 0
push 0
mov dword [eax], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x24], eax
cmp eax, 0xffffffff
je 0x40c172
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40c128
cmp eax, 0x102
je 0x40c128
cmp eax, 0xffffffff
je 0x40c18d
push 0x80004005
jmp 0x40c1a0
cmp dword [esi + 0x1c], 0
je 0x40c172
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40c15b
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x30]
call fcn.00408cb0
push 0x43aecc
lea eax, [ebp - 0x30]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Failed_to_initinialize_SocketIn.
lea ecx, [ebp - 0x1c]
call fcn.004091e0
push 0x43af38
lea eax, [ebp - 0x1c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40c19f
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x20]
call fcn.00408cb0
push 0x43aecc
lea eax, [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x42be20
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebp, ecx
mov dword [esp + 0x14], ebp
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebp + 4]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x18]
mov ebx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [esp + 0x24], ebx
mov esi, ebx
mov dword [esp + 0x10], eax
cmp ebx, edx
jne 0x42be8a
mov eax, edx
jmp 0x42be8e
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x42bee3
mov ebx, dword [edi]
cmp dword [esi + 8], ebx
je 0x42bea5
mov esi, dword [esi]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
jmp 0x42be82
mov ecx, esi
mov edi, esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x24]
nop dword [eax]
cmp edi, edx
jne 0x42bec8
mov eax, edx
jmp 0x42becc
mov eax, dword [ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x42bed9
cmp ebx, dword [esi + 8]
jne 0x42bed9
mov esi, dword [esi]
jmp 0x42bec0
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x18], esi
jne 0x42bee7
mov edi, edx
mov esi, edx
mov eax, edi
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp eax, esi
je 0x42befe
mov eax, dword [eax]
inc ebx
cmp eax, esi
jne 0x42bef3
mov dword [esp + 0x24], ebx
cmp edi, dword [edx]
jne 0x42bf23
cmp esi, edx
jne 0x42bf23
lea ecx, [ebp + 4]
call fcn.0042b980
push 8
mov ecx, ebp
call fcn.0042a8c0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret 4
cmp edi, esi
je 0x42bf17
nop word [eax + eax]
movzx ecx, byte [edi + 8]
mov ebx, edi
xor ecx, 0x811c9dc5
mov dword [esp + 0x1c], edi
imul edx, ecx, 0x1000193
mov ebp, edi
mov eax, edi
mov edi, dword [edi]
movzx ecx, byte [ebx + 9]
xor edx, ecx
movzx ecx, byte [ebp + 0xa]
mov ebp, dword [esp + 0x14]
imul edx, edx, 0x1000193
xor edx, ecx
mov ecx, eax
imul edx, edx, 0x1000193
movzx ecx, byte [ecx + 0xb]
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [ebp + 0xc]
and ecx, dword [ebp + 0x18]
lea ebx, [ecx*8]
mov ecx, dword [edx + ebx]
add edx, ebx
cmp dword [edx + 4], eax
jne 0x42bfaa
cmp ecx, eax
jne 0x42bfa2
mov ecx, dword [ebp + 4]
mov dword [edx], ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
mov dword [ebx + edx + 4], ecx
jmp 0x42bfb0
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x42bfb0
cmp ecx, eax
jne 0x42bfb0
mov dword [edx], edi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp + 4]
call fcn.0042bfe0
cmp edi, esi
jne 0x42bf30
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x40569b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d0f0]
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.00404397
and dword [ebp - 0x14], 0
cmp dword [0x40e840], 0
mov dword [ebp - 0x18], eax
jne 0x40574e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4057f6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4057f6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40e840], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40e844], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40e848], eax
call edi
push eax
call esi
mov dword [0x40e850], eax
test eax, eax
je 0x40574e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40e84c], eax
mov eax, dword [0x40e84c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4057a7
cmp dword [0x40e850], ecx
je 0x4057a7
push eax
call esi
push dword [0x40e850]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4057a7
test ebx, ebx
je 0x4057a7
call edi
test eax, eax
je 0x40579e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40579e
test byte [ebp - 8], 1
jne 0x4057a7
or dword [ebp + 0x10], 0x200000
jmp 0x4057da
mov eax, dword [0x40e844]
cmp eax, dword [ebp - 0x18]
je 0x4057da
push eax
call esi
test eax, eax
je 0x4057da
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4057da
mov eax, dword [0x40e848]
cmp eax, dword [ebp - 0x18]
je 0x4057da
push eax
call esi
test eax, eax
je 0x4057da
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40e840]
call esi
test eax, eax
je 0x4057f6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4057f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405a06
leave
ret

Function at 0x405a06
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d0f0]
jne 0x405a10
repz ret
jmp fcn.00406d43

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x16f5cff
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5a4210b8
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219