joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414634
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 4
mov eax, 0x46cd9a
call fcn.0045c81f
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4146ec
push dword [ebp + 8]
call fcn.00458433
pop ecx
test eax, eax
je 0x4146ec
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
push 0x47e484
push 1
push esi
push 0x47e554
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jge 0x414694
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x414690
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x4146f1
push dword [ebp + 8]
mov edi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.0040f925
mov byte [ebp - 4], 1
mov eax, dword [eax]
cmp eax, esi
je 0x4146b0
mov eax, dword [eax]
jmp 0x4146b2
xor eax, eax
mov ecx, dword [edi]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push edi
call dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov edi, eax
cmp ecx, esi
je 0x4146d1
call fcn.0040b408
mov dword [ebp + 8], esi
cmp edi, esi
jl 0x41467f
mov eax, dword [ebx]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
jmp 0x41467f
mov eax, 0x80070057
call fcn.0045c8f7
ret
Function at 0x415d5a
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x12004]
mov eax, 0x12004
call fcn.0045c550
push 0xffffffffffffffff
push 0x46cce2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x492fb4]
xor eax, ebp
mov dword [ebp + 0x12000], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi + 8]
xor ecx, ecx
cmp eax, ecx
je 0x415f07
mov esi, dword [edi]
cmp dword [esi], ecx
je 0x415f07
cmp eax, 1
je 0x415ecc
add eax, 0xfffffffe
cmp eax, 1
ja 0x415f07
xor eax, eax
mov ebx, 0x1ffe
push ebx
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00458bb0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp]
push ecx
xor ebx, ebx
push ebx
push ebx
push eax
push dword [esi]
call fcn.0044c540
add esp, 0x24
cmp eax, ebx
jne 0x415f07
lea eax, [edi + 0x10]
push eax
call fcn.00408efb
cmp dword [edi + 8], 3
jne 0x415eb9
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401be2
push 0x25
lea esi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00403dac
cmp eax, 0xffffffff
je 0x415e33
cmp eax, 2
jge 0x415e35
xor eax, eax
cmp eax, ebx
je 0x415eaa
lea ecx, [ebp - 0x14]
push ecx
inc eax
xor edx, edx
lea ecx, [ebp - 0x10]
call fcn.0040409e
xor eax, eax
mov byte [ebp - 4], 1
push 0xfffc
mov word [ebp + 0x2000], ax
lea eax, [ebp + 0x2002]
push ebx
push eax
call fcn.00458bb0
mov ebx, dword [ebp - 0x14]
add esp, 0xc
push 0x7fff
lea eax, [ebp + 0x2000]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x415ea0
lea eax, [ebp + 0x2000]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00401c6d
push dword [ebp - 0x10]
lea esi, [edi + 0x10]
call fcn.00408ec3
lea ecx, [ebx - 0x10]
call fcn.0040267a
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040267a
lea esi, [edi + 0x10]
cmp word [esi], bx
jne 0x415f07
lea eax, [ebp]
push eax
call fcn.00408ec3
jmp 0x415f07
mov eax, dword [edi + 4]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
push ecx
push ecx
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 4
push dword [esi]
call fcn.0044c540
add esp, 0x18
test eax, eax
jne 0x415f07
lea esi, [edi + 0x10]
push esi
call fcn.00408efb
push 3
pop eax
mov word [esi], ax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
lea eax, [edi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x12000]
xor ecx, ebp
call fcn.00458424
add ebp, 0x12004
leave
ret
Function at 0x430113
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x430127
mov eax, 0x80040007
jmp 0x4301a9
mov eax, dword [esi]
call dword [eax + 8]
test al, al
jne 0x430134
xor eax, eax
jmp 0x4301a9
mov eax, dword [esi + 0x48]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x430148
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x48], ebx
push ebx
push 4
push esi
push dword [esi + 0x54]
push ebx
push ebx
call fcn.0046a1b7
add esp, 0x18
mov dword [esi + 0x48], eax
cmp eax, 0xffffffff
je 0x4301a3
cmp eax, ebx
je 0x4301a3
mov byte [esi + 0x50], bl
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 0xc]
dec eax
je 0x430189
dec eax
je 0x430182
mov eax, 0x4000
jmp 0x43018c
mov eax, 0x8000
jmp 0x43018c
push 0x20
pop eax
push eax
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x4301a8
mov eax, 0x8007000e
pop ebx
pop esi
ret 4

Function at 0x4303cd
Capabilities:
Get disk information

Disassembly:
push 0xf4
mov eax, 0x46e931
call fcn.0045c8be
mov dword [ebp - 0xf8], ecx
call fcn.0041d3f4
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0xd0
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0xee]
push ebx
push eax
call fcn.00458bb0
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x68
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4304d6
lea esi, [ebp - 0xf0]
xor edi, edi
cmp edi, 0x69
jge 0x4304d6
cmp esi, ebx
je 0x4304d6
push esi
lea ecx, [ebp - 0xf4]
call fcn.00401be2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4304ce
push 2
pop eax
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0xf4]
call fcn.00403e94
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.00402007
mov ecx, dword [ebp - 0xfc]
add ecx, 0xfffffff0
call fcn.0040267a
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.00403f00
mov dword [ebp - 4], 1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xf4]
add ecx, 0xfffffff0
add esi, 8
call fcn.0040267a
add edi, 4
jmp 0x430429
add ecx, 0xfffffff0
call fcn.0040267a
mov eax, dword [ebp - 0xf8]
call fcn.0045c91a
ret

Function at 0x438cc6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
mov byte [eax + ecx], al
inc eax
cmp eax, 0x100
jl 0x438ccc
push ebx
push esi
push edi
xor esi, esi
mov byte [ecx + 0x100], 0
mov byte [ecx + 0x101], 0
xor edi, edi
mov eax, esi
cdq
idiv dword [esp + 0x18]
movzx ebx, byte [esi + ecx]
mov eax, dword [esp + 0x14]
movzx eax, byte [edx + eax]
add eax, ebx
add eax, edi
and eax, 0xff
mov edi, eax
mov al, byte [edi + ecx]
mov byte [esi + ecx], al
inc esi
cmp esi, 0x100
mov byte [edi + ecx], bl
jl 0x438cec
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x438d22
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0
movzx edx, byte [eax + 0x100]
push ebx
movzx ebx, byte [eax + 0x101]
jle 0x438d8a
push esi
push edi
mov esi, 0xff
inc edx
and edx, esi
movzx ecx, byte [edx + eax]
lea edi, [ecx + ebx]
and edi, esi
mov dword [ebp - 4], edi
add edi, eax
mov bl, byte [edi]
mov byte [edx + eax], bl
mov ebx, dword [ebp + 8]
mov byte [edi], cl
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0xc]
add edi, ebx
movzx ebx, byte [edx + eax]
add ebx, ecx
and ebx, esi
mov cl, byte [ebx + eax]
xor byte [edi], cl
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 4]
jl 0x438d4a
pop edi
pop esi
mov byte [eax + 0x101], bl
mov byte [eax + 0x100], dl
pop ebx
leave
ret

Function at 0x439120
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x492fb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
xor edx, edx
xor ecx, ecx
movsx edi, byte [ecx + 0x491360]
dec edi
cmp edi, edx
je 0x439150
inc ecx
cmp ecx, 0x20
jl 0x43913c
jmp 0x439154
mov byte [ebp + edx - 0x24], cl
inc edx
cmp edx, 0x20
jl 0x43913a
xor edi, edi
lea ecx, [ebp - 0x24]
shl eax, 0xb
mov dword [ebp - 0x28], ecx
lea eax, [eax + esi + 0x180]
xor edx, edx
mov dword [ebp - 0x30], eax
mov eax, edx
sar eax, 1
mov ecx, edx
and ecx, 1
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, edx
xor esi, esi
and ecx, 0x20
or eax, ecx
movsx eax, byte [edi + eax + 0x491160]
mov dword [ebp - 0x2c], esi
push 8
pop ebx
mov ecx, esi
sar ebx, cl
test eax, ebx
je 0x4391b5
mov ecx, dword [ebp - 0x28]
movsx ebx, byte [ecx + esi]
push 0x1f
pop ecx
sub ecx, ebx
xor ebx, ebx
inc ebx
shl ebx, cl
or dword [ebp - 0x2c], ebx
inc esi
cmp esi, 4
jl 0x439196
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
inc edx
add eax, 4
cmp edx, 0x40
mov dword [ebp - 0x30], eax
jl 0x439171
add dword [ebp - 0x28], 4
add edi, 0x40
cmp edi, 0x200
jl 0x43916c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458424
leave
ret
Function at 0x43a320
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x420
xor ebx, ebx
push ebx
push esi
call fcn.00458bb0
add esp, 0xc
push 0xd
pop eax
cmp dword [ebp + 0x10], eax
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x418], ebx
mov dword [esi + 0x414], ebx
mov dword [esi + 0x410], ebx
jle 0x43a360
mov dword [ebp + 0x10], eax
push dword [ebp + 0x10]
lea edi, [esi + 0x400]
push dword [ebp + 0xc]
push edi
call fcn.0045bdf0
add esp, 0xc
mov dword [ebp + 8], 0x7b
xor eax, eax
movsx ecx, byte [edi + eax]
imul ecx, dword [ebp + 8]
add ecx, eax
inc eax
cmp eax, 0xd
mov dword [ebp + 8], ecx
jl 0x43a37e
lea edx, [esi + 0x300]
mov edi, esi
xor eax, eax
sub edi, edx
lea ecx, [edx + eax]
mov byte [edi + ecx], al
mov byte [ecx], al
inc eax
cmp eax, 0x100
jl 0x43a39d
mov dword [ebp - 0xc], ebx
lea ebx, [esi + 0x200]
mov dword [ebp - 4], 1
sub dword [ebp - 4], esi
mov dword [ebp - 8], ebx
sub dword [ebp - 8], esi
mov dword [ebp + 0x10], 0xff
lea edi, [esi + 0xff]
mov eax, dword [ebp - 0xc]
cdq
push 0xd
pop ecx
idiv ecx
mov ecx, dword [ebp + 8]
imul ecx, ecx, 5
movsx eax, byte [edx + esi + 0x400]
add eax, ecx
mov dword [ebp + 8], eax
cdq
mov ecx, 0xfff1
idiv ecx
mov eax, dword [ebp - 4]
lea ecx, [eax + edi]
movzx eax, dl
mov dword [ebp - 0x10], edx
xor edx, edx
div ecx
movsx ecx, byte [edi]
lea eax, [edx + esi]
mov dl, byte [eax]
mov byte [edi], dl
mov byte [eax], cl
mov eax, dword [ebp - 8]
cmp byte [eax + edi], 0
jne 0x43a444
mov eax, dword [ebp - 0x10]
shr eax, 8
and eax, 0xff
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43a435
lea eax, [edx + 1]
cdq
idiv dword [ebp + 0x10]
cmp byte [ebx + edx], 0
jne 0x43a42e
mov eax, dword [ebp + 0x10]
mov byte [eax + ebx], dl
mov byte [ebx + edx], al
inc dword [ebp - 0xc]
dec dword [ebp + 0x10]
dec edi
cmp dword [ebp + 0x10], 0xffffffff
jg 0x43a3d3
xor eax, eax
movzx ecx, byte [eax + esi]
mov byte [ecx + esi + 0x100], al
inc eax
cmp eax, 0x100
jl 0x43a453
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x43a683
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, ecx
ror eax, 8
push ebx
mov ebx, 0xff00ff00
and eax, ebx
rol ecx, 8
push esi
push edi
mov edi, 0xff00ff
and ecx, edi
or eax, ecx
mov ecx, dword [edx + 4]
mov edx, ecx
ror edx, 8
and edx, ebx
rol ecx, 8
and ecx, edi
or edx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edx
lea edx, [ecx + 0x1000]
mov dword [ebp + 8], edx
mov dword [ebp - 8], 0x10
mov edx, dword [ebp + 8]
xor eax, dword [edx]
add dword [ebp + 8], 4
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov edx, dword [ecx + edx*4 + 0x400]
mov esi, eax
shr esi, 0x18
add edx, dword [ecx + esi*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor edx, dword [ecx + esi*4 + 0x800]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
and eax, 0xff
add edx, dword [ecx + eax*4 + 0xc00]
xor edx, dword [ebp - 4]
dec dword [ebp - 8]
mov eax, edx
mov dword [ebp - 4], esi
jne 0x43a6d0
xor esi, dword [ecx + 0x1044]
mov edx, dword [ecx + 0x1040]
xor edx, eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
ror ecx, 8
and ecx, ebx
rol esi, 8
and esi, edi
or ecx, esi
mov dword [eax], ecx
mov ecx, edx
ror ecx, 8
and ecx, ebx
rol edx, 8
and edx, edi
pop edi
or ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret

Function at 0x43a75b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 8], edx
lea edx, [eax + 0x1000]
push ebx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0x10
mov edx, 0xff
push edi
mov edi, dword [ebp - 4]
xor ecx, dword [edi]
add dword [ebp - 4], 4
mov edi, ecx
shr edi, 0x10
and edi, edx
mov edi, dword [eax + edi*4 + 0x400]
mov ebx, ecx
shr ebx, 0x18
add edi, dword [eax + ebx*4]
mov ebx, ecx
shr ebx, 8
and ebx, edx
xor edi, dword [eax + ebx*4 + 0x800]
mov dword [ebp - 0x10], ecx
and ecx, edx
add edi, dword [eax + ecx*4 + 0xc00]
xor edi, dword [ebp - 8]
dec dword [ebp - 0xc]
mov ecx, edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 8], edi
jne 0x43a780
mov edx, dword [eax + 0x1040]
mov eax, dword [eax + 0x1044]
xor edx, ecx
xor eax, edi
pop edi
mov dword [esi], eax
mov dword [esi + 4], edx
pop ebx
leave
ret
Function at 0x43a7e2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, ecx
ror eax, 8
push ebx
mov ebx, 0xff00ff00
and eax, ebx
rol ecx, 8
push esi
push edi
mov edi, 0xff00ff
and ecx, edi
or eax, ecx
mov ecx, dword [edx + 4]
mov edx, ecx
ror edx, 8
and edx, ebx
rol ecx, 8
and ecx, edi
or edx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edx
lea edx, [ecx + 0x1044]
mov dword [ebp + 8], edx
mov dword [ebp - 8], 0x10
mov edx, dword [ebp + 8]
xor eax, dword [edx]
sub dword [ebp + 8], 4
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov edx, dword [ecx + edx*4 + 0x400]
mov esi, eax
shr esi, 0x18
add edx, dword [ecx + esi*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor edx, dword [ecx + esi*4 + 0x800]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
and eax, 0xff
add edx, dword [ecx + eax*4 + 0xc00]
xor edx, dword [ebp - 4]
dec dword [ebp - 8]
mov eax, edx
mov dword [ebp - 4], esi
jne 0x43a82f
xor esi, dword [ecx + 0x1000]
mov edx, dword [ecx + 0x1004]
xor edx, eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
ror ecx, 8
and ecx, ebx
rol esi, 8
and esi, edi
or ecx, esi
mov dword [eax], ecx
mov ecx, edx
ror ecx, 8
and ecx, ebx
rol edx, 8
and edx, edi
pop edi
or ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret
Function at 0x43a8ba
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
mov esi, eax
lea eax, [edx + 0x800]
xor ecx, ecx
mov edi, 0x100
mov ebx, dword [ecx + 0x4766a8]
mov dword [eax - 0x800], ebx
mov ebx, dword [ecx + 0x476aa8]
mov dword [eax - 0x400], ebx
mov ebx, dword [ecx + 0x476ea8]
mov dword [eax], ebx
mov ebx, dword [ecx + 0x4772a8]
mov dword [eax + 0x400], ebx
add ecx, 4
add eax, 4
dec edi
jne 0x43a8d5
lea ecx, [edx + 0x1000]
push 0x12
mov eax, 0x4776a8
mov edx, ecx
pop edi
mov ebx, dword [eax]
mov dword [edx], ebx
add eax, 4
add edx, 4
dec edi
jne 0x43a91a
movsx edi, word [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x12
movsx ecx, ax
mov eax, ecx
cdq
idiv edi
mov ebx, dword [ebp - 4]
movzx eax, byte [edx + esi]
shl eax, 8
mov dword [ebp - 0xc], eax
lea eax, [ecx + 1]
cdq
idiv edi
movzx eax, byte [edx + esi]
mov edx, dword [ebp - 0xc]
or edx, eax
shl edx, 8
mov dword [ebp - 0xc], edx
lea eax, [ecx + 2]
cdq
idiv edi
movzx eax, byte [edx + esi]
mov edx, dword [ebp - 0xc]
or edx, eax
shl edx, 8
mov dword [ebp - 0xc], edx
lea eax, [ecx + 3]
cdq
idiv edi
movzx eax, byte [edx + esi]
mov edx, dword [ebp - 0xc]
or edx, eax
xor dword [ebx], edx
lea eax, [ecx + 4]
cdq
idiv edi
add ebx, 4
dec dword [ebp - 8]
mov dword [ebp - 4], ebx
movzx eax, dx
jne 0x43a937
mov ebx, dword [ebp + 8]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea edi, [ebx + 0x1004]
mov dword [ebp - 8], 9
lea esi, [ebp - 0x10]
mov eax, ebx
call fcn.0043a75b
mov eax, dword [ebp - 0x10]
mov dword [edi - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
add edi, 8
dec dword [ebp - 8]
jne 0x43a9b3
mov edi, ebx
mov dword [ebp - 4], 4
mov dword [ebp - 8], 0x80
lea esi, [ebp - 0x10]
mov eax, ebx
call fcn.0043a75b
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
add edi, 8
dec dword [ebp - 8]
jne 0x43a9e0
dec dword [ebp - 4]
jne 0x43a9d9
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x43abb1
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi]
mov edi, dword [edi + 4]
mov eax, ecx
ror eax, 8
mov esi, 0xff00ff00
and eax, esi
rol ecx, 8
mov edx, 0xff00ff
and ecx, edx
or eax, ecx
mov ecx, edi
ror ecx, 8
and ecx, esi
rol edi, 8
and edi, edx
or ecx, edi
and dword [esp + 0x10], 0
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
and edi, 3
mov edi, dword [ebx + edi*4]
mov ebx, edi
ror ebx, 8
and ebx, esi
rol edi, 8
and edi, edx
or ebx, edi
add ebx, dword [esp + 0x10]
sub dword [esp + 0x10], 0x61c88647
mov edi, ecx
shr edi, 5
mov ebp, ecx
shl ebp, 4
xor edi, ebp
add edi, ecx
xor ebx, edi
mov edi, dword [esp + 0x10]
add eax, ebx
mov ebx, dword [esp + 0x18]
shr edi, 0xb
and edi, 3
mov edi, dword [ebx + edi*4]
mov ebx, edi
ror ebx, 8
and ebx, esi
rol edi, 8
and edi, edx
or ebx, edi
add ebx, dword [esp + 0x10]
mov edi, eax
shr edi, 5
mov ebp, eax
shl ebp, 4
xor edi, ebp
add edi, eax
xor ebx, edi
add ecx, ebx
cmp dword [esp + 0x10], 0xc6ef3720
jne 0x43abea
mov edi, eax
ror edi, 8
and edi, esi
rol eax, 8
and eax, edx
or edi, eax
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
mov edi, ecx
ror edi, 8
and edi, esi
rol ecx, 8
and ecx, edx
or edi, ecx
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x43ac8e
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, eax
ror ecx, 8
mov esi, 0xff00ff00
and ecx, esi
rol eax, 8
mov edx, 0xff00ff
and eax, edx
or ecx, eax
mov eax, edi
ror eax, 8
and eax, esi
rol edi, 8
and edi, edx
or eax, edi
mov dword [esp + 0x10], 0xc6ef3720
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
shr edi, 0xb
and edi, 3
mov edi, dword [ebx + edi*4]
mov ebx, edi
ror ebx, 8
and ebx, esi
rol edi, 8
and edi, edx
or ebx, edi
add ebx, dword [esp + 0x10]
add dword [esp + 0x10], 0x61c88647
mov edi, ecx
shr edi, 5
mov ebp, ecx
shl ebp, 4
xor edi, ebp
add edi, ecx
xor ebx, edi
mov edi, dword [esp + 0x10]
sub eax, ebx
mov ebx, dword [esp + 0x18]
and edi, 3
mov edi, dword [ebx + edi*4]
mov ebx, edi
ror ebx, 8
and ebx, esi
rol edi, 8
and edi, edx
or ebx, edi
add ebx, dword [esp + 0x10]
mov edi, eax
shr edi, 5
mov ebp, eax
shl ebp, 4
xor edi, ebp
add edi, eax
xor ebx, edi
sub ecx, ebx
cmp dword [esp + 0x10], 0
jne 0x43acca
mov edi, ecx
ror edi, 8
and edi, esi
rol ecx, 8
and ecx, edx
or edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edi
mov edi, eax
ror edi, 8
and edi, esi
rol eax, 8
and eax, edx
or edi, eax
mov dword [ecx + 4], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x43e23c
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, 0x496598
push edi
mov ecx, eax
dec ecx
push 2
mov dword [ebp - 0xc], eax
sub dword [ebp - 0xc], ecx
mov byte [0x496098], 0
mov byte [0x496598], 1
mov byte [0x496099], 0
mov byte [0x496599], 3
mov byte [0x49609b], 1
pop ebx
lea esi, [ecx + 2]
mov edi, 0x100
mov dl, byte [esi]
mov al, dl
and al, 0x80
neg al
sbb al, al
and al, 0x1b
mov cl, dl
add cl, cl
xor cl, dl
xor cl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + esi], cl
movzx eax, cl
mov byte [eax + 0x496098], bl
inc ebx
inc esi
cmp ebx, edi
jl 0x43e281
xor edx, edx
mov byte [0x496810], 0x63
mov byte [0x496773], 0
inc edx
movzx eax, dl
movzx eax, byte [eax + 0x496098]
mov ecx, 0x496697
sub ecx, eax
mov bl, byte [ecx]
mov cl, bl
rol cl, 1
xor bl, cl
rol cl, 1
xor bl, cl
rol cl, 1
mov al, cl
rol al, 1
xor al, bl
xor al, cl
xor al, 0x63
mov byte [edx + 0x496810], al
movzx eax, al
mov byte [eax + 0x496710], dl
inc edx
cmp edx, edi
jl 0x43e2bb
mov dl, 1
mov ecx, 0x496698
movzx eax, dl
mov dword [ecx], eax
mov al, dl
and al, 0x80
neg al
sbb al, al
and al, 0x1b
add dl, dl
add ecx, 4
xor dl, al
cmp ecx, 0x496710
jl 0x43e2ff
xor esi, esi
mov al, byte [esi + 0x496810]
mov byte [ebp - 1], al
and byte [ebp - 1], 0x80
mov cl, al
mov byte [ebp - 6], al
sete dl
add cl, cl
dec dl
and dl, 0x1b
mov bl, cl
xor bl, dl
xor bl, al
cmp byte [ebp - 1], 0
mov byte [ebp - 7], al
sete al
dec al
and al, 0x1b
xor cl, al
mov byte [ebp - 8], cl
lea ecx, [ebp - 8]
mov byte [ebp - 5], bl
call fcn.0043e122
mov ebx, dword [0x4913b4]
mov dword [esi*4 + 0x496198], eax
mov al, byte [esi + 0x496710]
mov byte [ebp - 0xc], al
push dword [ebp - 0xc]
movzx eax, bl
push eax
call fcn.0043e141
push dword [ebp - 0xc]
mov byte [ebp - 5], al
movzx eax, bh
push eax
call fcn.0043e141
push dword [ebp - 0xc]
mov byte [ebp - 6], al
movzx eax, byte [0x4913b6]
push eax
call fcn.0043e141
push dword [ebp - 0xc]
mov byte [ebp - 7], al
movzx eax, byte [0x4913b7]
push eax
call fcn.0043e141
add esp, 0x20
lea ecx, [ebp - 8]
mov byte [ebp - 8], al
call fcn.0043e122
mov dword [esi*4 + 0x496910], eax
inc esi
cmp esi, edi
jl 0x43e31f
pop edi
pop esi
pop ebx
leave
ret