joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100051ac
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x1000abf8], ebx
push esi
push edi
jne 0x1000522c
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10005267
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10008ab4
push edi
call esi
test eax, eax
mov dword [0x1000abf8], eax
je 0x10005267
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x1000abfc], eax
call esi
cmp dword [0x1000a954], 2
mov dword [0x1000ac00], eax
jne 0x1000522c
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x1000ac08], eax
je 0x1000522c
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x1000ac04], eax
mov eax, dword [0x1000ac04]
test eax, eax
je 0x10005271
call eax
test eax, eax
je 0x10005258
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x1000ac08]
test eax, eax
je 0x10005258
test byte [ebp - 8], 1
jne 0x10005271
cmp dword [0x1000a960], 4
jb 0x1000526b
or byte [ebp + 0x12], 0x20
jmp 0x10005290
xor eax, eax
jmp 0x100052a0
or byte [ebp + 0x12], 4
jmp 0x10005290
mov eax, dword [0x1000abfc]
test eax, eax
je 0x10005290
call eax
mov ebx, eax
test ebx, ebx
je 0x10005290
mov eax, dword [0x1000ac00]
test eax, eax
je 0x10005290
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x1000abf8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000763e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.100040e0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100076d9
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x1000a954]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x100076d9
cmp eax, 1
je 0x100076fa
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100076d9
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x100076a6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x100076d5
xor eax, eax
inc eax
jmp 0x10007719
cmp edi, eax
jae 0x100076dd
xor eax, eax
jmp 0x10007719
cmp eax, esi
jae 0x100076e4
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1000a954]
jmp 0x100076fd
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x583f71d8
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2adb4be3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0xe0a3a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x36f000]
push edi
jmp 0xe0a3ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe0a3c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe0a3b0
mov eax, 1
add ebx, ebx
jne 0xe0a3d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe0a3e4
jne 0xe0a403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe0a403
dec eax
add ebx, ebx
jne 0xe0a3f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xe0a3c8
add ebx, ebx
jne 0xe0a3ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xe0a455
xor ecx, ecx
sub eax, 3
jb 0xe0a41b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe0a48a
sar eax, 1
mov ebp, eax
jmp 0xe0a426
add ebx, ebx
jne 0xe0a426
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe0a3f4
inc ecx
add ebx, ebx
jne 0xe0a434
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe0a3f4
add ebx, ebx
jne 0xe0a441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe0a436
jne 0xe0a452
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe0a436
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe0a474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe0a466
jmp 0xe0a3b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe0a474
add edi, ecx
jmp 0xe0a3b6
pop esi
mov edi, esi
mov ecx, 0x83f6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe0a492
cmp byte [edi], 0x26
jne 0xe0a492
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 0xe0a497
lea edi, [esi + 0xa06000]
mov eax, dword [edi]
or eax, eax
je 0xe0a50f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1ba00]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa1bb90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe0a4c4
mov ecx, edi
jns 0xe0a4f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa1bb98]
or eax, eax
je 0xe0a509
mov dword [ebx], eax
add ebx, 4
jmp 0xe0a4e1
call dword [esi + 0xa1bb94]
mov ebp, dword [esi + 0xa1bb9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0xe0a543
sub esp, 0xffffff80
jmp 0x512427
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x235164ed
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x2196043f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000a600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c

Function at 0x1000b2b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
in al, 0xff
call [ecx + 0x50]
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.1000961e
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x1000b625

Function at 0x10016420
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x10016464
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
sub edx, ecx
push edi
mov eax, dword [edx + ecx]
mov edi, eax
and edi, 0xff00
add edi, 0xff
xor edi, eax
and eax, 0xff00ff00
and edi, 0xff00ff
sub eax, 0xffff01
xor edi, eax
mov dword [ecx], edi
add ecx, 4
sub esi, 1
jne 0x10016434
pop edi
pop esi
ret

Function at 0x10016470
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 4]
test eax, eax
jle 0x100164d9
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
sub esi, edx
mov dword [esp + 0x20], eax
lea ecx, [ecx]
mov eax, dword [esi + edx]
mov ebx, ecx
and ebx, 0xffff00ff
mov edi, eax
and edi, 0xffff00ff
add edi, ebx
movzx ebp, cx
mov ebx, eax
and ebx, 0xff00
add ebx, ebp
and ecx, 0xff00ffff
xor edi, ebx
and eax, 0xff00ff00
and edi, 0xff00ff
add ecx, eax
xor ecx, edi
mov dword [edx], ecx
add edx, 4
sub dword [esp + 0x20], 1
jne 0x10016490
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x100164e0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x10016555
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
sub esi, edx
sub eax, edx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esi + edx]
mov ecx, dword [edx]
mov ebx, eax
and ebx, 0xffff00ff
mov edi, ecx
and edi, 0xffff00ff
add edi, ebx
movzx ebp, ax
mov ebx, ecx
and ebx, 0xff00
add ebx, ebp
xor edi, ebx
and eax, 0xff00ffff
and ecx, 0xff00ff00
add eax, ecx
and edi, 0xff00ff
xor edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax + edx], edi
add edx, 4
sub dword [esp + 0x20], 1
jne 0x10016505
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10016d70
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jle 0x10016db8
mov edx, dword [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x10]
sub esi, edx
mov ecx, dword [esi + edx]
mov eax, ecx
shr eax, 8
and eax, 0xff
mov ebx, eax
shl ebx, 0x10
or ebx, eax
mov eax, ecx
and eax, 0xffff00ff
add ebx, eax
xor ebx, ecx
and ebx, 0xff00ff
xor ebx, ecx
mov dword [edx], ebx
add edx, 4
sub edi, 1
jne 0x10016d85
pop esi
pop ebx
pop edi
ret

Function at 0x100173a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebp
push edi
mov edi, dword [esp + 0xc]
lea ebp, [edi + eax*4]
cmp edi, ebp
jae 0x100173e8
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 0xc
xor cl, dl
and cl, 0xf
mov edx, eax
shr edx, 0x10
xor cl, dl
mov byte [esi], cl
mov ecx, eax
shr ecx, 0x1c
xor cl, al
and cl, 0xf
inc esi
xor cl, al
add edi, 4
mov byte [esi], cl
inc esi
cmp edi, ebp
jb 0x100173b6
pop esi
pop edi
pop ebp
ret

Function at 0x100173f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebp
push edi
mov edi, dword [esp + 0xc]
lea ebp, [edi + eax*4]
cmp edi, ebp
jae 0x10017440
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 0xd
xor cl, dl
and cl, 7
mov edx, eax
shr edx, 0x10
xor cl, dl
mov byte [esi], cl
mov ecx, eax
shr ecx, 5
mov edx, eax
shr edx, 3
xor cl, dl
and cl, 0x1f
shr eax, 5
inc esi
xor cl, al
add edi, 4
mov byte [esi], cl
inc esi
cmp edi, ebp
jb 0x10017406
pop esi
pop edi
pop ebp
ret
Function at 0x10033530
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, dword [ebp + 0x28]
push edi
mov edi, dword [ebp + 0x2c]
mov eax, edi
imul eax, esi
cdq
push 1
push edx
push eax
mov dword [esp + 0x20], esi
call sym.libwebp.dll_WebPSafeMalloc
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10033729
lea edx, [edi - 1]
cmp edx, 1
push ebx
mov dword [esp + 0x24], edx
jle 0x10033719
add eax, esi
mov dword [esp + 0x10], eax
lea edi, [esi*8]
lea eax, [edi + 8]
mov dword [esp + 0x3c], eax
lea eax, [edx - 1]
mov dword [esp + 0x1c], eax
mov edi, edi
lea eax, [esi - 1]
cmp eax, 1
mov dword [esp + 0x14], 1
jle 0x10033699
mov eax, dword [esp + 0x3c]
jmp 0x100335b0
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x588c]
add ecx, eax
mov edx, ecx
sub edx, edi
mov esi, dword [edx - 8]
shr esi, 5
and esi, 3
inc dword [esp + esi*4 + 0x28]
lea esi, [esp + esi*4 + 0x28]
mov esi, dword [edx]
mov edx, dword [edx + 8]
shr edx, 5
and edx, 3
lea edx, [esp + edx*4 + 0x28]
mov ebx, dword [ecx]
shr esi, 5
and esi, 3
inc dword [esp + esi*4 + 0x28]
inc dword [edx]
mov edx, dword [ecx - 8]
shr edx, 5
and edx, 3
inc dword [esp + edx*4 + 0x28]
lea edx, [esp + edx*4 + 0x28]
mov edx, dword [ecx + 8]
lea esi, [esp + esi*4 + 0x28]
shr edx, 5
and edx, 3
inc dword [esp + edx*4 + 0x28]
lea edx, [esp + edx*4 + 0x28]
mov edx, dword [edi + ecx - 8]
shr edx, 5
and edx, 3
inc dword [esp + edx*4 + 0x28]
lea edx, [esp + edx*4 + 0x28]
mov edx, dword [edi + ecx]
mov ecx, dword [edi + ecx + 8]
shr edx, 5
shr ecx, 5
and edx, 3
inc dword [esp + edx*4 + 0x28]
and ecx, 3
inc dword [esp + ecx*4 + 0x28]
shr ebx, 5
lea edx, [esp + edx*4 + 0x28]
lea ecx, [esp + ecx*4 + 0x28]
and ebx, 3
xor ecx, ecx
nop
cmp dword [esp + ecx*4 + 0x28], 5
jge 0x1003366f
inc ecx
cmp ecx, 4
jl 0x10033660
jmp 0x10033671
mov ebx, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov byte [edx + ecx], bl
mov edx, dword [esp + 0x18]
inc ecx
dec edx
add eax, 8
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x100335b0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
add dword [esp + 0x3c], edi
add dword [esp + 0x10], esi
sub dword [esp + 0x1c], 1
jne 0x10033590
cmp edx, 1
mov eax, dword [esp + 0x20]
jle 0x10033719
lea edi, [eax + esi]
lea eax, [esi*8 + 8]
dec edx
lea ecx, [esi - 1]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edx
jmp 0x100336d0
mov edx, 1
cmp ecx, edx
jle 0x10033701
mov eax, dword [esp + 0x3c]
lea ecx, [ecx]
movzx ebx, byte [edi + edx]
mov ecx, dword [ebp + 0x588c]
add ecx, eax
shl ebx, 5
xor ebx, dword [ecx]
inc edx
and ebx, 0x60
xor dword [ecx], ebx
lea ecx, [esi - 1]
add eax, 8
cmp edx, ecx
jl 0x100336e0
lea eax, [esi*8]
add dword [esp + 0x3c], eax
add edi, esi
sub dword [esp + 0x1c], 1
jne 0x100336d0
mov eax, dword [esp + 0x20]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x28
mov dword [esp + 4], eax
jmp sym.libwebp.dll_WebPFree
pop edi
pop esi
pop ebp
add esp, 0x28
ret
Function at 0x10038300
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [ebx]
lea esi, [eax + edi*2]
mov eax, dword [ebx + 4]
add esi, edi
imul esi, esi, 0x2c
add esi, dword [ebx + 0x14]
test eax, eax
jge 0x1003833d
mov eax, dword [esi]
cmp eax, 0xfffe0000
jb 0x10038330
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
pop edi
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
ret
cmp edi, eax
jg 0x1003848e
push ebp
mov eax, dword [esi]
cmp eax, 0xfffe0000
jb 0x10038357
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10001
mov dword [esi], eax
mov ecx, dword [ebx + 8]
movsx eax, word [ecx + edi*2]
test eax, eax
jne 0x100383a6
lea esp, [esp]
mov eax, dword [esi + 4]
inc edi
cmp eax, 0xfffe0000
jb 0x10038383
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [esi + 4], eax
movzx esi, byte [edi + 0x1006d1f8]
mov edx, dword [ebx + 8]
imul esi, esi, 0x84
movsx eax, word [edx + edi*2]
add esi, dword [ebx + 0x14]
test eax, eax
je 0x10038370
mov ecx, dword [esi + 4]
inc edi
cmp ecx, 0xfffe0000
jb 0x100383bb
inc ecx
shr ecx, 1
and ecx, 0x7fff7fff
add ecx, 0x10001
mov dword [esi + 4], ecx
lea ecx, [eax + 1]
mov edx, 2
cmp edx, ecx
mov edx, dword [esi + 8]
sbb ecx, ecx
neg ecx
cmp edx, 0xfffe0000
jb 0x100383e6
inc edx
shr edx, 1
and edx, 0x7fff7fff
lea edx, [edx + ecx + 0x10000]
mov dword [esi + 8], edx
test ecx, ecx
jne 0x1003840a
movzx eax, byte [edi + 0x1006d1f8]
mov ecx, dword [ebx + 0x14]
imul eax, eax, 0x84
lea esi, [eax + ecx + 0x2c]
jmp 0x10038484
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x43
jle 0x10038419
mov eax, 0x43
movzx ebx, word [eax*4 + 0x100693bc]
movzx ebp, word [eax*4 + 0x100693be]
xor ecx, ecx
shr ebx, 1
je 0x1003846a
add esi, 0xc
test bl, 1
je 0x10038462
mov edx, dword [esi]
mov eax, 2
shl eax, cl
and eax, ebp
neg eax
sbb eax, eax
neg eax
cmp edx, 0xfffe0000
jb 0x10038459
inc edx
shr edx, 1
and edx, 0x7fff7fff
lea edx, [edx + eax + 0x10000]
mov dword [esi], edx
inc ecx
add esi, 4
sar ebx, 1
jne 0x10038432
movzx eax, byte [edi + 0x1006d1f8]
mov ecx, dword [esp + 0x18]
imul eax, eax, 0x84
mov edx, dword [ecx + 0x14]
lea esi, [eax + edx + 0x58]
mov ebx, ecx
cmp edi, dword [ebx + 4]
jle 0x10038346
pop ebp
cmp edi, 0x10
jge 0x100384ab
mov eax, dword [esi]
cmp eax, 0xfffe0000
jb 0x100384a4
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [esi], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x100444b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp + 0x18]
cmp eax, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], 3
mov dword [esp + 0x28], eax
jl 0x100444ed
mov dword [esp + 0x28], 4
mov ebx, 1
cmp dword [esp + 0x28], ebx
mov dword [esp + 0xc], ebx
jle 0x100445f7
lea edx, [ebp + 0x480]
push esi
mov dword [esp + 0xc], edx
push edi
lea esp, [esp]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x18], esi
test ebx, ebx
jle 0x10044549
mov esi, dword [edx + 0x2a8]
lea eax, [ebp + 0x444]
cmp esi, dword [eax - 4]
jne 0x1004453b
mov edi, dword [edx + 0x2ac]
cmp edi, dword [eax]
je 0x100445fd
inc ecx
add eax, 0x2e8
cmp ecx, ebx
jl 0x10044528
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x1c], ecx
test esi, esi
jne 0x10044573
cmp ebx, eax
je 0x10044566
mov edi, dword [esp + 0x10]
mov ecx, 0xba
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
inc ebx
add dword [esp + 0x10], 0x2e8
mov ecx, dword [esp + 0x30]
inc eax
add edx, 0x2e8
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x10044510
cmp ebx, ecx
jge 0x100445f5
mov ecx, dword [ebp + 0x2c]
imul ecx, dword [ebp + 0x28]
test ecx, ecx
jle 0x100445bd
mov eax, dword [ebp + 0x588c]
dec ecx
lea edx, [eax + ecx*8]
mov eax, dword [edx]
mov esi, eax
shr esi, 5
and esi, 3
mov esi, dword [esp + esi*4 + 0x1c]
shl esi, 5
xor esi, eax
and esi, 0x60
xor esi, eax
mov dword [edx], esi
test ecx, ecx
jg 0x10044595
mov edx, dword [esp + 0x30]
mov ecx, ebx
imul ecx, ecx, 0x2e8
lea eax, [ecx + ebp]
mov dword [ebp + 0x18], ebx
lea ebp, [eax - 0x150]
add eax, 0x198
sub edx, ebx
lea esp, [esp]
mov edi, eax
mov ecx, 0xba
mov esi, ebp
add eax, 0x2e8
sub edx, 1
rep movsd dword es:[edi], dword [esi]
jne 0x100445e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, 1
jmp 0x10044549
Function at 0x1004abb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword [0x10076068]
xor eax, esp
mov dword [esp + 0x18], eax
mov al, 0x46
mov byte [esp + 2], al
mov byte [esp + 3], al
mov al, 0x50
mov byte [esp + 0xb], al
mov byte [esp + 0xd], al
mov eax, edx
and eax, 0xffff
mov byte [esp + 4], al
sar eax, 8
mov byte [esp + 5], al
shr edx, 0x10
mov eax, edx
mov byte [esp + 6], al
sar eax, 8
mov byte [esp + 7], al
mov eax, ecx
and eax, 0xffff
mov byte [esp + 0x10], al
sar eax, 8
mov byte [esp + 0x11], al
shr ecx, 0x10
mov eax, ecx
mov ecx, dword [esi + 0x48]
mov byte [esp + 0x12], al
sar eax, 8
push esi
mov byte [esp + 0x17], al
lea eax, [esp + 4]
push 0x15
push eax
mov byte [esp + 0xc], 0x52
mov byte [esp + 0xd], 0x49
mov byte [esp + 0x14], 0x57
mov byte [esp + 0x15], 0x45
mov byte [esp + 0x16], 0x42
mov byte [esp + 0x18], 0x56
mov byte [esp + 0x1a], 0x38
mov byte [esp + 0x1b], 0x4c
mov byte [esp + 0x20], 0x2f
call ecx
mov ecx, dword [esp + 0x24]
add esp, 0xc
xor ecx, esp
call fcn.10059bfe
add esp, 0x1c
ret

Function at 0x1004b4f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
mov esi, dword [esp + 0x420]
mov ebx, dword [esi + 0x40]
push edi
mov edi, dword [esp + 0x41c]
push 1
push 1
push edi
mov dword [esp + 0x20], ebx
lea ebp, [esi + 0x44]
call fcn.100589b0
push 2
push 3
push edi
call fcn.100589b0
push 8
lea eax, [ebx - 1]
push eax
push edi
call fcn.100589b0
lea eax, [ebx - 1]
add esp, 0x24
cmp eax, 1
jl 0x1004b5c0
lea esi, [esp + 0x18]
lea edx, [ebp + eax*4]
sub esi, ebp
mov dword [esp + 0x10], eax
nop
mov ecx, dword [edx - 4]
mov eax, dword [edx]
mov edi, eax
and edi, 0xff00
mov ebx, ecx
and ebx, 0xff00ff00
sub edi, ebx
mov ebx, eax
mov ebp, ecx
and ebx, 0xffff00ff
and ebp, 0xff00ff
sub edi, 0xff01
sub ebx, ebp
and eax, 0xff00ff00
add ebx, 0xff00
and ecx, 0xff00ff00
xor edi, ebx
sub eax, ecx
and edi, 0xff00ff
add eax, 0xff00ff
xor edi, eax
mov dword [esi + edx], edi
add edx, 0xfffffffc
sub dword [esp + 0x10], 1
jne 0x1004b550
mov edi, dword [esp + 0x41c]
mov esi, dword [esp + 0x424]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x42c]
mov eax, dword [esi + 4]
push edx
push eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x428]
push ecx
push 0x14
push 1
push ebx
lea edx, [esi + 0x844]
push edx
add esi, 0x8a4
push esi
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x44c]
push edi
call fcn.1004a010
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x408
ret