joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442ebe
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46933f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4956a0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0043f7b5
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [esp + 0x10], cl
mov dword [esp + 0x1c], edi
mov byte [eax + 4], bl
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], cl
mov dword [esp + 0x50], ebx
cmp byte [esp + 0x18], bl
je 0x442f29
push dword [esp + 0x14]
mov byte [esp + 0x1c], bl
call fcn.004482f8
pop ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, 0x100001
lea eax, [esp + 0x34]
mov byte [esp + 0x50], 1
call fcn.0042c009
push edi
mov edi, dword [esp + 0x38]
dec esi
push esi
push 1
push edi
call fcn.00450a39
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, esi
jbe 0x442f7d
push 0xc8
lea esi, [esp + 0x20]
call fcn.00439e9d
push 0x486a04
mov eax, esi
push eax
call fcn.00451224
push dword [esp + 0x1c]
call fcn.004507c7
pop ecx
test eax, eax
je 0x442fa2
push 0x133
lea esi, [esp + 0x20]
call fcn.00439e9d
push 0x486a04
mov eax, esi
jmp 0x442f77
push dword [esp + 0x1c]
call fcn.0045079f
pop ecx
test eax, eax
jne 0x442fc7
push 0x13b
lea esi, [esp + 0x20]
call fcn.00439e9d
push 0x486a04
mov eax, esi
jmp 0x442f77
mov esi, dword [esp + 0x14]
mov ecx, esi
mov eax, edi
call fcn.00442e8a
lea eax, [edi + esi]
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp edi, eax
je 0x442ff5
sub eax, edi
push eax
push edi
mov ecx, esi
call fcn.00403800
cmp edi, ebx
je 0x443000
push edi
call fcn.0044957e
pop ecx
cmp byte [esp + 0x10], bl
je 0x443010
push dword [esp + 0x1c]
call fcn.004482f8
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44454a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, eax
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jl 0x4445ca
jg 0x444576
cmp esi, ecx
jbe 0x4445ca
cmp dword [ebp + 0x14], ecx
jg 0x444576
jl 0x444572
cmp esi, 0x7fffffff
jae 0x444576
mov eax, esi
jmp 0x44457b
mov eax, SysReAllocString
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 4], ecx
je 0x4445bb
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4445a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x4445c5
jmp 0x4445bb
mov eax, dword [ebp - 4]
test eax, eax
jle 0x4445b6
add ebx, eax
cdq
sub esi, eax
sbb dword [ebp + 0x14], edx
jmp 0x444556
cmp eax, 0xffffffff
jne 0x4445c5
call fcn.0044f968
cmp dword [eax], 4
je 0x444556
or eax, 0xffffffff
jmp 0x4445cc
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x449589
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4956a0]
jne 0x449593
repz ret
jmp fcn.00453a75

Function at 0x45c4a3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4956a0]
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.00455208
and dword [ebp - 0x14], 0
cmp dword [0x499c74], 0
mov dword [ebp - 0x18], eax
jne 0x45c556
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45c5fe
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x45c5fe
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x499c74], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x499c78], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x499c7c], eax
call edi
push eax
call esi
mov dword [0x499c84], eax
test eax, eax
je 0x45c556
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x499c80], eax
mov eax, dword [0x499c80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45c5af
cmp dword [0x499c84], ecx
je 0x45c5af
push eax
call esi
push dword [0x499c84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45c5af
test ebx, ebx
je 0x45c5af
call edi
test eax, eax
je 0x45c5a6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45c5a6
test byte [ebp - 8], 1
jne 0x45c5af
or dword [ebp + 0x10], 0x200000
jmp 0x45c5e2
mov eax, dword [0x499c78]
cmp eax, dword [ebp - 0x18]
je 0x45c5e2
push eax
call esi
test eax, eax
je 0x45c5e2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45c5e2
mov eax, dword [0x499c7c]
cmp eax, dword [ebp - 0x18]
je 0x45c5e2
push eax
call esi
test eax, eax
je 0x45c5e2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x499c74]
call esi
test eax, eax
je 0x45c5fe
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45c600
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449589
leave
ret
Function at 0x408c70
Capabilities:
Set socket configuration

Disassembly:
cmc
add al, 0x80
push ecx
invalid
push ebp
mov ebp, esp
push ebx
mov ebp, dword [ebx]
or edx, dword [esi - 0x3d]
jne 0x408c2d
push edi
mov edi, dword [ebp + 0x10]
mov ebx, esp
xchg edi, eax
invalid

Function at 0x40b629
Capabilities:
Encode data using xor

Disassembly:
adc al, 0xb5
inc esp
and al, 0x10
shr ebx, 1
rcr ecx, 1
sbb edx, ebp
iretd
les ecx, [edi + 0x75]
pop es
jecxz 0x40b5f2
neg eax
adc dword [eax + eax + 0x61195e5b], 0x10
add byte [ebp - 0x75], dl
in al, dx
push 0xffffffffffffffff
push 0x402f65
arpl word [eax - 0x47], cx
inc eax
add byte [ecx - 0x6e], ah
add byte [eax], al
add byte [edx + 0x64], ch
mov bh, 0x25
add byte [eax], al
add al, al
sub dword [eax - 0x10], 0x53
xchg edi, eax
push edi
mov dword [ebp - 0x18], ecx
and dword [ebp - 0x19], 0x7d
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x7a4054], 0xffffffff
or dword [0x413458], 0xfffffff7
call dword [0x40c03e]
mov ecx, dword [0x38340b98]
or dword [eax], ecx
call dword [0x4ac0d8]
mov ecx, dword [0x410b94]
mov dword [eax], ecx
mov eax, dword [0x40a9a5]
mov eax, dword [ecx - 0x5d]
push eax
inc eax
inc ecx
add al, ch
lahf
jns 0x40b6a7
add byte [ebx - 0x985afc3], al
add byte [ebp + esi*2 - 0x46bb97f4], dl
inc eax
add bh, bh
adc eax, 0x3340c0e0
pop ecx
sal byte [eax + 2], cl
add byte [eax], al
push 0x40d00c
push 0x40d008
call 0xb840b990
mov eax, dword [0x41c090]
xor eax, dword [ebp - 0x28]
and dword [ebp - 0x28], eax
push eax
push dword [0xb4410b8c]
lea eax, [ebp - 0x20]
push eax
invalid
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x438c9a
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop edx
dec eax
add edi, edi
mov eax, 0x6cfbc513
call fcn.00438cd7
sub edi, eax
xor dword [ebx], edx
or edi, edi
sub edi, 0x3e7953dc
sub esp, 4
mov dword [esp], edi
pop eax
inc ebx
mov eax, 0xcab25748
add edi, edi
mov edi, 0x38dc1372
cmp ebx, ecx
jne fcn.00438c9a
mov eax, eax
ret

Function at 0x40ed75
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x40eae0
add eax, eax
sub ecx, eax
call fcn.0040ed9d
xor dword [edx], ebx
and ecx, eax
inc edx
push ecx
mov eax, dword [esp]
add esp, 4
cmp edx, edi
jne fcn.0040ed75
sub ecx, 0xf9d32f2b
ret
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

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

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x463971fa
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x64be1791
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403770
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4037c8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x4037ca
not eax
xor esi, esi
nop
nop
nop
nop
movzx ebx, byte [ecx + esi]
mov edi, eax
shr edi, 4
xor eax, ebx
and eax, 0xf
xor edi, dword [eax*4 + 0x21f80c]
mov eax, edi
shr eax, 4
shr ebx, 4
mov ebp, ebx
and ebp, edi
and edi, 0xf
or edi, ebx
xor edi, ebp
xor eax, dword [edi*4 + 0x21f80c]
inc esi
cmp edx, esi
jne 0x403790
not eax
jmp 0x4037ca
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41bc20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x20], 0xbf14bd53
mov dword [esp + 0x24], 0x832d8133
mov dword [esp + 0x28], 0x8786852a
mov eax, 0xff5cd55c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xa32ac4]
xor ecx, eax
mov edx, ecx
not edx
and edx, 0xe5
and ecx, 0x1a
sub ecx, edx
add cl, 5
mov byte [esp + eax + 0xa32ac4], cl
inc eax
cmp eax, 0xff5cd568
jne 0x41bc60
mov dword [esp + 0x48], 0x61f47fd6
mov dword [esp + 0x4c], 0x65f463f6
mov dword [esp + 0x50], 0x698767bc
mov dword [esp + 0x54], 0x6dc06b85
mov dword [esp + 0x58], 0x51f36fc1
mov dword [esp + 0x5c], 0x55f853f3
mov dword [esp + 0x60], 0x59f757fe
mov dword [esp + 0x64], 0x5dc85bc9
mov dword [esp + 0x68], 0x41405f84
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xe
xor cl, byte [esp + eax + 0x48]
add cl, 0x90
mov byte [esp + eax + 0x48], cl
inc eax
cmp eax, 0x24
jne 0x41bce0
movzx ecx, word [esp + 0x48]
lea eax, [esp + 0x15c]
test cx, cx
je 0x41bd21
lea edx, [esp + 0x4a]
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41bd10
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0x41bd51
lea edx, [edi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41bd40
mov word [eax], 0
movzx ecx, word [esp + 0x20]
test cx, cx
je 0x41bd81
lea edx, [esp + 0x22]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41bd70
mov word [eax], 0
mov eax, dword [esi]
mov dword [esp + 4], eax
mov dword [esp + 0x48], 0x6f6c6c82
mov byte [esp + 0x4c], 0x8c
mov eax, 0xc8
mov ecx, 0xf6d85a37
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x80]
mov edi, eax
xor edi, ecx
and edi, edx
xor edi, ecx
mov edx, 0xbe
sub edx, edi
lea esi, [edi + 0x493d2e41]
or esi, 1
sub esi, edi
lea ebx, [esi - 0x493d2e41]
neg esi
and esi, 2
mov edi, ebx
and edi, 0xfd
imul edi, esi
mov esi, ebx
and esi, 2
or ebx, 2
imul ebx, esi
xor edx, 1
add edx, edi
add edx, ebx
mov byte [esp + eax - 0x80], dl
inc eax
dec ecx
cmp eax, 0xcd
jne 0x41bdb0
movzx eax, byte [esp + 0x48]
test al, al
je 0x41be2d
lea ecx, [esp + 0x49]
mov edi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x41be20
jmp 0x41be31
mov edi, dword [esp + 4]
mov byte [edi], 0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x38]
lea esi, [esp + 0x15c]
push eax
push ecx
push edx
push esi
call fcn.0040ba40
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x223794]
mov ecx, 0xae6ce794
xor ecx, dword [0x22379c]
add eax, ecx
inc eax
jmp eax
Function at 0x43d660
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push eax
mov dword [esp], 0x11102ffe
mov eax, esp
mov ecx, 0x21
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
lea esi, [ecx - 0x225a3100]
or esi, edx
and edx, ecx
lea edi, [esi + esi]
not edi
add edi, esi
or edi, edx
add edi, 0xed2e790f
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x1d
jne 0x43d680
mov eax, dword [esp]
mov eax, dword fs:[eax]
add esp, 4
pop esi
pop edi
ret

Function at 0x43df70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x43df90
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x43dfab
mov eax, 0xffffffff
jmp 0x43dfae
add eax, 0xa
push eax
call fcn.00408bf0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebx, word [edi]
test bx, bx
je 0x43dff1
add edi, 2
nop
nop
nop
mov word [edx], bx
add edx, 2
movzx ebx, word [edi]
add edi, 2
test bx, bx
jne 0x43dfe0
mov word [edx], 0
mov edx, 3
sub edx, esi
and edx, 2
mov edi, ecx
and edi, 0xfffd
imul edi, edx
and esi, 2
or ecx, 2
imul ecx, esi
lea edx, [ecx + edi]
mov word [esp + 8], dx
add ecx, edi
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0xc8c9cacb
mov ecx, 0x967dcd54
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x698232ac]
xor esi, ecx
mov edx, esi
and edx, 0x5f
add edx, edx
xor esi, 0xa0
sub edx, esi
mov byte [esp + ecx + 0x698232ac], dl
inc ecx
cmp ecx, 0x967dcd58
jne 0x43e070
mov esi, dword [esp]
mov ecx, dword [0x22965c]
test ecx, ecx
je 0x43e102
xor edx, edx
mov edi, dword [0x229660]
nop
nop
cmp dword [edi + edx*8], 0x5f7891a5
je 0x43e0c0
inc edx
cmp ecx, edx
jne 0x43e0b0
jmp 0x43e102
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x43e102
mov esi, esp
lea edx, [esp + 0x10]
push 0
push 0
push ebp
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x68]
push 0
push esi
push edx
push dword [esp + 0x68]
push dword [esp + 0x68]
push 0x2c
push ecx
push dword [0x229664]
mov edi, eax
call fcn.0043c080
add esp, 0x38
mov esi, eax
mov eax, edi
push eax
call fcn.00408c00
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43e120
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x43e140
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x43e15b
mov eax, 0xffffffff
jmp 0x43e15e
add eax, 0xa
push eax
call fcn.00408bf0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebp, word [ebx]
test bp, bp
je 0x43e1a1
add ebx, 2
nop
nop
nop
mov word [edx], bp
add edx, 2
movzx ebp, word [ebx]
add ebx, 2
test bp, bp
jne 0x43e190
mov word [edx], 0
mov edx, 3
sub edx, esi
and edx, 2
mov ebx, ecx
and ebx, 0xfffd
imul ebx, edx
and esi, 2
or ecx, 2
imul ecx, esi
lea edx, [ecx + ebx]
mov word [esp + 8], dx
add ecx, ebx
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0xc8c9cacb
mov ecx, 0x967dcd54
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x698232ac]
xor esi, ecx
mov edx, esi
and edx, 0x5f
add edx, edx
xor esi, 0xa0
sub edx, esi
mov byte [esp + ecx + 0x698232ac], dl
inc ecx
cmp ecx, 0x967dcd58
jne 0x43e220
mov esi, dword [esp]
mov ecx, dword [0x22965c]
test ecx, ecx
je 0x43e2a4
xor edx, edx
mov ebx, dword [0x229660]
nop
nop
cmp dword [ebx + edx*8], 0x75935cf9
je 0x43e270
inc edx
cmp ecx, edx
jne 0x43e260
jmp 0x43e2a4
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x43e2a4
mov edx, esp
lea esi, [esp + 0x10]
push edi
push dword [esp + 0x4c]
push edx
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 0x18
push ecx
push dword [0x229664]
mov edi, eax
call fcn.0043c080
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.00408c00
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43e2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x43e2e0
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x43e2fb
mov eax, 0xffffffff
jmp 0x43e2fe
add eax, 0xa
push eax
call fcn.00408bf0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx edi, word [ebx]
test di, di
je 0x43e341
add ebx, 2
nop
nop
nop
mov word [edx], di
add edx, 2
movzx edi, word [ebx]
add ebx, 2
test di, di
jne 0x43e330
mov word [edx], 0
mov edi, 3
sub edi, esi
and edi, 2
mov edx, ecx
and edx, 0xfffd
imul edx, edi
and esi, 2
or ecx, 2
imul ecx, esi
lea esi, [ecx + edx]
mov word [esp], si
add ecx, edx
add ecx, 2
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xc8c9cacb
mov ecx, 0x967dcd54
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x698232cc]
xor esi, ecx
mov edx, esi
and edx, 0x5f
add edx, edx
xor esi, 0xa0
sub edx, esi
mov byte [esp + ecx + 0x698232cc], dl
inc ecx
cmp ecx, 0x967dcd58
jne 0x43e3c0
mov esi, dword [esp + 0x20]
mov ecx, dword [0x22965c]
test ecx, ecx
je 0x43e439
xor edx, edx
mov edi, dword [0x229660]
nop
cmp dword [edi + edx*8], 0xcaa82e26
je 0x43e410
inc edx
cmp ecx, edx
jne 0x43e400
jmp 0x43e439
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x43e439
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 8
push ecx
push dword [0x229664]
mov edi, eax
call fcn.0043c080
add esp, 0x14
mov esi, eax
mov eax, edi
push eax
call fcn.00408c00
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43e44f
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret