joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3c00
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c70
call fcn.004b79a0
push ebx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x4a3d8d
push 0
call fcn.004a3da0
test eax, eax
jne 0x4a3c31
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push dword [0x4e30f4]
mov ebx, eax
mov ecx, esi
push ebx
call fcn.004a3e40
mov edx, dword [0x4e72dc]
xor ecx, ecx
test eax, eax
cmovne edx, ecx
lea ecx, [esp + 0x10]
mov dword [0x4e72dc], edx
call fcn.004498e0
cmp byte [ebp + 8], 0
je 0x4a3c75
mov byte [esp + 0x183d], 0
test edx, edx
je 0x4a3c7d
mov byte [esp + 0x183d], 1
mov eax, dword [0x4e72d8]
mov dword [esp + 0x184c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x10]
push eax
push 0x4a3ed0
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1844]
test eax, eax
je 0x4a3d60
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0x4a2840
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4a3cf2
mov ecx, dword [esp + 0x1844]
call fcn.004a3520
mov dword [esp + 0x1844], esi
jmp 0x4a3cf9
mov esi, dword [esp + 0x1844]
mov ecx, esi
call fcn.004a1850
mov ecx, dword [esp + 0x1844]
call fcn.004a3520
mov eax, dword [0x4e30f4]
cmp dword [eax + 0x54], 0xffffffff
jle 0x4a3d8d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e72e4], eax
je 0x4a3d40
mov eax, dword [0x4e30f4]
push dword [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x4e30f4]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.004019f0
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4e72dc]
test eax, eax
je 0x4a3d8d
cmp eax, 1
mov dword [0x4e72dc], 0
setg al
test al, al
je 0x4a3d8d
mov ecx, ebx
call fcn.004a3520
push 0
mov ecx, esi
call fcn.004a3c00
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x404ec0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov bl, byte [edx]
push esi
mov esi, ecx
push edi
lea edi, [esi + 1]
mov dword [ebp - 4], esi
movzx eax, byte [esi + 0x1d]
lea ecx, [esi + 4]
movzx eax, byte [eax + 0x7c1678]
xor al, bl
xor byte [esi], al
movzx eax, byte [esi + 0x1e]
movzx eax, byte [eax + 0x7c1678]
xor byte [edi], al
sub edi, esi
movzx eax, byte [esi + 0x1f]
movzx eax, byte [eax + 0x7c1678]
xor byte [esi + 2], al
movzx eax, byte [esi + 0x1c]
movzx eax, byte [eax + 0x7c1678]
xor byte [esi + 3], al
mov al, bl
shr al, 7
add bl, bl
movzx eax, al
imul eax, eax, 0x1b
xor al, bl
lea ebx, [esi + 2]
mov byte [edx], al
sub ebx, esi
mov eax, 0xfffffffc
lea edx, [esi + 3]
sub edx, esi
mov dword [ebp - 8], edx
lea esi, [eax + 7]
movzx eax, byte [eax + ecx]
lea ecx, [ecx + 4]
xor byte [ecx - 4], al
mov eax, 0xfffffffd
movzx eax, byte [eax + ecx - 4]
xor byte [edi + ecx - 4], al
mov eax, 0xfffffffe
movzx eax, byte [eax + ecx - 4]
xor byte [ebx + ecx - 4], al
or eax, 0xffffffff
movzx eax, byte [eax + ecx - 4]
xor byte [edx + ecx - 4], al
mov eax, 0xfffffffc
sub esi, 1
jne 0x404f36
mov esi, dword [ebp - 4]
mov edx, 3
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax + 0x7c1678]
xor byte [esi + 0x10], al
movzx eax, byte [esi + 0xd]
movzx eax, byte [eax + 0x7c1678]
xor byte [esi + 0x11], al
movzx eax, byte [esi + 0xe]
movzx eax, byte [eax + 0x7c1678]
xor byte [esi + 0x12], al
movzx eax, byte [esi + 0xf]
movzx eax, byte [eax + 0x7c1678]
xor byte [esi + 0x13], al
lea eax, [esi + 0x14]
mov esi, dword [ebp - 8]
nop dword [eax + eax]
mov ecx, 0xfffffffc
lea eax, [eax + 4]
movzx ecx, byte [ecx + eax - 4]
xor byte [eax - 4], cl
mov ecx, 0xfffffffd
movzx ecx, byte [ecx + eax - 4]
xor byte [edi + eax - 4], cl
mov ecx, 0xfffffffe
movzx ecx, byte [ecx + eax - 4]
xor byte [ebx + eax - 4], cl
or ecx, 0xffffffff
movzx ecx, byte [ecx + eax - 4]
xor byte [esi + eax - 4], cl
sub edx, 1
jne 0x404fc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405010
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea esi, [ecx + 1]
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], esi
lea ebx, [ecx - 4]
sub dword [ebp - 8], ecx
lea esi, [ecx - 2]
sub esi, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], esi
lea eax, [ecx + 3]
lea esi, [ecx + 2]
mov dword [ebp - 0xc], 3
sub esi, ecx
lea edx, [ecx + 0x1c]
push edi
lea edi, [ecx - 3]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
lea esi, [ecx - 1]
sub dword [ebp - 4], ecx
sub esi, ecx
mov edi, dword [ebp - 8]
sub ebx, ecx
sub eax, ecx
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
nop dword [eax]
movzx eax, byte [ebx + edx]
lea edx, [edx - 4]
xor byte [edx + 4], al
movzx eax, byte [esi + edx + 4]
xor byte [edi + edx + 4], al
mov esi, dword [ebp - 0x14]
movzx eax, byte [ecx + edx + 4]
xor byte [esi + edx + 4], al
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
movzx eax, byte [eax + edx + 4]
xor byte [esi + edx + 4], al
sub dword [ebp - 0xc], 1
mov esi, dword [ebp - 4]
jne 0x405070
mov ecx, dword [ebp - 0x20]
mov bl, 0xc
movzx eax, byte [ecx + 0xc]
movzx eax, byte [eax + 0x7c1678]
xor byte [ecx + 0x10], al
movzx eax, byte [ecx + 0xd]
movzx eax, byte [eax + 0x7c1678]
xor byte [ecx + 0x11], al
movzx eax, byte [ecx + 0xe]
movzx eax, byte [eax + 0x7c1678]
xor byte [ecx + 0x12], al
movzx eax, byte [ecx + 0xf]
movzx eax, byte [eax + 0x7c1678]
xor byte [ecx + 0x13], al
movzx edx, bl
movzx eax, byte [ecx + edx - 4]
xor byte [edx + ecx], al
movzx eax, byte [ecx + edx - 3]
xor byte [ecx + edx + 1], al
movzx eax, byte [ecx + edx - 2]
xor byte [ecx + edx + 2], al
movzx eax, byte [ecx + edx - 1]
xor byte [ecx + edx + 3], al
add bl, 0xfc
jne 0x4050e4
mov ebx, dword [ebp - 0x24]
pop edi
pop esi
mov al, byte [ebx]
mov dl, al
and dl, 1
neg dl
sbb dl, dl
shr al, 1
and dl, 0x8d
xor dl, al
movzx eax, byte [ecx + 0x1d]
mov byte [ebx], dl
pop ebx
movzx eax, byte [eax + 0x7c1678]
xor al, dl
xor byte [ecx], al
movzx eax, byte [ecx + 0x1e]
movzx eax, byte [eax + 0x7c1678]
xor byte [ecx + 1], al
movzx eax, byte [ecx + 0x1f]
movzx eax, byte [eax + 0x7c1678]
xor byte [ecx + 2], al
movzx eax, byte [ecx + 0x1c]
movzx eax, byte [eax + 0x7c1678]
xor byte [ecx + 3], al
mov esp, ebp
pop ebp
ret
Function at 0x405170
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, edx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea eax, [ecx + 0x40]
mov dword [ebp - 0xc], ebx
mov edi, eax
lea esi, [ebx + 0x10]
sub eax, ebx
sub edi, ecx
add eax, 0x10
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov edi, ecx
mov eax, ecx
sub edi, ebx
sub eax, ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp - 0x10]
add eax, 0x10
mov dl, 0x10
mov dword [ebp - 8], eax
nop dword [eax]
lea esi, [esi - 1]
lea eax, [edi + esi]
mov cl, byte [eax + ebx]
mov byte [eax], cl
xor byte [esi], cl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov al, byte [eax + esi]
mov byte [ecx + esi], al
add dl, 0xff
jne 0x4051b0
mov ebx, dword [ebp - 0xc]
mov dl, 0x10
mov cl, byte [ebx + 1]
lea edi, [ebx + 0x10]
movzx eax, byte [ebx + 0xd]
mov byte [ebx + 1], al
movzx eax, byte [ebx + 9]
mov byte [ebx + 0xd], al
movzx eax, byte [ebx + 5]
mov byte [ebx + 9], al
movzx eax, byte [ebx + 0xa]
mov byte [ebx + 5], cl
mov cl, byte [ebx + 2]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 7]
mov byte [ebx + 0xa], cl
mov cl, byte [ebx + 3]
mov byte [ebx + 3], al
movzx eax, byte [ebx + 0xb]
mov byte [ebx + 7], al
movzx eax, byte [ebx + 0xf]
mov byte [ebx + 0xf], cl
mov cl, byte [ebx + 6]
mov byte [ebx + 0xb], al
movzx eax, byte [ebx + 0xe]
mov byte [ebx + 0xe], cl
mov ecx, edi
mov byte [ebx + 6], al
nop dword [eax + eax]
movzx eax, byte [ecx - 1]
lea ecx, [ecx - 1]
mov al, byte [eax + 0x7c1578]
mov byte [ecx], al
add dl, 0xff
jne 0x405230
mov esi, dword [ebp - 0x18]
mov al, 0xd
mov byte [ebp - 2], 0x80
mov byte [ebp - 1], al
test al, 1
je 0x405279
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 2]
call fcn.00405010
mov ebx, dword [ebp - 8]
mov dl, 0x10
mov ecx, edi
mov al, byte [ecx + ebx - 1]
lea ecx, [ecx - 1]
xor byte [ecx], al
add dl, 0xff
jne 0x405266
mov ebx, dword [ebp - 0xc]
jmp 0x40528e
mov dl, 0x10
mov eax, edi
nop dword [eax]
mov cl, byte [eax + esi - 1]
lea eax, [eax - 1]
xor byte [eax], cl
add dl, 0xff
jne 0x405280
mov ecx, ebx
call fcn.00404d80
mov cl, byte [ebx + 1]
mov dl, 0x10
movzx eax, byte [ebx + 0xd]
mov byte [ebx + 1], al
movzx eax, byte [ebx + 9]
mov byte [ebx + 0xd], al
movzx eax, byte [ebx + 5]
mov byte [ebx + 9], al
movzx eax, byte [ebx + 0xa]
mov byte [ebx + 5], cl
mov cl, byte [ebx + 2]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 7]
mov byte [ebx + 0xa], cl
mov cl, byte [ebx + 3]
mov byte [ebx + 3], al
movzx eax, byte [ebx + 0xb]
mov byte [ebx + 7], al
movzx eax, byte [ebx + 0xf]
mov byte [ebx + 0xf], cl
mov cl, byte [ebx + 6]
mov byte [ebx + 0xb], al
movzx eax, byte [ebx + 0xe]
mov byte [ebx + 0xe], cl
mov ecx, edi
mov byte [ebx + 6], al
nop dword [eax]
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [eax + 0x7c1578]
mov byte [ecx], al
add dl, 0xff
jne 0x4052f0
mov al, byte [ebp - 1]
add al, 0xff
mov byte [ebp - 1], al
jne 0x405250
mov cl, 0x10
mov al, byte [esi + edi - 1]
lea edi, [edi - 1]
xor byte [edi], al
add cl, 0xff
jne 0x405312
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406a40
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7205b9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x96c07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004dffc5
mov ecx, eax
test ecx, ecx
jne 0x406a80
push 0x80004005
call fcn.004045b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.004dffc5
mov ecx, eax
test ecx, ecx
jne 0x406aa6
push 0x80004005
call fcn.004045b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 1
call fcn.004dffc5
mov ecx, eax
test ecx, ecx
jne 0x406aca
push 0x80004005
call fcn.004045b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 2
call fcn.004dffc5
mov ecx, eax
test ecx, ecx
jne 0x406aee
push 0x80004005
call fcn.004045b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 3
mov ecx, 0x7dfdcc
mov dword [esi + 4], 5
call fcn.00405550
push eax
lea ecx, [esi + 8]
call fcn.004078b0
mov ecx, 0x7dfdf8
mov dword [esi + 0x14], 1
call fcn.00405550
push eax
mov ecx, esi
call fcn.004078b0
lea ecx, [esi + 0x18]
call fcn.004042a0
mov dword [esi + 0xc], 3
mov eax, esi
mov dword [esi + 0x14], 2
mov byte [esi + 0x2c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov byte [esi + 0x50], 0
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 0x410650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x720a69
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x96c07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], 0
mov dword [esi + 4], 0
push 0xa
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
call fcn.004ed61e
mov dword [esi + 0x2c], 0x91d7e8
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xa
mov dword [esi + 0x48], 0x91d7e8
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xa
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00469690
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x416cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x721200
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x96c07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov edi, dword [ecx]
test edi, edi
je 0x416d77
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416d30
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x416d77
lea ebx, [ecx + ecx]
mov eax, ebx
call fcn.006241d0
mov esi, esp
test esi, esi
je 0x416d77
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [0x738540]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x416d79
xor esi, esi
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00415dd0
test al, al
je 0x416e24
mov esi, dword [ebp + 8]
test esi, esi
jne 0x416dba
xor eax, eax
jmp 0x416df3
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416dc0
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x416dde
xor eax, eax
jmp 0x416df3
add edi, edi
mov eax, edi
call fcn.006241d0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.004077a0
push 0x91e30c
push eax
call fcn.0062fa74
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov esi, eax
cmovae ecx, dword [ebp - 0x40]
push esi
push dword [ebp - 0x30]
push 1
push ecx
call fcn.0063a494
push esi
call fcn.006307a5
add esp, 0x1c
mov bl, 1
jmp 0x416e26
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.00416b80
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x416e50
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
lea esp, [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00623060
mov esp, ebp
pop ebp
ret
Function at 0x42c400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x722aa3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x96c07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004e1bac
mov dword [ebp - 4], 0
mov dword [esi], 0x7399cc
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0x7396b4
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x20]
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebx], 0
mov ecx, edi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], 0
cmp dword [edi + 0xc], eax
push ebx
sete al
mov dword [esi + 0x30], eax
mov eax, dword [edi]
call dword [eax + 0x50]
cmp dword [esi + 0x30], 0
je 0x42c4fe
push dword [edi + 4]
call dword [0x738238]
push eax
mov ecx, esi
call fcn.004e2468
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push ecx
push eax
push dword [edi + 4]
call dword [0x738234]
push eax
lea ecx, [esi + 0x10]
call fcn.004e24a9
lea eax, [esi + 0x10]
test eax, eax
je 0x42c4cf
mov eax, dword [eax + 4]
push eax
push dword [esi + 4]
call fcn.004e2b5e
mov dword [esi + 0x18], eax
push dword [edi + 8]
call dword [0x73820c]
push eax
mov ecx, esi
call fcn.004e2ced
push dword [esi + 0x24]
lea eax, [ebp - 0x18]
mov ecx, esi
push dword [ebx]
push eax
call fcn.004e2ec6
jmp 0x42c510
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
push 0xffffff
push ebx
mov ecx, esi
call fcn.004ed495
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 8
Function at 0x435490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x723328
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x96c07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4355be
cmp byte [ebx + 0x3d], 0
je 0x4355be
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4354e9
xor al, al
jmp 0x4355c0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00417a50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x43554f
sub eax, 1
je 0x435553
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x4355a6
xor bl, bl
jmp 0x4355a8
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x435588
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0063a494
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x43554b
cmp byte [ebx + 0x3d], 0
je 0x4355a6
test esi, esi
jne 0x435511
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00418040
jmp 0x43550e
mov bl, 1
cmp ecx, 0x10
jb 0x4355ba
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004102e0
mov al, bl
jmp 0x4355c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00623060
mov esp, ebp
pop ebp
ret
Function at 0x4396b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [edx + 0x1c]
mov ebx, 0xc6ef3720
mov edi, dword [edx + 0x18]
sub eax, edi
sar eax, 2
mov dword [ebp - 0x18], edx
cmp eax, ecx
jbe 0x439796
mov esi, dword [edx + 0x18]
lea eax, [ecx*4]
mov edi, dword [eax + edi]
inc ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x1c]
sub eax, esi
mov dword [ebp - 0x20], ecx
sar eax, 2
cmp eax, ecx
jbe 0x4397a0
mov esi, dword [esi + ecx*4]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 8], ecx
mov ecx, dword [edx + 4]
mov edx, 0x20
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov ecx, edi
shr ecx, 5
add ecx, eax
mov eax, edi
shl eax, 4
add eax, dword [ebp - 4]
xor ecx, eax
lea eax, [edi + ebx]
xor ecx, eax
sub esi, ecx
mov ecx, esi
mov eax, esi
shr ecx, 5
add ecx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [esi + ebx]
sub ebx, dword [ebp - 0x10]
xor ecx, eax
mov eax, dword [ebp - 0x14]
sub edi, ecx
sub edx, 1
jne 0x439723
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x18]
sub eax, ecx
sar eax, 2
cmp eax, dword [ebp + 8]
jbe 0x4397aa
mov eax, dword [ebp - 0x1c]
mov dword [ecx + eax], edi
mov eax, dword [edx + 0x1c]
mov edi, dword [edx + 0x18]
sub eax, edi
mov ecx, dword [ebp - 0x20]
sar eax, 2
cmp eax, ecx
jbe 0x4397b4
mov dword [edi + ecx*4], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x92faf0
call fcn.00624a60
push 0x92faf0
call fcn.00624a60
push 0x92faf0
call fcn.00624a60
push 0x92faf0
call fcn.00624a60
int3
Function at 0x4397c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push ebx
mov ebx, dword [edx + 0x18]
sub eax, ebx
push esi
mov esi, dword [edx + 4]
sar eax, 2
shl esi, 5
push edi
cmp eax, ecx
jbe 0x43988d
mov edi, dword [edx + 0x18]
lea eax, [ecx*4]
mov ebx, dword [eax + ebx]
inc ecx
mov dword [ebp - 8], eax
mov eax, dword [edx + 0x1c]
sub eax, edi
sar eax, 2
cmp eax, ecx
jbe 0x439897
mov edi, dword [edi + ecx*4]
mov dword [ebp - 4], 0x20
mov ecx, ebx
mov eax, ebx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
shr eax, 0xb
add ecx, ebx
and eax, 3
mov eax, dword [edx + eax*4 + 8]
add eax, esi
sub esi, dword [edx + 4]
xor ecx, eax
sub edi, ecx
mov ecx, edi
mov eax, edi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
and eax, 3
add ecx, edi
mov eax, dword [edx + eax*4 + 8]
add eax, esi
xor ecx, eax
sub ebx, ecx
sub dword [ebp - 4], 1
jne 0x439812
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x18]
sub eax, ecx
sar eax, 2
cmp eax, dword [ebp + 8]
jbe 0x4398a1
mov eax, dword [ebp - 8]
mov dword [ecx + eax], ebx
mov eax, dword [edx + 0x1c]
mov esi, dword [edx + 0x18]
sub eax, esi
mov ecx, dword [ebp + 8]
sar eax, 2
inc ecx
cmp eax, ecx
jbe 0x4398ab
mov dword [esi + ecx*4], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x92faf0
call fcn.00624a60
push 0x92faf0
call fcn.00624a60
push 0x92faf0
call fcn.00624a60
push 0x92faf0
call fcn.00624a60
int3