joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c3e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47f71b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ad288]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x13]
lea ecx, [esi + 0x78]
push edx
call fcn.0043bec0
mov ecx, dword [0x4b1b1c]
xor edi, edi
mov dword [esp + 0x1c], edi
call fcn.004393f0
fldz
fst dword [esi + 0x40]
mov dword [esi], eax
fstp dword [esi + 0x3c]
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], 8
mov eax, dword [0x4b1b1c]
mov ecx, dword [eax + 0x100]
mov dword [esi + 4], ecx
mov edx, dword [0x4b1b1c]
mov eax, dword [edx + 0x104]
mov dword [esi + 8], eax
mov ecx, dword [0x4b1b1c]
mov edx, dword [ecx + 0x108]
mov dword [esi + 0xc], edx
mov eax, dword [0x4b1b1c]
mov ecx, dword [eax + 0x10c]
mov dword [esi + 0x10], ecx
mov edx, dword [0x4b1b1c]
mov eax, dword [edx + 0x110]
mov dword [esi + 0x14], eax
mov ecx, dword [0x4b1b1c]
mov edx, dword [ecx + 0x114]
mov dword [esi + 0x18], edx
mov eax, dword [0x4b1b1c]
mov ecx, dword [eax + 0x118]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x4b1b1c]
mov eax, dword [edx + 0xfc]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x58], 5
mov dword [esi + 0x5c], 0x10
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x44], 0xffffff
mov dword [esi + 0x48], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x446450
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x4ad288]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push esi
push str..crm
push eax
lea eax, [esp + 0xc]
push 0x481900
push eax
call fcn.004066b0
push 0
lea ecx, [esp + 0x18]
push 0x8000
push ecx
call fcn.0045298e
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
jne 0x4464b4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00450ada
add esp, 0x108
ret
mov edx, dword [0x4b2824]
push ebp
push edx
call fcn.004516a4
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4464e1
pop ebp
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00450ada
add esp, 0x108
ret
mov eax, dword [0x4b2824]
push ebx
push eax
push ebp
push esi
call fcn.00452f7d
push esi
mov dword [0x4b2824], eax
call fcn.004520b2
mov ebx, dword [0x4b3760]
add esp, 0x10
cmp ebx, 0xc
jl 0x446522
lea ecx, [ebx + ebx*8]
mov edx, dword [ecx*4 + 0x4b2464]
push edx
call fcn.00450c17
mov ebx, dword [0x4b3760]
add esp, 4
dec ebx
mov eax, ebx
test eax, eax
jle 0x446548
lea edx, [eax + eax*8]
lea edx, [edx*4 + 0x4b2468]
push edi
lea esi, [edx - 0x24]
mov edi, edx
dec eax
mov ecx, 9
sub edx, 0x24
rep movsd dword es:[edi], dword [esi]
test eax, eax
jg 0x446533
pop edi
lea eax, [eax + eax*8]
add eax, eax
add eax, eax
inc ebx
mov ecx, 0x4b2618
lea edx, [eax + 0x4b2468]
mov dword [0x4b3760], ebx
mov dword [eax + 0x4b2488], ebp
sub edx, ecx
pop ebx
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x446570
mov ecx, dword [esp + 0x10c]
mov eax, ebp
pop ebp
pop esi
xor ecx, esp
call fcn.00450ada
add esp, 0x108
ret
Function at 0x447cd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x13c
mov eax, dword [0x4ad288]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
mov ebx, dword [esp + 0x144]
mov dword [0x4a75ec], 0xffffffff
cmp byte [ebx], 0
jne 0x447d14
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00450ada
add esp, 0x13c
ret
push str..pck
push ebx
lea eax, [esp + 0x40]
push 0x481900
push eax
call fcn.004066b0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004532a4
add esp, 0x18
cmp eax, 0xffffffff
je 0x447cfb
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x148]
mov dword [esp + 4], eax
cdq
push ebp
push ecx
and edx, 3
add eax, edx
push 1
sar eax, 2
push eax
push 1
call fcn.004470d0
mov ebp, eax
add esp, 0x10
cmp ebp, 0xffffffff
jne 0x447d87
pop ebp
or eax, eax
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00450ada
add esp, 0x13c
ret
push edi
push 0
lea edx, [esp + 0x44]
push 0x8000
push edx
call fcn.0045298e
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x447dbd
pop edi
pop ebp
or eax, eax
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00450ada
add esp, 0x13c
ret
mov eax, dword [esp + 0xc]
push esi
mov esi, ebp
imul esi, esi, 0x6dc
mov ecx, dword [esi + 0x4b3780]
push eax
push ecx
push edi
call fcn.00452f7d
push edi
call fcn.004520b2
add esp, 0x10
lea edx, [esi + 0x4b37c0]
mov eax, ebx
sub edx, ebx
pop esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x447df0
cmp dword [esp + 0x154], 0
je 0x447e24
pop edi
mov dword [0x4a75ec], ebp
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00450ada
add esp, 0x13c
ret
mov ecx, dword [esp + 0x144]
pop edi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00450ada
add esp, 0x13c
ret
Function at 0x447e40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x4ad288]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [0x4a75e4]
push ebx
push esi
cmp eax, 0xffffffff
je 0x447ec0
push 0x4b2824
push eax
call fcn.00446e40
mov ecx, dword [0x4b1f0c]
push 1
push ecx
push eax
mov dword [0x4b2428], eax
mov dword [0x4b271c], 1
call fcn.004478a0
add esp, 0x14
xor ebx, ebx
mov dword [0x4a75e8], eax
cmp eax, 0xffffffff
je 0x44804a
mov edx, eax
imul edx, edx, 0x6dc
mov ecx, 0x4b1e08
lea esi, [edx + 0x4b37c0]
sub esi, ecx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x447eb1
jmp 0x44804a
mov eax, dword [0x4b2428]
xor ebx, ebx
cmp byte [0x4b2618], bl
je 0x447ef9
cmp eax, ebx
jne 0x447efd
mov eax, dword [0x4b2824]
push eax
push 0x4b2618
call fcn.00446450
add esp, 8
mov dword [0x4b2428], eax
cmp eax, ebx
je 0x447f4f
mov dword [0x4b271c], 1
cmp eax, ebx
je 0x447f4f
mov ecx, dword [0x4b1f0c]
push 1
push ecx
push eax
mov dword [0x4b271c], 1
call fcn.004478a0
add esp, 0xc
mov dword [0x4a75e8], eax
cmp eax, 0xffffffff
je 0x44804a
mov edx, eax
imul edx, edx, 0x6dc
mov ecx, 0x4b1e08
lea esi, [edx + 0x4b37c0]
sub esi, ecx
lea esp, [esp]
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x447f40
jmp 0x44804a
push str..crx
push 0x4b1e08
lea eax, [esp + 0x10]
push 0x481900
push eax
call fcn.004066b0
push ebx
lea ecx, [esp + 0x1c]
push 0x8000
push ecx
call fcn.0045298e
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x447fd0
mov ecx, dword [0x4b2824]
push ecx
push 0x4b1e08
call fcn.004470b0
add esp, 8
test eax, eax
je 0x447fb5
push ecx
push 0x4b1e08
call fcn.00446fa0
mov ecx, dword [0x4b2824]
add esp, 8
mov dword [0x4b2428], eax
jmp 0x447fba
mov eax, dword [0x4b2428]
cmp eax, ebx
jne 0x447fdf
push ecx
call fcn.004516a4
add esp, 4
mov dword [0x4b2428], eax
cmp eax, ebx
jne 0x447feb
mov dword [0x4a75e8], 0xffffffff
or eax, 0xffffffff
jmp 0x44804a
mov dword [0x4b271c], 1
jmp 0x447ff1
mov ecx, dword [0x4b2824]
push ecx
push eax
push esi
call fcn.00452f7d
push esi
mov dword [0x4b2824], eax
call fcn.004520b2
mov edx, dword [0x4b271c]
mov eax, dword [0x4b1f0c]
mov ecx, dword [0x4b2428]
push edx
push eax
push ecx
call fcn.004478a0
add esp, 0x1c
mov dword [0x4a75e8], eax
cmp eax, 0xffffffff
je 0x44804a
mov edx, eax
imul edx, edx, 0x6dc
mov ecx, 0x4b1e08
lea esi, [edx + 0x4b37c0]
sub esi, ecx
nop
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x448040
mov ecx, dword [esp + 0x10c]
pop esi
mov dword [0x4b375c], ebx
pop ebx
xor ecx, esp
call fcn.00450ada
add esp, 0x108
ret
Function at 0x448070
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x4ad288]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [0x4b2428]
push ebx
xor ebx, ebx
push esi
cmp byte [0x4b2618], bl
je 0x4480bf
cmp eax, ebx
jne 0x4480c3
mov eax, dword [0x4b2824]
push eax
push 0x4b2618
call fcn.00446450
add esp, 8
mov dword [0x4b2428], eax
cmp eax, ebx
je 0x448111
mov dword [0x4b271c], 1
cmp eax, ebx
je 0x448111
mov ecx, dword [0x4b1f0c]
push 1
push ecx
push eax
mov dword [0x4b271c], 1
call fcn.004478a0
add esp, 0xc
mov dword [0x4a75e8], eax
cmp eax, 0xffffffff
je 0x4481dc
mov edx, eax
imul edx, edx, 0x6dc
mov ecx, 0x4b1e08
lea esi, [edx + 0x4b37c0]
sub esi, ecx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x448102
jmp 0x4481dc
push str..crx
push 0x4b1e08
lea eax, [esp + 0x10]
push 0x481900
push eax
call fcn.004066b0
push ebx
lea ecx, [esp + 0x1c]
push 0x8000
push ecx
call fcn.0045298e
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x448165
mov eax, dword [0x4b2428]
cmp eax, ebx
jne 0x448174
mov edx, dword [0x4b2824]
push edx
call fcn.004516a4
add esp, 4
mov dword [0x4b2428], eax
cmp eax, ebx
jne 0x44817e
mov dword [0x4a75e8], 0xffffffff
or eax, 0xffffffff
jmp 0x4481dc
mov dword [0x4b271c], 1
mov ecx, dword [0x4b2824]
push ecx
push eax
push esi
call fcn.00452f7d
push esi
mov dword [0x4b2824], eax
call fcn.004520b2
mov edx, dword [0x4b271c]
mov eax, dword [0x4b1f0c]
mov ecx, dword [0x4b2428]
push edx
push eax
push ecx
call fcn.004478a0
add esp, 0x1c
mov dword [0x4a75e8], eax
cmp eax, 0xffffffff
je 0x4481dc
mov edx, eax
imul edx, edx, 0x6dc
mov ecx, 0x4b1e08
lea esi, [edx + 0x4b37c0]
sub esi, ecx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x4481d2
mov ecx, dword [esp + 0x10c]
pop esi
mov dword [0x4b375c], ebx
pop ebx
xor ecx, esp
call fcn.00450ada
add esp, 0x108
ret

Function at 0x448240
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0
mov dword [0x4b3764], 1
call dword [0x4811ac]
push 0
push 0
push 0x448200
mov dword [0x4b2820], eax
call fcn.00451f5d
add esp, 0xc
ret
Function at 0x449db0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4008
call fcn.00450af0
mov eax, dword [0x4ad288]
xor eax, esp
mov dword [esp + 0x4004], eax
push ebx
mov ebx, dword [esp + 0x401c]
push ebp
mov ebp, dword [esp + 0x4014]
push esi
push edi
mov edi, dword [esp + 0x4024]
lea eax, [esp + 0x15]
mov esi, 0x1000
lea ebx, [ebx]
mov cl, byte [ebp]
mov byte [eax], cl
inc ebp
add eax, 2
sub esi, 1
jne 0x449df0
lea esi, [esp + 0x14]
mov dword [esp + 0x10], 0x800
lea ebx, [ebx]
movzx ecx, byte [ebp + 0x800]
movzx eax, byte [ebp]
mov edx, ecx
sar edx, 4
xor dl, al
and dl, 0xf
xor dl, al
mov byte [esi], dl
and cl, 0xf
shl al, 4
add esi, 2
or cl, al
mov byte [esi], cl
add esi, 2
inc ebp
sub dword [esp + 0x10], 1
jne 0x449e10
mov ebp, dword [esp + 0x4020]
lea ecx, [esp + 0x14]
mov esi, 0x20
lea eax, [esi - 0x20]
cdq
and edx, 0xfff
add eax, edx
movzx edx, word [ecx]
movsx edx, word [edx*2 + 0x4c27a0]
sar eax, 0xc
mov eax, dword [ebp + eax*4]
imul edx, eax
mov dword [edi], edx
movzx edx, word [ecx + 2]
movsx edx, word [edx*2 + 0x4c27a0]
imul edx, eax
mov dword [ebx], edx
add ecx, 2
add ecx, 2
lea eax, [esi - 0x10]
cdq
and edx, 0xfff
add eax, edx
movzx edx, word [ecx]
movsx edx, word [edx*2 + 0x4c27a0]
sar eax, 0xc
mov eax, dword [ebp + eax*4]
imul edx, eax
mov dword [edi + 4], edx
movzx edx, word [ecx + 2]
movsx edx, word [edx*2 + 0x4c27a0]
imul edx, eax
add ecx, 2
mov dword [ebx + 4], edx
mov eax, esi
cdq
and edx, 0xfff
add eax, edx
movzx edx, word [ecx + 2]
movsx edx, word [edx*2 + 0x4c27a0]
add ecx, 2
sar eax, 0xc
mov eax, dword [ebp + eax*4]
imul edx, eax
mov dword [edi + 8], edx
movzx edx, word [ecx + 2]
movsx edx, word [edx*2 + 0x4c27a0]
add ecx, 2
imul edx, eax
mov dword [ebx + 8], edx
lea eax, [esi + 0x10]
cdq
and edx, 0xfff
add eax, edx
movzx edx, word [ecx + 2]
movsx edx, word [edx*2 + 0x4c27a0]
add ecx, 2
sar eax, 0xc
mov eax, dword [ebp + eax*4]
imul edx, eax
mov dword [edi + 0xc], edx
movzx edx, word [ecx + 2]
movsx edx, word [edx*2 + 0x4c27a0]
add ecx, 2
imul edx, eax
mov dword [ebx + 0xc], edx
add esi, 0x40
add ecx, 2
add edi, 0x10
add ebx, 0x10
cmp esi, 0x8020
jl 0x449e51
mov eax, 0x800
lea ebx, [ebx]
mov dword [edi], 0
mov dword [ebx], 0
add edi, 4
add ebx, 4
sub eax, 1
jne 0x449f60
mov ecx, dword [esp + 0x4014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00450ada
add esp, 0x4008
ret
Function at 0x44aaf0
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 0x10], 0
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov dword [ebp], 0
mov esi, 0x4ea7b0
jne 0x44ab0f
mov esi, 0x4ea7a4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [esi + 8], 0
test eax, eax
jne 0x44ab2b
push edi
call fcn.0044b120
add esp, 4
push eax
mov dword [esi + 4], eax
call fcn.004516a4
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x44ab4c
push edi
call fcn.004520b2
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
ret
mov ecx, dword [esi + 4]
push ecx
push eax
push edi
call fcn.00452f7d
add esp, 0xc
cmp eax, dword [esi + 4]
je 0x44ab76
mov edx, dword [esi]
push edx
call fcn.00450c17
push edi
call fcn.004520b2
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
ret
push edi
call fcn.004520b2
add esp, 4
mov dword [ebp], esi
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebp
ret

Function at 0x44af10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x104
mov eax, dword [0x4ad288]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, dword [esp + 0x10c]
call fcn.0044aed0
cmp dword [0x4ea7c0], 0
jne 0x44b006
lea eax, [esp + 4]
push eax
push esi
call fcn.00407040
push 0
lea ecx, [esp + 0x10]
push 0x8000
push ecx
call fcn.0045298e
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x44b006
push 4
push 0x4ea7c8
push esi
call fcn.00452f7d
mov edx, dword [0x4ea7c8]
shl edx, 6
push edx
call fcn.004516a4
add esp, 0x10
mov dword [0x4ea7c0], eax
test eax, eax
jne 0x44afb9
push esi
call fcn.004520b2
add esp, 4
mov dword [0x4ea7c8], 0
pop esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00450ada
add esp, 0x104
ret
mov ecx, dword [0x4ea7c8]
lea edx, [ecx*8]
push edx
push eax
push esi
call fcn.00452f7d
mov eax, dword [0x4ea7c8]
mov ecx, dword [0x4ea7c0]
shl eax, 6
push eax
push ecx
push esi
call fcn.00452f7d
push esi
call fcn.004520b2
mov edx, dword [0x4ea7c8]
mov eax, dword [0x4ea7c0]
push 0x44aec0
push 0x40
push edx
push eax
call fcn.00454a60
add esp, 0x2c
mov ecx, dword [esp + 0x104]
pop esi
xor ecx, esp
call fcn.00450ada
add esp, 0x104
ret
Function at 0x44b1e0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov dword [esi], 0x4ea8f8
mov eax, dword [0x4ea8f0]
test eax, eax
jne 0x44b232
push 0x4000
push eax
push 0x4ea8f8
call fcn.00450b20
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov eax, dword [0x4acd20]
add esp, 0xc
cmp eax, 0xffffffff
je 0x44b224
push eax
call fcn.004520b2
add esp, 4
mov dword [0x4acd20], 0xffffffff
xor eax, eax
pop esi
ret
mov ecx, dword [0x4ea8f4]
push ebx
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x44b272
cmp eax, 0x4000
jle 0x44b24d
mov eax, 0x4000
mov ecx, dword [0x4acd20]
push eax
push 0x4ea8f8
push ecx
call fcn.00452f7d
add esp, 0xc
sub dword [0x4ea8f0], eax
mov dword [ebx], eax
pop ebx
mov eax, 1
pop esi
ret
cmp ecx, 2
jne 0x44b2d1
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x2000
jle 0x44b288
mov eax, 0x2000
mov edx, dword [0x4acd20]
push eax
push 0x4ec8f8
push edx
call fcn.00452f7d
mov ecx, dword [0x4ee910]
mov edx, dword [esi]
push ecx
push 0x4ee8f8
push 0x4ec8f8
push eax
push edx
mov dword [esp + 0x2c], eax
call fcn.0044b160
mov eax, dword [esp + 0x2c]
add eax, eax
add esp, 0x20
sub dword [0x4ea8f0], eax
mov dword [ebx], eax
pop ebx
mov eax, 1
pop esi
ret
cmp ecx, 5
jne 0x44b310
mov eax, dword [ebx]
cmp eax, 0x4000
jg 0x44b2e3
test eax, eax
jne 0x44b2e8
mov eax, 0x4000
lea ecx, [esp + 0xc]
push ecx
push eax
push esi
push 0x4ee918
call fcn.0044aa70
mov eax, dword [esp + 0x1c]
add esp, 0x10
sub dword [0x4ea8f0], eax
mov dword [ebx], eax
pop ebx
mov eax, 1
pop esi
ret
mov eax, dword [0x4ee910]
test eax, eax
je 0x44b32d
push edi
lea esi, [eax + 0x4ea8f8]
mov ecx, 0x10
mov edi, 0x4ea8f8
rep movsd dword es:[edi], dword [esi]
pop edi
mov dword [esp + 0xc], 0
call fcn.0044a800
mov edx, dword [0x4acee8]
mov esi, eax
mov eax, dword [esp + 0xc]
push edx
lea ecx, [eax + 0x4ea8f8]
push ecx
call fcn.0044a4f0
mov eax, dword [esp + 0x14]
add eax, 0x1fc0
add esp, 8
mov dword [esp + 0xc], eax
test esi, esi
je 0x44b36e
cmp eax, 0x2000
jb 0x44b335
mov ecx, dword [0x4ea8f0]
mov dword [0x4ee910], eax
cmp eax, ecx
jbe 0x44b37f
mov eax, ecx
sub dword [0x4ea8f0], eax
mov dword [ebx], eax
pop ebx
mov eax, 1
pop esi
ret
Function at 0x47de40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x47dee0
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x47de92
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x49d210]
xor eax, edx
inc esi
cmp esi, edi
jl 0x47de73
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x47debb
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x49d210]
xor eax, edx
inc esi
cmp esi, edi
jl 0x47de9e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x401983
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x58ced85
jg 0x4019a9
inc edi
cmp edi, 0x1f6502b1
jl 0x40198f
cmp dword [0x285babc], 0x400
jne 0x4019e9
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
push esi
call fcn.00401de1
push esi
call fcn.00401f47
push esi
call fcn.00401f56
add esp, 0xc
xor edi, edi
cmp edi, 0xd036
jge 0x4019fa
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp edi, 0xd2ced2
jg 0x401a22
inc edi
cmp edi, 0x263ff
jl 0x4019eb
mov eax, dword [0x46dc14]
mov dword [0x285babc], eax
call fcn.004016e4
mov edi, 0x3078f
cmp dword [0x285babc], 0x51f
jne 0x401a4e
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x401a36
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10
Function at 0x404ecb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46da80]
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.004032a5
and dword [ebp - 0x14], 0
cmp dword [0x478780], 0
mov dword [ebp - 0x18], eax
jne 0x404f7e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405026
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405026
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x478780], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x478784], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x478788], eax
call edi
push eax
call esi
mov dword [0x478790], eax
test eax, eax
je 0x404f7e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47878c], eax
mov eax, dword [0x47878c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404fd7
cmp dword [0x478790], ecx
je 0x404fd7
push eax
call esi
push dword [0x478790]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404fd7
test ebx, ebx
je 0x404fd7
call edi
test eax, eax
je 0x404fce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x404fce
test byte [ebp - 8], 1
jne 0x404fd7
or dword [ebp + 0x10], 0x200000
jmp 0x40500a
mov eax, dword [0x478784]
cmp eax, dword [ebp - 0x18]
je 0x40500a
push eax
call esi
test eax, eax
je 0x40500a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40500a
mov eax, dword [0x478788]
cmp eax, dword [ebp - 0x18]
je 0x40500a
push eax
call esi
test eax, eax
je 0x40500a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x478780]
call esi
test eax, eax
je 0x405026
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405028
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405236
leave
ret

Function at 0x405236
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46da80]
jne 0x405240
repz ret
jmp fcn.00405fef
Function at 0x40a66d
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table

Disassembly:
push ebp
mov ebp, esp
mov esp, ebp
pop ebp
push ebp
mov ebp, esp
sub esp, 0x7c
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x20], edx
mov byte [ecx + eax], dl
mov edx, dword [ebp + 0xc]
add edx, 0xfffffffe
mov dword [ebp - 0x54], 0x3e000000
mov dword [ebp - 0x50], 0x3f000000
mov dword [ebp - 0x4c], 0x37363534
mov dword [ebp - 0x48], 0x3b3a3938
mov dword [ebp - 0x44], 0x3d3c
mov dword [ebp - 0x3c], 0x2010000
mov dword [ebp - 0x38], 0x6050403
mov dword [ebp - 0x34], 0xa090807
mov dword [ebp - 0x30], 0xe0d0c0b
mov dword [ebp - 0x2c], 0x1211100f
mov dword [ebp - 0x28], 0x16151413
mov dword [ebp - 0x24], 0x191817
mov dword [ebp - 0x1c], 0x1c1b1a00
mov dword [ebp - 0x18], 0x201f1e1d
mov dword [ebp - 0x14], 0x24232221
mov dword [ebp - 0x10], 0x28272625
mov dword [ebp - 0xc], 0x2c2b2a29
mov dword [ebp - 8], 0x302f2e2d
mov word [ebp - 4], 0x3231
mov byte [ebp - 2], 0x33
test edx, edx
jle 0x40a7a0
push esi
mov esi, dword [ebp + 8]
add esi, 2
dec edx
shr edx, 2
push edi
lea edi, [ecx + 2]
inc edx
movzx eax, byte [esi - 2]
mov cl, byte [ebp + eax - 0x7c]
movzx eax, byte [esi - 1]
shl cl, 2
mov al, byte [ebp + eax - 0x7c]
shr al, 4
or cl, al
mov byte [edi - 2], cl
movzx eax, byte [esi]
mov cl, byte [ebp + eax - 0x7c]
movzx eax, byte [esi - 1]
shr cl, 2
mov al, byte [ebp + eax - 0x7c]
shl al, 4
or cl, al
mov byte [edi - 1], cl
movzx eax, byte [esi]
lea esi, [esi + 4]
mov cl, byte [ebp + eax - 0x7c]
movzx eax, byte [esi - 3]
shl cl, 6
or cl, byte [ebp + eax - 0x7c]
mov byte [edi], cl
lea edi, [edi + 3]
sub edx, 1
jne 0x40a74a
pop edi
pop esi
xor eax, eax
leave
ret