joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a380
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [ecx + 4]
jbe 0x1001a3eb
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, edx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
push ebx
jmp 0x1001a3b0
inc esi
and esi, 0xff
movzx eax, byte [ecx + esi + 8]
add edi, eax
and edi, 0xff
movzx ebx, byte [ecx + edi + 8]
mov byte [ecx + esi + 8], bl
mov byte [ecx + edi + 8], al
add al, bl
mov ebx, dword [ebp + 8]
movzx eax, al
mov al, byte [eax + ecx + 8]
xor al, byte [ebx + edx]
inc edx
sub dword [ebp + 0xc], 1
mov byte [edx - 1], al
jne 0x1001a3b0
pop ebx
mov dword [ecx + 4], edi
pop edi
mov dword [ecx], esi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1001a440
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
push ebx
push ebp
mov ebp, dword [edi + 4]
xor edx, edx
push esi
lea esi, [ecx + eax + 0x18]
mov dword [esp + 0xc], 0
cmp dx, word [eax + 6]
jae 0x1001a50d
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x1001a4ae
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x1001a4f3
mov ecx, dword [edi + 0x30]
mov edx, dword [esi - 4]
mov eax, dword [edi + 0x1c]
push ecx
push 4
push 0x1000
add edx, ebp
push ebx
push edx
call eax
add esp, 0x14
test eax, eax
je 0x1001a51f
mov eax, dword [esi - 4]
push ebx
add eax, ebp
push 0
push eax
mov dword [esi - 8], eax
call fcn.1000f470
jmp 0x1001a4f0
mov ecx, dword [esi + 4]
add ecx, eax
cmp dword [esp + 0x18], ecx
jb 0x1001a517
mov edx, dword [edi + 0x30]
mov ecx, dword [edi + 0x1c]
push edx
push 4
push 0x1000
push eax
mov eax, dword [esi - 4]
add eax, ebp
push eax
call ecx
add esp, 0x14
test eax, eax
je 0x1001a51f
mov eax, dword [esi + 4]
mov edx, dword [esi]
add eax, dword [esp + 0x14]
mov ebx, dword [esi - 4]
push edx
add ebx, ebp
push eax
push ebx
call fcn.100151d0
mov dword [esi - 8], ebx
add esp, 0xc
mov ecx, dword [edi]
mov eax, dword [esp + 0xc]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
cmp eax, edx
mov dword [esp + 0xc], eax
jl 0x1001a468
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x1001a5e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x38]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [esp + 0x14], esi
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x18], edx
test esi, esi
jne 0x1001a624
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x1001a61d
mov esi, dword [eax + 0x20]
jmp 0x1001a624
test bl, bl
jns 0x1001a624
mov esi, dword [eax + 0x24]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x24]
mov dword [esp + 0x20], esi
mov esi, 1
add ecx, 0x28
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 1
cmp si, word [eax + 6]
jae 0x1001a704
lea ebx, [ecx + 0x24]
mov esi, dword [edi + 0x38]
mov ebp, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ebp
test edi, edi
jne 0x1001a679
mov ecx, dword [ebx]
test cl, 0x40
je 0x1001a672
mov edi, dword [eax + 0x20]
jmp 0x1001a679
test cl, cl
jns 0x1001a679
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x1001a6b2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp eax, esi
ja 0x1001a6b2
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.1001a530
test eax, eax
je 0x1001a725
mov eax, dword [ebx]
mov edx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jmp 0x1001a6de
mov eax, dword [ebx]
test eax, 0x2000000
je 0x1001a6cb
test dword [esp + 0x20], 0x2000000
je 0x1001a6cb
or dword [esp + 0x20], eax
jmp 0x1001a6d8
or eax, dword [esp + 0x20]
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x14]
add edi, ebp
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
cmp ecx, esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
jl 0x1001a654
lea ecx, [esp + 0x14]
mov eax, edi
mov dword [esp + 0x24], 1
call fcn.1001a530
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x404420
Capabilities:
Clear file content

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x18]
push eax
mov ecx, ebx
call fcn.00401410
mov esi, dword [esp + 0x20]
mov eax, esi
and eax, 1
mov dword [esp + 0x10], SysReAllocString
mov dword [esp + 0x14], eax
je 0x404457
mov dword [esp + 0x10], 0xc0000000
mov eax, esi
and eax, 0xf0
cmp eax, 0x10
je 0x40447e
cmp eax, 0x20
je 0x404477
xor ecx, ecx
cmp eax, 0x30
setne cl
add ecx, 2
mov ebp, ecx
jmp 0x404480
mov ebp, 1
jmp 0x404480
xor ebp, ebp
mov dword [esp + 0x1c], 4
test esi, 0x1000
jne 0x404498
mov dword [esp + 0x1c], 3
mov esi, dword [ebx]
test esi, esi
je 0x4044b7
mov eax, dword [esi + 8]
test eax, eax
je 0x4044ab
cmp word [eax], 0
jne 0x4044dd
mov eax, dword [esi + 4]
test eax, eax
je 0x4044b7
cmp byte [eax], 0
jne 0x4044be
mov eax, 0x42eae8
jmp 0x4044e2
cmp dword [esi + 8], 0
jne 0x4044d5
mov edx, dword [esi + 0xc]
add edx, edx
push edx
call fcn.00416539
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [ebx]
push eax
call fcn.00405180
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push edx
push 0
push ebp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x14], eax
cmp eax, 0xffffffff
jne 0x404518
mov dword [edi + 0x14], 0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 8
cmp dword [esp + 0x14], 0
je 0x404549
test dword [esp + 0x20], 0x2000
je 0x404542
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
push 2
push 0
mov ecx, edi
call eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 8

Function at 0x4046e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push esi
push edi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00416470
mov edi, dword [ebp + 8]
mov esi, dword [edi]
or dword [esp + 0x50], 1
mov cx, word [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x18], 0x44
mov word [esp + 0x48], cx
test esi, esi
je 0x404734
mov eax, dword [esi + 8]
test eax, eax
je 0x404728
cmp word [eax], 0
jne 0x40475a
mov eax, dword [esi + 4]
test eax, eax
je 0x404734
cmp byte [eax], 0
jne 0x40473b
mov eax, 0x42eae8
jmp 0x40475f
cmp dword [esi + 8], 0
jne 0x404752
mov edx, dword [esi + 0xc]
add edx, edx
push edx
call fcn.00416539
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [edi]
push eax
call fcn.00405180
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40479e
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4052e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x434568]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0
jne 0x405331
mov eax, dword [edi + 0xc]
add eax, eax
cmp dword [edi + 0x10], 0x4b8
jne 0x405325
add eax, eax
push eax
call fcn.00416539
add esp, 4
mov dword [edi + 4], eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 8]
mov ebx, dword [edi + 4]
cmp eax, 0xfde7
jne 0x405362
mov al, byte [esi]
mov byte [ebx], al
inc ebx
add esi, 2
test al, al
jne 0x405341
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x4b8
jne 0x405421
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405372
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x4053a7
lea ecx, [edi + edi]
push ecx
push eax
call fcn.00416255
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
lea edx, [edi + edi]
push edx
push esi
push eax
call fcn.00419320
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x3c], 1
lea edi, [esp + 0x28]
lea eax, [esp + 0x20]
call fcn.004059b0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov esi, dword [esp + 0x28]
add edx, edx
push esi
add edx, edx
push edx
push ebx
call fcn.00416c2e
mov byte [esp + 0x48], 0
push esi
call fcn.00416603
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x30]
push eax
call fcn.00416603
add esp, 0x20
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0xc]
push 0
push 0
add ecx, ecx
push ecx
push ebx
push 0xffffffffffffffff
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov ecx, edi
call fcn.00401410
lea eax, [esi + 4]
push eax
lea ecx, [edi + 4]
call fcn.00401410
lea ecx, [esi + 8]
push ecx
lea ecx, [edi + 8]
call fcn.00401410
lea edx, [esi + 0xc]
push edx
lea ecx, [edi + 0xc]
call fcn.00401410
lea eax, [esi + 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.00401410
lea ecx, [esi + 0x14]
push ecx
lea ecx, [edi + 0x14]
call fcn.00401410
lea edx, [esi + 0x18]
push edx
lea ecx, [edi + 0x18]
call fcn.00401410
cmp dword [esi + 0x1c], 0
je 0x4068b1
mov eax, dword [esi + 0x1c]
movzx ebx, word [eax + 0x46]
movzx eax, word [eax + 0x44]
mov ecx, dword [edi + 0x1c]
add ebx, eax
push ebx
push ecx
call fcn.00416255
mov dword [edi + 0x1c], eax
mov edx, dword [esi + 0x1c]
push ebx
push edx
push eax
call fcn.00419320
add esp, 0x14
jmp 0x4068c8
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4068c1
push eax
call fcn.00416603
add esp, 4
mov dword [edi + 0x1c], 0
lea eax, [esi + 0x20]
push eax
lea ecx, [edi + 0x20]
call fcn.00401410
lea ecx, [esi + 0x24]
push ecx
lea ecx, [edi + 0x24]
call fcn.00401410
lea edx, [esi + 0x28]
push edx
lea ecx, [edi + 0x28]
call fcn.00401410
lea eax, [esi + 0x2c]
push eax
lea ecx, [edi + 0x2c]
call fcn.00401410
mov ecx, dword [esi + 0x30]
mov dword [edi + 0x30], ecx
mov edx, dword [esi + 0x34]
lea eax, [esi + 0x38]
push eax
lea ecx, [edi + 0x38]
mov dword [edi + 0x34], edx
call fcn.00401410
lea ecx, [esi + 0x3c]
push ecx
lea ecx, [edi + 0x3c]
call fcn.00401410
lea edx, [esi + 0x40]
push edx
lea ecx, [edi + 0x40]
call fcn.00401410
lea eax, [esi + 0x44]
push eax
lea ecx, [edi + 0x44]
call fcn.00401410
lea ecx, [esi + 0x48]
push ecx
lea ecx, [edi + 0x48]
call fcn.00401410
lea edx, [esi + 0x4c]
push edx
lea ecx, [edi + 0x4c]
call fcn.00401410
mov eax, dword [esi + 0x58]
push 0xffffffffffffffff
lea ebx, [edi + 0x50]
push eax
mov ecx, ebx
call fcn.00403960
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x54]
push ecx
mov ecx, dword [ebx + 4]
call fcn.00403d90
lea edx, [esi + 0x64]
push edx
lea ecx, [edi + 0x64]
call fcn.00401410
lea eax, [esi + 0x68]
push eax
lea ecx, [edi + 0x68]
call fcn.00401410
mov ecx, dword [esi + 0x6c]
mov dword [edi + 0x6c], ecx
mov edx, dword [esi + 0x70]
mov dword [edi + 0x70], edx
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
mov ecx, dword [esi + 0x7c]
lea edx, [esi + 0x80]
mov dword [edi + 0x7c], ecx
push edx
lea ecx, [edi + 0x80]
call fcn.00401410
lea eax, [esi + 0x84]
push eax
lea ecx, [edi + 0x84]
call fcn.00401410
lea ecx, [esi + 0x88]
push ecx
lea ecx, [edi + 0x88]
call fcn.00401410
movzx edx, byte [esi + 0x8c]
lea eax, [esi + 0x90]
push eax
lea ecx, [edi + 0x90]
mov byte [edi + 0x8c], dl
call fcn.00401410
lea ecx, [esi + 0x94]
push ecx
lea ecx, [edi + 0x94]
call fcn.00401410
movzx edx, byte [esi + 0x98]
lea eax, [esi + 0x9c]
push eax
lea ecx, [edi + 0x9c]
mov byte [edi + 0x98], dl
call fcn.00401410
mov cl, byte [esi + 0xa0]
mov byte [edi + 0xa0], cl
mov edx, dword [esi + 0xa4]
mov dword [edi + 0xa4], edx
pop ebx
ret
Function at 0x407c80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x42a0bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x434568]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x436ccc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor esi, esi
cmp eax, esi
jne 0x407cea
push 0x44
call fcn.00415eef
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x407cd2
push eax
call fcn.00407880
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [0x436ccc]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x407f40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, eax
mov esi, dword [edi]
test esi, esi
je 0x407f63
mov eax, dword [esi + 4]
test eax, eax
je 0x407f56
cmp byte [eax], 0
jne 0x407f94
mov eax, dword [esi + 8]
test eax, eax
je 0x407f63
cmp word [eax], 0
jne 0x407f6a
mov ecx, 0x42eae7
jmp 0x407f99
cmp dword [esi + 4], 0
jne 0x407f8c
mov eax, dword [esi + 0xc]
add eax, eax
cmp dword [esi + 0x10], 0x4b8
jne 0x407f80
add eax, eax
push eax
call fcn.00416539
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [edi]
push eax
call fcn.004052e0
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407fa0
sub eax, esi
lea edx, [eax + ecx + 1]
or eax, 0xffffffff
cmp ecx, edx
jae 0x407fd0
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x435920]
inc ecx
cmp ecx, edx
jb 0x407fb4
pop edi
not eax
pop esi
ret
Function at 0x408350
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x42a52c
mov eax, dword fs:[0]
push eax
sub esp, 0x538
mov eax, dword [0x434568]
xor eax, esp
mov dword [esp + 0x534], eax
push ebx
push ebp
push edi
mov eax, dword [0x434568]
xor eax, esp
push eax
lea eax, [esp + 0x548]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x558]
lea edi, [esi + 4]
mov dword [esi], 0xffffffff
mov dword [esp + 0x1c], esi
mov dword [edi], 0
mov dword [esp + 0x550], 0
lea ebx, [esi + 8]
mov dword [ebx], 0
mov byte [esp + 0x550], 1
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x30], 2
sete al
test al, al
je 0x4084e2
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push 0x42f018
push ebp
mov dword [esp + 0x28], 4
call sub.WINSPOOL.DRV_GetPrinterDataW
test eax, eax
jne 0x4084e2
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x208
lea eax, [esp + 0x13c]
push eax
mov dword [esi], ecx
lea ecx, [esp + 0x20]
push ecx
push str.ClientName
push ebp
mov dword [esp + 0x28], 0x208
call sub.WINSPOOL.DRV_GetPrinterDataW
test eax, eax
jne 0x408452
lea edx, [esp + 0x134]
push edx
mov ecx, ebx
call fcn.004015a0
lea eax, [esp + 0x10]
push eax
push 0x208
lea ecx, [esp + 0x344]
push ecx
lea edx, [esp + 0x20]
push edx
push str.PrinterName
push ebp
mov dword [esp + 0x28], 0x208
call sub.WINSPOOL.DRV_GetPrinterDataW
test eax, eax
jne 0x40848f
lea eax, [esp + 0x33c]
push eax
mov ecx, edi
call fcn.004015a0
mov edi, dword [edi]
test edi, edi
je 0x4084cd
mov eax, dword [edi + 4]
test eax, eax
je 0x4084a1
cmp byte [eax], 0
jne 0x4084ae
mov edi, dword [edi + 8]
test edi, edi
je 0x4084cd
cmp word [edi], 0
je 0x4084cd
mov ebx, dword [ebx]
test ebx, ebx
je 0x4084cd
mov eax, dword [ebx + 4]
test eax, eax
je 0x4084c0
cmp byte [eax], 0
jne 0x4084e2
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4084cd
cmp word [ebx], 0
jne 0x4084e2
cmp dword [esp + 0x24], 5
jne 0x4084e2
cmp dword [esp + 0x28], 0
jne 0x4084e2
push ebp
push esi
call fcn.00408520
mov dword [esp + 0x550], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x548]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x534]
xor ecx, esp
call fcn.004158f6
add esp, 0x544
ret 4
Function at 0x4158f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434568]
jne 0x415900
repz ret
jmp fcn.0041b11c

Function at 0x424d5d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041ab01
and dword [ebp - 4], 0
cmp dword [0x436bb4], 0
mov ebx, eax
jne 0x424e0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x424ebf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x424ebf
push eax
call fcn.0041aa8f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x436bb4], eax
call esi
push eax
call fcn.0041aa8f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x436bb8], eax
call esi
push eax
call fcn.0041aa8f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x436bbc], eax
call esi
push eax
call fcn.0041aa8f
pop ecx
mov dword [0x436bc4], eax
test eax, eax
je 0x424e0e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041aa8f
pop ecx
mov dword [0x436bc0], eax
mov eax, dword [0x436bc0]
cmp eax, ebx
je 0x424e66
cmp dword [0x436bc4], ebx
je 0x424e66
push eax
call fcn.0041ab0a
push dword [0x436bc4]
mov esi, eax
call fcn.0041ab0a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x424e66
test edi, edi
je 0x424e66
call esi
test eax, eax
je 0x424e5d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424e5d
test byte [ebp - 0xc], 1
jne 0x424e66
or dword [ebp + 0x10], 0x200000
jmp 0x424e9f
mov eax, dword [0x436bb8]
cmp eax, ebx
je 0x424e9f
push eax
call fcn.0041ab0a
pop ecx
test eax, eax
je 0x424e9f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x424e9f
mov eax, dword [0x436bbc]
cmp eax, ebx
je 0x424e9f
push eax
call fcn.0041ab0a
pop ecx
test eax, eax
je 0x424e9f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x436bb4]
call fcn.0041ab0a
pop ecx
test eax, eax
je 0x424ebf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x424ec1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100178b7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0xd
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.10036e19
add esp, 0xc
lea ecx, [ecx + 0x57d]
lea ecx, [ecx - 0x57d]
add esp, 0
cmp edi, dword [esp]
je 0x10017900
pushf
call fcn.100178eb

Function at 0x10017ebb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0xa
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.10036e19
add esp, 0xc
cmp ecx, edi
jl 0x10017edf
xchg esi, eax
xchg esi, eax
jb 0x10017edc
jge 0x10017edf
mov ebx, 0x48f045c6
mov byte [ebp - 0x10], 0x48
mov byte [ebp - 7], 0
mov byte [ebp - 0xf], 0x66
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xd], 0x58
mov byte [ebp - 8], 0x78
mov byte [ebp - 0xe], 0x75
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 0xc], 0x6a
mov byte [ebp - 9], 0x70
mov edx, edx
jle 0x10017f0b
cmp edi, 0x64eb
jp 0x10017f28
pushf
add edi, 0x28b9
sub edi, 0x28b9
popf
xchg ecx, ecx
jnp 0x10017f28
ljmp 0x1e9:0x80f04d8a
mov cl, byte [ebp - 0x10]
sub cl, 1
mov byte [ebp - 0x10], cl
mov dl, byte [ebp - 9]
sub dl, 1
mov byte [ebp - 9], dl
mov al, byte [ebp - 0xd]
sub al, 1
mov byte [ebp - 0xd], al
mov cl, byte [ebp - 0xb]
sub cl, 1
mov byte [ebp - 0xb], cl
mov dl, byte [ebp - 0xf]
sub dl, 1
mov byte [ebp - 0xf], dl
mov al, byte [ebp - 0xa]
sub al, 1
mov byte [ebp - 0xa], al
mov cl, byte [ebp - 8]
sub cl, 1
mov byte [ebp - 8], cl
mov dl, byte [ebp - 0xc]
sub dl, 1
mov byte [ebp - 0xc], dl
mov al, byte [ebp - 0xe]
sub al, 1
mov byte [ebp - 0xe], al
call fcn.100174a7
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10017f88
xor eax, eax
jmp 0x10018001
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.1001f190
mov dword [ebp - 0x14], eax
push 0xa
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.10036e19
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x10017fff
jo 0x10017fb0
lea esp, [esp]
mov edx, edx
jnp 0x10017fb7
ja 0x10017fc1
xchg esp, esp
mov edi, edi
jbe 0x10017fc1
mov ebp, 0xec4d8bd5
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1003a66f
add esp, 4
sub esp, 0
test edi, eax
jne 0x10017ff2
pushf
ror edx, 0
lea esi, [esi + 0x7e94]
lea esi, [esi - 0x7e94]
std
cld
neg eax
neg eax
popf
xchg edi, edi
je 0x10017ff2
add eax, 0x520c558b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x14]
jmp 0x10018001
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001eb2f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
cmp dword [0x10012c24], 1
je 0x1001eb5d
add esp, 0
jp 0x1001eb46
jne 0x1001eb53
jg 0x1001eb4a
jle 0x1001eb4c
lea ecx, [ecx]
je 0x1001eb53
jmp 0x34a3d31e
mov eax, dword [0x10012c24]
mov dword [ebp - 4], eax
jmp 0x1001eb7f
jbe 0x1001eb5f
cmp edi, dword [esp + 0x10]
jbe 0x1001eb78
pushf
add ebx, dword [esp]
sub ebx, dword [esp]
add esp, 0
popf
nop
js 0x1001eb75
ja 0x1001eb78
mov edx, 0xce9c033
add al, byte [eax]
add byte [eax + eax + 0x7e], bh
and ah, byte [esi - 0x64]
xor eax, eax
jmp 0x1001ed8b
jl 0x1001eb81
jle 0x1001eba5
pushf
call fcn.1001eb8a

Function at 0x1001f260
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor esi, 0
jge 0x1001f281
pushf
and esp, 0xffffffff
xor eax, edi
xor eax, edi
jbe 0x1001f276
jp 0x1001f278
popf
jg 0x1001f27c
jae 0x1001f27e
jl 0x1001f281
add eax, 0x6468006a
test byte [edx], al
adc bh, bh
adc eax, sym.imp.USER32.dll_EnumWindows
push 0
push 0x10028464
call dword [sym.imp.USER32.dll_EnumWindows]
add ebx, 0x3894
sub ebx, 0x3894
jno 0x1001f2a8
pushf
nop
js 0x1001f2a1
popf
lea eax, [eax]
jo 0x1001f2a8
add dword [ebx + 0x147f03d], 0x397e0010
cmp dword [0x100147f0], 0
jle 0x1001f2ea
lea edx, [edx + 0x2a38]
lea edx, [edx - 0x2a38]
nop
je 0x1001f2d1
lea ebx, [ebx + 0x694]
lea ebx, [ebx - 0x694]
jne 0x1001f2d1
mov ebx, 0x17b855ef
add byte [eax], al
add bl, ch
pop ss
mov edi, edi
test dword [esp + 0xc], ecx
jb 0x1001f2ea
mov eax, 0x17
jmp 0x1001f2ef
jbe 0x1001f2e2
jne 0x1001f2e4
jge 0x1001f2e6
jae 0x1001f2ea
mov esi, 0x45b876
add byte [eax], al
mov eax, 0x45
pop edi
pop esi
pop ebx
pop ebp
ret