joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5936f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5c79
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d48e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CDungeonMgr.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
push 0x1e0
lea ebx, [edi + 0x70]
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc4]
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x1e0
lea eax, [ebx + 0x2a4]
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x48e
xorps xmm0, xmm0
push 0
movq qword [ebx + 0x484], xmm0
push ebx
mov word [ebx + 0x48c], 0
call sub.MSVCR120.dll_memset
add esp, 0x24
mov dword [edi + 0x500], 0
lea ecx, [edi + 0x500]
mov dword [edi + 0x504], 0
call fcn.005950b0
mov dword [edi + 0x500], eax
add edi, 0x508
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ecx, dword [ebp - 0x10]
lea esi, [ecx + 0x52c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ebx, [ecx + 0x550]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
push 0x48e
lea eax, [ecx + 0x70]
mov byte [ebp - 4], 6
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0xc8
mov ecx, edi
call fcn.0053e9b0
push 0x14
mov ecx, esi
call fcn.0053e9b0
mov esi, dword [ebp - 0x10]
push 0x404
push 0
lea eax, [esi + 0x590]
mov dword [esi + 0x574], 0
push eax
mov dword [esi + 0x57c], 0
mov dword [esi + 0x578], 0xf
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [esi + 4]
push 0xc8
call fcn.0053e9b0
push 0x14
mov ecx, ebx
mov dword [esi + 0x580], 0
mov dword [esi + 0x584], 0
mov dword [esi + 0x588], 0
mov dword [esi + 0x58c], 0
call fcn.0053e9b0
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 0x598760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
sar eax, 2
and esi, 3
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], esi
lea edx, [eax*4]
mov dword [ecx + 0x50], edx
push edi
test eax, eax
je 0x59879f
xor edi, edi
xor edi, dword [ebx]
lea ebx, [ebx + 4]
dec eax
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x48], eax
jne 0x598791
test esi, esi
je 0x5987bc
mov edi, dword [ecx + 0x54]
mov eax, dword [ebp + 8]
movsx eax, byte [edx + eax]
inc edx
xor edi, eax
mov dword [ecx + 0x50], edx
dec esi
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x4c], esi
jne 0x5987a6
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4012b0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 8

Function at 0x40352f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406498
push 0x403500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
cdq
pop ebp
cld
push 2
call dword [0x50620c]
pop ecx
xchg ebx, eax
or eax, 0x4093a4
inc dword [ebx + 0x4093a80d]
add bh, bh
call dword [0x406a10]
mov ecx, dword [0x409374]
mov dword [eax], ecx
call dword [0x406215]
mov ecx, dword [0x409370]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dld__adjust_Fdiv]
mov eax, dword [edx]
mov dword [0x4093a0], eax
call 0x14036b5
cmp dword [0x428600], ebx
jne 0x4035b2
push 0x4036b2
call dword [0x440621c]
pop ecx
call fcn.004036a2
push 0x40801c
push 0x408018
call sub.MSVCRT.dld__initterm
mov eax, dword [0x8140936c]
mov dword [ebp - 0x6c], eax
pop dword [ebp - 0x6c]
push eax
push dword [0x409768]
lea eax, [ebp - 0x64]
push eax
popfd
inc ebp
nop
push eax
lea eax, [ebp - 0x60]
push eax
call dword [edi]
and al, 0x62
inc eax
add byte [eax + 0x14], ch
add byte [eax + 2], 0x68
add byte [eax - 0x5e17ffc0], al
and byte [eax], al
and byte [ebx + 0x28a124c4], al
bound eax, qword [eax]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
test byte [esi + 0x22], bh
jne 0x403645
inc esi
mov dword [ebp - 0x72], esi
mov al, byte [esi]
cmp al, bl
je 0x403619
cmp al, 0x32
jne 0x40360b
cmp byte [esi], 0x22
jne 0x403622
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x40362c
cmp al, 0x20
jbe 0x40361f
test eax, 0x458dd05d
movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x403650
movzx eax, word [ebp - 0x2c]
out dx, eax
push cs
cmp byte [esi], 0x20
jbe 0x403622
inc esi
mov dword [ebp - 0x74], esi
jmp 0x403645
push 0xb
pop eax
push eax
push esi
push ebx
push ebx
call dword [0x20407098]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dld_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call 0x2503694
pop ecx
pop ecx
ret

Function at 0x403cb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
popfd
inc esp
and al, 0
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str.Program_FilesInternet_Exploreriexplore.exe
push ecx
mov byte [esp + 0xa], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x108]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x80000001
rol esp, 4
add dword [eax], eax
add bl, al
nop
nop
nop
nop
nop
nop
sub esp, 0x8a4
push ebx
salc
mov esi, dword [esp - 0x77fff750]
push edi
mov ecx, 0x24
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push 0x83e8
call fcn.00403be0
mov esi, eax
push 0x64
add esi, 0
add al, 0
add al, ch
lodsb al, byte [esi]
invalid
Function at 0x409c17
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push edx
push ecx
mov esi, dword [ebp + 0xc]
sub eax, eax
test esi, esi
je 0x409cd8
call fcn.00401b86
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
not eax
test ecx, ecx
je 0x409cd6
test esi, 3
je 0x409c5a
xor al, byte [esi]
inc esi
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x409c43
mov edx, ecx
shr ecx, 3
je 0x409cbc
lea ebx, [ebx]
xor eax, dword [esi]
add esi, 4
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x409c67
mov ecx, edx
and ecx, 7
je 0x409cd6
lea esp, [esp]
xor al, byte [esi]
inc esi
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x409cc7
not eax
pop ecx
pop edx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40e1e2
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40e21d
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e204
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x40e215
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40e21f
inc edi
add eax, 0x28
cmp edi, esi
jb 0x40e1fa
xor eax, eax
pop edi
pop esi
ret
Function at 0x40e560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040e1b2
push eax
push esi
push dword [ebp + 8]
call fcn.0040e167
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x40e63d
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040e1b2
push eax
push esi
push dword [ebp + 8]
call fcn.0040e167
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040e1a2
push eax
cmp al, 0x80
fmul dword [eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
Function at 0x4147a9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c9d8]
jne 0x4147b3
repz ret
jmp fcn.0041af3a
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x60322574
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2de16e36
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10007470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x100a1e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0xfa34a0a4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
sub eax, 0x8df108c8
je 0x10007543
jmp 0x100074ac
mov eax, dword [ebp - 0x24]
sub eax, 0xb68e1a78
je 0x10007600
jmp 0x100074bf
mov eax, dword [ebp - 0x24]
sub eax, 0xebbed433
je 0x100075f4
jmp 0x100074d2
mov eax, dword [ebp - 0x24]
sub eax, 0xfa34a0a4
je 0x100074fd
jmp 0x100074e5
mov eax, dword [ebp - 0x24]
sub eax, 0x1232213e
je 0x10007612
jmp 0x100074f8
jmp 0x10007657
mov eax, dword [0x100a334c]
mov ecx, dword [0x100a3348]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x1232213e
mov ecx, 0x8df108c8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x10007657
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
mov edx, esp
mov dword [ebp - 0x14], ecx
mov dword [edx], eax
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [ebp - 0x14]
mov edi, dword [edx]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x82
sub byte [edi], 0x45
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x10007560
mov ecx, dword [0x100a334c]
mov eax, dword [0x100a3348]
mov edx, ecx
add edx, 0x7a4a3661
sub edx, 1
sub edx, 0x7a4a3661
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x1232213e
mov ecx, 0xebbed433
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x10007657
mov dword [ebp - 0x18], 0xb68e1a78
jmp 0x10007657
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100214c0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
mov edx, esp
mov dword [ebp - 0x14], ecx
mov dword [edx], eax
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [ebp - 0x14]
mov edi, dword [edx]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x82
sub byte [edi], 0x45
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x1000762f
mov dword [ebp - 0x18], 0x8df108c8
jmp 0x10007496
Function at 0x1000a2a0
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse pe header
Resume thread

Disassembly:
jmp 0x1000f624
push ebp
or ebp, 0xcf21a706
clc
mov ebp, esp
setnp al
ror eax, cl
push ebx
push edi
push esi
jmp 0x10014a25
xor eax, ebp
cmp ebp, eax
cmc
mov dword [ebp - 0x10], eax
not eax
bswap ax
adc eax, edi
mov dword [ebp - 0x288], 0xfde11eb1
rcl al, cl
rcr ah, 0xa7
adc eax, 0xa32b26a6
lea esp, [esp - 0x280]
cmc
inc eax
lahf
mov eax, dword [0x100a1e80]
cmc
clc
jmp 0x10012c6a

Function at 0x100264da
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10026519
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10026519
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10026519
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10026519
cmp dword [ecx + 0x74], 0xe
jbe 0x10026519
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10028ea4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10028f41
push ebx
push esi
call fcn.10028e6d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10028e01
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10028eee
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10028f40
push edi
push eax
call fcn.100277a2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10028f0e
call fcn.100277f0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10028f3f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10028e01
add esp, 0x20
test eax, eax
jne 0x10028f2d
push edi
call fcn.100277f0
jmp 0x10028f35
push ebx
call fcn.100277f0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100291ae
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100313a0
push 0x10031398
push str.FlsAlloc
push 0x1f
call fcn.100290ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100291e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002f150]
call esi
jmp 0x100291e8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002922c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100313b0
push 0x100313a8
push str.FlsGetValue
push 0x21
call fcn.100290ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10029263
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002f150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002926b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100313b8
push 0x100313b0
push str.FlsSetValue
push 0x22
call fcn.100290ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100292a5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002f150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002e7b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002e7dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002e7dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40563b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a020]
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.00402fd6
and dword [ebp - 0x14], 0
cmp dword [0x40b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x4056ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405796
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405796
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b7e0], eax
call edi
push eax
call esi
mov dword [0x40b7e8], eax
test eax, eax
je 0x4056ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b7e4], eax
mov eax, dword [0x40b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405747
cmp dword [0x40b7e8], ecx
je 0x405747
push eax
call esi
push dword [0x40b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405747
test ebx, ebx
je 0x405747
call edi
test eax, eax
je 0x40573e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40573e
test byte [ebp - 8], 1
jne 0x405747
or dword [ebp + 0x10], 0x200000
jmp 0x40577a
mov eax, dword [0x40b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40577a
push eax
call esi
test eax, eax
je 0x40577a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40577a
mov eax, dword [0x40b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40577a
push eax
call esi
test eax, eax
je 0x40577a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b7d8]
call esi
test eax, eax
je 0x405796
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405798
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040239a
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x46a5c6
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov eax, edx
mov esi, ecx
push edi
movzx edi, al
test al, al
je 0x46a631
push ebx
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx]
add ecx, 4
xor ebx, eax
mov dword [ebp + 8], ecx
mov ecx, eax
shl eax, 3
shr ecx, 3
xor ecx, eax
mov eax, ebx
add ecx, ebx
shr eax, 8
mov dword [ebp - 4], ecx
movzx edx, al
movzx ecx, bl
mov eax, dword [esi + ecx*8]
mov ecx, dword [esi + ecx*8 + 4]
mov dword [esi + edx*8], eax
mov eax, ebx
mov dword [esi + edx*8 + 4], ecx
shr eax, 0x10
movzx ecx, al
shr ebx, 0x18
mov eax, dword [esi + ecx*8]
mov ecx, dword [esi + ecx*8 + 4]
mov dword [esi + ebx*8], eax
mov eax, dword [ebp - 4]
mov dword [esi + ebx*8 + 4], ecx
sub edi, 1
jne 0x46a5da
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x46af20
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x471630
call fcn.0046b21c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x46af80
cmp eax, 0xffffffff
je 0x46af80
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x46af79
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x46af79
cmp edx, 0x10000000
jae 0x46af79
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x46af76
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x46b000
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x46b03e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x46b036
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x46b040
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x46b026
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x46b120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46b14f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46b14f
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret