joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c2ab
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x429f98
call fcn.004120da
mov ebx, ecx
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x34], ebx
je 0x40c39b
cmp byte [ebx + 0x49], 0
je 0x40c39b
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x40c2e3
xor al, al
jmp 0x40c39d
push 0
push 8
pop edi
lea esi, [ebp - 0x2c]
call fcn.00404f73
and dword [ebp - 4], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40c33a
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
push eax
push edx
push dword [ebp - 0x38]
call dword [esi + 0x18]
xor edi, edi
sub eax, edi
je 0x40c33f
dec eax
je 0x40c343
dec eax
dec eax
je 0x40c397
xor bl, bl
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402ec6
mov al, bl
jmp 0x40c39d
mov edx, dword [ebp - 0x2c]
jmp 0x40c308
mov byte [ebx + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40c34f
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x40c375
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40c362
lea eax, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push eax
call fcn.00410ad9
add esp, 0x10
cmp esi, eax
jne 0x40c329
cmp byte [ebx + 0x49], 0
je 0x40c397
cmp esi, edi
jne 0x40c2fa
push edi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.00402d75
mov ebx, dword [ebp - 0x34]
jmp 0x40c2fa
mov bl, 1
jmp 0x40c32b
mov al, 1
call fcn.0041215d
ret

Function at 0x40db3d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433774]
jne 0x40db47
repz ret
jmp fcn.0041499a

Function at 0x4107ad
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4107d4
call fcn.00413981
mov dword [eax], esi
call fcn.0041396e
push 0x16
pop esi
mov dword [eax], esi
call fcn.00415a2b
mov eax, esi
jmp 0x410829
test dword [ebp + 0xc], 0xfffffff9
jne 0x4107ba
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x410801
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00413994
pop ecx
call fcn.0041396e
mov eax, dword [eax]
jmp 0x410829
test al, 0x10
jne 0x410827
test al, 1
je 0x410827
test byte [ebp + 0xc], 2
je 0x410827
call fcn.00413981
mov dword [eax], 5
call fcn.0041396e
mov dword [eax], 0xd
jmp 0x4107f8
xor eax, eax
pop esi
pop ebp
ret
Function at 0x41eb4c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x433774]
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.00417a66
and dword [ebp - 0x14], 0
cmp dword [0x4357c4], 0
mov dword [ebp - 0x18], eax
jne 0x41ebff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41eca7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42e054
push ebx
call edi
test eax, eax
je 0x41eca7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4357c4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4357c8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4357cc], eax
call edi
push eax
call esi
mov dword [0x4357d4], eax
test eax, eax
je 0x41ebff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4357d0], eax
mov eax, dword [0x4357d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ec58
cmp dword [0x4357d4], ecx
je 0x41ec58
push eax
call esi
push dword [0x4357d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ec58
test ebx, ebx
je 0x41ec58
call edi
test eax, eax
je 0x41ec4f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ec4f
test byte [ebp - 8], 1
jne 0x41ec58
or dword [ebp + 0x10], 0x200000
jmp 0x41ec8b
mov eax, dword [0x4357c8]
cmp eax, dword [ebp - 0x18]
je 0x41ec8b
push eax
call esi
test eax, eax
je 0x41ec8b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ec8b
mov eax, dword [0x4357cc]
cmp eax, dword [ebp - 0x18]
je 0x41ec8b
push eax
call esi
test eax, eax
je 0x41ec8b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4357c4]
call esi
test eax, eax
je 0x41eca7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41eca9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040db3d
leave
ret

Function at 0x4223ad
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x4223ee
push ebx
movzx edx, byte [ecx]
dec eax
inc ecx
movzx ebx, byte [ecx]
shl ebx, 8
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
test eax, eax
jg 0x4223c7
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x42240c
dec esi
je 0x422403
dec esi
jne 0x422411
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x407b40
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x407b6d
push esi
push edi
jmp 0x407b50
movzx esi, byte [edx]
movzx esi, byte [esi + 0x4c2040]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x407b50
pop edi
pop esi
ret

Function at 0x407bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x407bf2
mov esi, 0x80
cmp esi, dword [edi]
jne 0x407bff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4de2b4]
test eax, eax
je 0x407c0a
call eax
lea ecx, [esi*8]
push ecx
call fcn.00403ea0
mov esi, eax
mov eax, dword [0x4de2b8]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x407c2a
call eax
test esi, esi
je 0x407bf6
mov edx, dword [edi + 0xc]
push edx
call fcn.00404170
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x4d7750]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.0049d4a0
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x407d0f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x407ca3
movzx edi, byte [esi]
movzx edi, byte [edi + 0x4c2040]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x407c82
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x407ceb
mov esi, dword [eax]
test esi, esi
je 0x407cc1
mov edx, dword [eax + 4]
jmp 0x407cc3
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x407ceb
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x407ce3
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x407d04
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x407d04
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x407cfa
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x407c76
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0xc], 0
je 0x407e55
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, esi
test esi, esi
jle 0x407e4f
push ebx
lea esp, [esp]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4c2040]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x407e30
mov edi, dword [ebp + 8]
pop ebx
xor edx, edx
div dword [edi]
jmp 0x407e57
xor edx, edx
mov eax, dword [ebp + 0xc]
push esi
push eax
mov eax, edi
call fcn.00407d20
add esp, 8
pop edi
test eax, eax
je 0x407e70
mov eax, dword [eax + 8]
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x407ec9
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x407ebe
nop
movzx esi, byte [ecx]
movzx esi, byte [esi + 0x4c2040]
lea ebx, [eax*8]
xor esi, ebx
dec edx
xor eax, esi
inc ecx
test edx, edx
jg 0x407ea0
mov ebx, dword [ebp + 0xc]
xor edx, edx
div dword [edi]
mov esi, edx
mov dword [ebp - 4], esi
jmp 0x407ed3
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
push ebx
push eax
mov edx, esi
mov eax, edi
call fcn.00407d20
add esp, 8
test eax, eax
je 0x407f16
mov ecx, dword [ebp + 0x10]
mov ebx, dword [eax + 8]
test ecx, ecx
jne 0x407f04
mov edx, esi
mov ecx, edi
call fcn.00407dc0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 0
je 0x407faa
push 0x14
call fcn.00403ea0
mov esi, eax
mov eax, dword [ebp + 0x10]
add esp, 4
test esi, esi
je 0x407fac
mov edx, dword [ebp + 8]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], eax
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, 0xa
jb 0x407f74
mov ecx, dword [edi]
add ecx, ecx
cmp eax, ecx
jbe 0x407f74
lea edx, [eax + eax]
push edx
push edi
call fcn.00407bd0
add esp, 8
test eax, eax
je 0x407f74
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00407b40
xor edx, edx
div dword [edi]
mov dword [ebp - 4], edx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x407f91
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx*8]
mov eax, esi
call fcn.00407b70
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 8]
mov dword [esi], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x407fa0
mov dword [eax + 4], esi
mov dword [esi + 4], 0
mov dword [edi + 8], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], 0
cmp ax, word [ebx + 0x5e]
jg 0x4155d6
lea edi, [ebx + 0x88]
mov dword [esp + 0x14], edi
lea ecx, [ecx]
mov eax, dword [edi]
test eax, eax
je 0x4155a6
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x415586
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov ebx, dword [edi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.0049f7f0
push edx
mov edx, dword [ebx + 0x48]
push eax
push edi
call edx
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x24]
add esp, 0x10
jmp 0x41558b
call fcn.0040bd50
cmp dword [esi + 0x78], 0
jne 0x4155a6
mov eax, dword [esi + 0xdc]
cmp dword [eax + 0xc], 0
jne 0x4155a6
push esi
call fcn.0040e5d0
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [edi], 0
movsx ecx, word [ebx + 0x5e]
inc eax
add edi, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
cmp eax, ecx
jle 0x415530
or edx, 0xffffffff
mov word [ebx + 0x5e], dx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
or eax, 0xffffffff
pop esi
mov word [ebx + 0x5e], ax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x4189f1
mov edi, esi
call fcn.00414f50
mov eax, dword [esi + 4]
mov edi, dword [eax + 8]
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0x4189ce
mov ecx, dword [edi + 0x50]
push ecx
call fcn.00404170
mov edx, dword [ebp + 0xc]
xor eax, eax
add esp, 4
mov dword [edi + 0x50], ebx
mov byte [edi + 0x5b], 4
mov dword [edi + 0x54], edx
mov dword [esp + 0xc], ebx
cmp ax, word [edi + 0x5e]
jg 0x4189bf
lea ebx, [edi + 0x88]
mov dword [esp + 0x10], ebx
mov eax, dword [ebx]
test eax, eax
je 0x418998
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x418910
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov ebx, dword [edi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.0049f7f0
push edx
mov edx, dword [ebx + 0x48]
push eax
push edi
call edx
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
add esp, 0x10
jmp 0x41897d
or edx, 0xffffffff
add word [eax + 0x1a], dx
jne 0x41897d
mov ecx, dword [eax + 0x1c]
add dword [ecx + 0xc], edx
test byte [eax + 0x18], 2
jne 0x41894f
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 0x1c], 0
je 0x41897d
cmp dword [eax + 0x14], 1
jne 0x41893b
mov dword [ecx + 0x2c], 0
mov eax, dword [eax]
mov ecx, dword [ecx + 0x28]
push 0
push eax
push ecx
call dword [0x4d77a8]
add esp, 0xc
jmp 0x41897d
call fcn.0040bb30
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
test edx, edx
je 0x418963
mov dword [edx + 0x24], eax
cmp dword [ecx + 4], 0
mov dword [ecx], eax
jne 0x41896e
mov dword [ecx + 4], eax
cmp dword [ecx + 8], 0
jne 0x41897d
test byte [eax + 0x18], 4
jne 0x41897d
mov dword [ecx + 8], eax
cmp dword [esi + 0x78], 0
jne 0x418998
mov edx, dword [esi + 0xdc]
cmp dword [edx + 0xc], 0
jne 0x418998
push esi
call fcn.0040e5d0
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [ebx], 0
movsx ecx, word [edi + 0x5e]
inc eax
add ebx, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
cmp eax, ecx
jle 0x4188b5
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [edi + 8]
mov dword [esp + 0x14], edi
cmp edi, ebx
jne 0x418882
cmp byte [esi + 9], 0
je 0x4189f1
dec dword [esi + 0xc]
jne 0x4189f1
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x38]
cmp eax, ebx
je 0x4189ed
push eax
call dword [0x4d777c]
add esp, 4
mov byte [esi + 0xa], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ab20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x43ab3e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x43ab54
cmp byte [edi], al
je 0x43ab47
inc ecx
cmp byte [ecx], al
jne 0x43ab42
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x43ac55
jmp 0x43ab73
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x43ab7b
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43abdb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x43abbd
jmp 0x43aba0
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x4c2040]
cmp dl, byte [eax + 0x4c2040]
jne 0x43abbd
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x43aba0
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x4c2040]
movzx ecx, byte [ecx + 0x4c2040]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x43ac45
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x43ac28
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x43ac1e
jmp 0x43ac00
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4c2040]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x43ac00
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x43ac2a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.00407d20
add esp, 8
test eax, eax
je 0x43ac5c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x43ac55
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x43ab70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x43ac45
Function at 0x43ad60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x43ad7d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x43ad95
cmp byte [eax], 0
je 0x43ad88
inc ecx
cmp byte [ecx], 0
jne 0x43ad82
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x43ae77
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x43adba
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x43ae0a
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x43adf2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4c2040]
cmp cl, byte [eax + 0x4c2040]
jne 0x43adef
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x43add2
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4c2040]
movzx edx, byte [edx + 0x4c2040]
sub edx, ecx
jne 0x43ae66
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x43ae44
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x43ae3e
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4c2040]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x43ae20
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x43ae46
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.00407d20
add esp, 8
test eax, eax
je 0x43ae7d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x43ae76
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x43adb0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x43ae63
Function at 0x43aef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
add eax, eax
mov ebx, dword [edx + eax*8 + 0xc]
add ebx, 0x18
push edi
mov dword [ebp - 8], ebx
mov eax, esi
test esi, esi
je 0x43af25
cmp byte [esi], 0
je 0x43af1e
inc eax
cmp byte [eax], 0
jne 0x43af18
sub eax, esi
and eax, 0x3fffffff
cmp dword [ebx], 0
mov dword [ebp - 4], eax
je 0x43af69
mov edx, eax
xor eax, eax
mov ecx, esi
cmp edx, eax
jle 0x43af5e
jmp 0x43af40
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4c2040]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x43af40
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov eax, dword [ebp - 4]
mov edi, edx
jmp 0x43af6b
xor edi, edi
push eax
push esi
mov edx, edi
mov eax, ebx
call fcn.00407d20
add esp, 8
test eax, eax
je 0x43afed
mov esi, dword [eax + 8]
mov edx, edi
mov ecx, ebx
call fcn.00407dc0
test esi, esi
je 0x43afed
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
cmp eax, esi
jne 0x43afb0
mov eax, dword [esi + 0x14]
mov edi, dword [ebp + 8]
mov dword [ecx + 8], eax
call fcn.0043ae90
or dword [edi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x43afda
mov ecx, dword [eax + 0x14]
cmp ecx, esi
je 0x43afd4
mov eax, ecx
test eax, eax
jne 0x43afb4
mov edi, dword [ebp + 8]
call fcn.0043ae90
or dword [edi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edi, dword [ebp + 8]
call fcn.0043ae90
or dword [edi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
or dword [eax + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
shl eax, 4
add eax, dword [ecx + 0x10]
mov ecx, edi
test edi, edi
je 0x43b56e
cmp byte [edi], 0
je 0x43b566
nop
inc ecx
cmp byte [ecx], 0
jne 0x43b560
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, dword [eax + 0xc]
add ebx, 8
cmp dword [ebx], 0
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
je 0x43b5b9
xor eax, eax
mov esi, ecx
mov edx, edi
cmp ecx, eax
jle 0x43b5ae
lea esp, [esp]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x4c2040]
lea ebx, [eax*8]
xor ecx, ebx
dec esi
xor eax, ecx
inc edx
test esi, esi
jg 0x43b590
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov ecx, dword [ebp - 4]
mov esi, edx
jmp 0x43b5bb
xor esi, esi
push ecx
push edi
mov edx, esi
mov eax, ebx
call fcn.00407d20
add esp, 8
test eax, eax
je 0x43b5db
mov edi, dword [eax + 8]
mov edx, esi
mov ecx, ebx
call fcn.00407dc0
jmp 0x43b5dd
xor edi, edi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0043b290
add esp, 8
or dword [esi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret