joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c336c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x51f92c]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x51f92c]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x51f92c]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51f92c]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x51f8b0]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x4c3397
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4c3464
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
add eax, 0x14
mov eax, dword [eax]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x14]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x51f92c]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x51f92c]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x51f92c]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51f92c]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x51f8b0]
mov dword [edx + eax*4 + 0x18], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x18]
mov dword [edx + eax*4 + 0x1c], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x20], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 0x10]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, ebx
mov dword [edx + eax*4 + 0x2c], ecx
add eax, 6
cmp eax, 0x2e
jl 0x4c349f
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4c3580
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51f92c]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51f92c]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x51f92c]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x51f92c]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x51f8b0]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
xor ecx, ecx
mov cl, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + 0x51f92c]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51f92c]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x51f92c]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x51f92c]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x4c35cb
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x50c878
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x50ca55
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
call sub.user32.dll_GetKeyboardLayout
test eax, eax
je 0x50ca2c
mov eax, dword [ebp - 4]
push eax
call sub.imm32.dll_ImmGetContext
mov esi, eax
test esi, esi
je 0x50ca2c
push 0
push 0
push 0
push esi
call sub.imm32.dll_ImmGetCandidateListA
mov ebx, eax
test ebx, ebx
jle 0x50ca20
push ebx
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x50c858]
call fcn.00405d9c
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push ebx
mov eax, dword [ebp - 8]
push eax
push 0
push esi
call sub.imm32.dll_ImmGetCandidateListA
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
jbe 0x50ca20
mov ebx, 1
mov eax, dword [0x520da0]
call fcn.00404728
jmp 0x50c9ce
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [ebp - 8]
mov edx, dword [edx + eax*4 + 0x14]
add edx, dword [ebp - 8]
lea eax, [ebp - 0x10]
call fcn.00404930
test ebx, ebx
jle 0x50c95f
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404b44
je 0x50ca20
mov eax, dword [0x520da0]
push dword [eax]
push 0x50ca70
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x50ca7c
call fcn.0040a77c
push dword [ebp - 0x18]
mov eax, dword [0x520da0]
mov edx, 3
call fcn.00404ab8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [ebp - 8]
mov edx, dword [edx + eax*4 + 0x14]
add edx, dword [ebp - 8]
lea eax, [ebp - 0x14]
call fcn.00404930
inc ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
mov edi, dword [edx + 0xc]
sub eax, edi
inc eax
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x50c9f3
cmp eax, dword [esp]
pop edx
pop eax
jae 0x50ca20
jmp 0x50c9f7
pop edx
pop eax
jge 0x50ca20
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
inc eax
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x50ca18
cmp eax, dword [esp]
pop edx
pop eax
ja 0x50c925
jmp 0x50ca20
pop edx
pop eax
jg 0x50c925
push esi
mov eax, dword [ebp - 4]
push eax
call sub.imm32.dll_ImmReleaseContext
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ca5c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040474c
lea eax, [ebp - 0xc]
mov edx, dword [0x50c858]
call fcn.00405da8
ret
Function at 0x50cbbc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x50cc3b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x105]
push eax
push 0
call sub.user32.dll_GetKeyboardLayout
push eax
call sub.imm32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x50cc1b
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040a1c8
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.00409090
jmp 0x50cc22
mov eax, ebx
call fcn.00404728
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50cc42
lea eax, [ebp - 0x10c]
call fcn.00404728
ret

Function at 0x50cc48
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebx
push esi
add esp, 0xffffffe0
mov esi, eax
mov eax, dword [edx]
push eax
call sub.imm32.dll_ImmGetContext
mov ebx, eax
test ebx, ebx
je 0x50cc99
mov eax, esp
xor ecx, ecx
mov edx, 0x1e
call fcn.004032e8
push 0x1e
lea eax, [esp + 4]
push eax
push 8
push ebx
call sub.imm32.dll_ImmGetCompositionStringA
mov eax, dword [0x520cb0]
mov edx, esp
mov ecx, 0x1f
call fcn.004049a8
push ebx
mov eax, esi
call fcn.0045008c
push eax
call sub.imm32.dll_ImmReleaseContext
add esp, 0x20
pop esi
pop ebx
ret

Function at 0x50cf48
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
push ecx
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x50cf80
mov eax, dword [esp]
call fcn.0050ceb0
mov ebx, eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edx
pop ebx
ret

Function at 0x50cf94
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x50d033
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
call sub.user32.dll_GetDesktopWindow
push 5
push eax
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x50d01d
push 0xff
lea eax, [ebp - 0x103]
push eax
push esi
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x50d002
lea eax, [ebp - 4]
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.004049a8
mov edx, dword [ebp - 4]
mov eax, 0x50d04c
call fcn.00404d3c
dec eax
jne 0x50d002
xor ebx, ebx
push 0
push 0xc50b380
push esi
call sub.user32.dll_EnumChildWindows
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x50cfc7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50d03a
lea eax, [ebp - 4]
call fcn.00404728
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404be8
xor eax, eax
push ebp
push 0x50e6c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bf8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x50e6a5
test al, 0x10
jne 0x50e6a9
xor ebx, ebx
jmp 0x50e6ab
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e6c8
lea eax, [ebp - 4]
call fcn.00404728
ret
Function at 0x5f3e0b
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x5fd3]
mov dword [esp + 4], ecx
pop ecx
jmp 0x5d665a

Function at 0x5f3f2f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
mov edx, dword [esp + 4]
lea edx, [edx - 0x2619a]
mov dword [esp + 4], edx
pop edx
jmp 0x5e13e3

Function at 0x77f510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a7000]
push edi
jmp 0x77f52a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x77f531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f520
mov eax, 1
add ebx, ebx
jne 0x77f543
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x77f554
jne 0x77f573
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f573
dec eax
add ebx, ebx
jne 0x77f560
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x77f538
add ebx, ebx
jne 0x77f56f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x77f5c5
xor ecx, ecx
sub eax, 3
jb 0x77f58b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x77f5fa
sar eax, 1
mov ebp, eax
jmp 0x77f596
add ebx, ebx
jne 0x77f596
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f564
inc ecx
add ebx, ebx
jne 0x77f5a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f564
add ebx, ebx
jne 0x77f5b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x77f5a6
jne 0x77f5c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x77f5a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x77f5e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x77f5d6
jmp 0x77f526
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x77f5e4
add edi, ecx
jmp 0x77f526
pop esi
mov edi, esi
mov ecx, 0x467
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x77f602
cmp byte [edi], 7
jne 0x77f602
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x77f607
lea edi, [esi + 0x37d000]
mov eax, dword [edi]
or eax, eax
je 0x77f676
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x409218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x409254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x77f634
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x40925c]
or eax, eax
je 0x77f670
mov dword [ebx], eax
add ebx, 4
jmp 0x77f651
call dword [esi + 0x409258]
mov ebp, dword [esi + 0x409260]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x77f6aa
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x405081
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x405090
pop dword [ebp - 8]
mov eax, 0x405090
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x46371186
sub dword [ebp - 0x18], 0xf7e4cc3b
mov dword [ebp - 0x14], 0xfc526f6d
sub dword [ebp - 0x14], 0xca1f2328
mov dword [ebp - 0x10], 0x4814fef6
add dword [ebp - 0x10], 0x4374538
mov dword [ebp - 0xc], 0xc8b3bf60
sub dword [ebp - 0xc], 0xc8b3bf60
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x4db51fc6
add dword [ebp - 0x18], 0x26bd4990
mov dword [ebp - 0x14], 0xb14034e3
sub dword [ebp - 0x14], 0x6fd3d36e
mov dword [ebp - 0x10], 0x86802e2c
add dword [ebp - 0x10], 0xdcef3e40
mov dword [ebp - 0xc], 0x45b8e4f6
add dword [ebp - 0xc], 0xba471b0a
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x5836b699
sub eax, 0x57f65699
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x36fb0
push 0
call eax
mov ecx, 0xf403247a
add ecx, 0xbfd2426
xor edi, edi
add edi, eax
mov ebx, 0x413a00
add ebx, dword [ebp - 8]
mov esi, 0x49945472
sub esi, 0xc1018cd1
add dword [ebp - 4], 0x74ef203c
mov edx, dword [ebx]
sub dword [ebp - 4], esi
xor edx, esi
xor dword [ebp - 4], 0x9e12d60b
mov dword [edi], edx
sub dword [ebp - 4], 0x12d61c8e
add edi, 4
add ebx, 0xf9a35b56
sub ebx, 0xf9a35b52
loop 0x4051a4
add eax, 0x336a176a
add eax, 0xcc96fde9
mov ebx, eax
add eax, 0xa9359f
sub eax, 0xa9359a
mov ecx, 0x4be406a4
sub ecx, 0x4ba406a4
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0xa82058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a821a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa8207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa8206a
add dl, dl
jne 0xa82089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa820dc
xor eax, eax
add dl, dl
jne 0xa82096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa8217d
add dl, dl
jne 0xa820a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa820b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa820bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa820c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa820d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa82075
mov eax, 1
add dl, dl
jne 0xa820ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa820f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa820e1
sub eax, ebx
mov ebx, 1
jne 0xa82128
mov ecx, 1
add dl, dl
jne 0xa8210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa82119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa82105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa82075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa8213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa8214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa82136
cmp eax, 0x7d00
jae 0xa8216d
cmp eax, 0x500
jb 0xa82168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa82075
cmp eax, 0x7f
ja 0xa82170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa82075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa8219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa82075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x2a30de4c
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a351a4b
call fcn.2a3027ac
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx], 0xb
mov edi, ecx
mov dword [ebp - 0x14], edi
jne 0x2a30df3d
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [ebx + 0x1a0], 0xffffffff
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
lea esi, [eax + 0x12c]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, esi
jae 0x2a30def6
mov edi, esi
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x2d8]
mov esi, dword [ebx]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp esi, 0xb
jne 0x2a30def3
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jb 0x2a30deba
mov edi, dword [ebp - 0x14]
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [ebx], 0xb
jne 0x2a30df1d
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor edi, edi
inc edi
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebx + 0x2d8], ecx
cmp dword [ebx + 0x18], 0
lea esi, [ebx + 0x1a0]
mov dword [esi], ecx
je 0x2a30df72
test di, di
jne 0x2a30df6f
push esi
push dword [ebx + 0x18]
call fcn.2a32e17b
xor ecx, ecx
cmp dword [esi], ecx
jne 0x2a30df72
push esi
push dword [ebx + 0x14]
mov dword [ebx + 0x18], ecx
call fcn.2a32e17b
xor ecx, ecx
jmp 0x2a30df72
mov dword [ebx + 0x18], ecx
cmp word [ebx + 0x144], cx
je 0x2a30dff9
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.2a32e17b
mov edi, dword [0x2a36ab40]
xor eax, eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x2a36ab34]
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x2a35635c]
call esi
mov esi, dword [edi + 0xd0]
pop ecx
movzx eax, ax
mov ecx, esi
push eax
push 0
call dword [0x2a35635c]
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push eax
call fcn.2a32e17b
cmp dword [ebp - 0x14], 0
je 0x2a30dfeb
lea ecx, [ebp - 0x18]
call fcn.2a32e17b
test al, al
je 0x2a30dfeb
lea ecx, [ebp - 0x18]
call fcn.2a33c9da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a32e17b
xor ecx, ecx
cmp dword [ebx + 0x34], 0
je 0x2a30e01d
mov eax, dword [0x2a36a804]
push dword [ebx + 0x34]
mov esi, dword [eax + 0x284]
mov ecx, esi
call dword [0x2a35635c]
call esi
pop ecx
xor ecx, ecx
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2a30e051
push eax
mov eax, dword [0x2a36ab50]
cmp word [ebx + 0x196], cx
je 0x2a30e03b
mov esi, dword [eax + 0x124]
jmp 0x2a30e041
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x2a35635c]
call esi
xor eax, eax
pop ecx
mov dword [ebx + 0x20], eax
mov dword [ebx], 2
call fcn.2a302c60
ret
Function at 0x2a32e17b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x2a32e18a
pop dword [ebp - 0x50]
mov eax, 0x32937905
sub eax, 0x860977b
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x8406b4b6
add dword [ebp - 0x60], 0xca4b9095
mov dword [ebp - 0x5c], 0xcf5d7c2e
sub dword [ebp - 0x5c], 0x9d2a2fe9
mov dword [ebp - 0x58], 0x739833e5
add dword [ebp - 0x58], 0xd8b41049
mov dword [ebp - 0x54], 0xc7c06df
sub dword [ebp - 0x54], 0xc7c06df
lea eax, [ebp - 0x60]
push eax
mov eax, 0xda31ecb9
add eax, 0x500373c3
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x61a7b5d3
sub dword [ebp - 0x60], 0xed354c7d
mov dword [ebp - 0x5c], 0x19880ff9
add dword [ebp - 0x5c], 0x27e4517c
mov dword [ebp - 0x58], 0x6cc28127
sub dword [ebp - 0x58], 0x95314bb
mov dword [ebp - 0x54], 0xb95d9fba
sub dword [ebp - 0x54], 0xb95d9fba
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xa868eecf
add eax, 0x81cc71b5
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x46f1e
push 0
call eax
mov ecx, 0x84716434
add ecx, 0x7b8ed9cd
xor ebx, ebx
add ebx, eax
mov esi, 0x2a37d800
add esi, dword [ebp - 0x50]
mov edx, 0xc82cf471
sub edx, 0xc8e93a96
add dword [ebp - 0x4c], edi
mov edi, dword [esi]
add edi, edx
xor dword [ebp - 4], 0xcf192d3c
mov dword [ebx], edi
add dword [ebp - 0x28], edx
add ebx, 0x13437329
sub ebx, 0x13437325
add esi, 0xd9ec6921
add esi, 0x261396e3
loop 0x2a32e2a8
add eax, 0x378124d0
sub eax, 0x378039f9
xor ebx, ebx
add ebx, eax
add eax, 0x71294278
sub eax, 0x71294273
mov ecx, 0x3c1d4d9a
add ecx, 0xee12b266
add ecx, dword [ebp - 0x50]
call ebx
leave
ret