joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5892a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
test dl, dl
je 0x5892bc
add esp, 0xfffffff0
call fcn.0040418c
mov byte [ebp - 1], dl
mov esi, eax
mov byte [esi + 0x429], 1
xor edx, edx
mov eax, esi
call fcn.004999e0
call fcn.00587fc0
push esi
push 0x5894c8
call fcn.00428250
mov dword [esi + 0x424], eax
mov dl, 1
mov eax, dword [0x5871c0]
call fcn.00403de4
mov dword [esi + 0x308], eax
mov dl, 1
mov eax, dword [0x5870b8]
call fcn.00403de4
mov edx, dword [esi + 0x308]
mov dword [edx + 0x10], eax
mov dl, 1
mov eax, dword [0x41afbc]
call fcn.00403de4
mov ebx, eax
mov eax, dword [esi + 0x308]
mov dword [eax + 4], ebx
mov eax, ebx
mov edx, 0x5893b0
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xb]
xor ecx, ecx
mov edx, 0xa
call fcn.004035f8
push 0xa
lea eax, [ebp - 0xb]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [ebp - 0xb], 0x31
jne 0x589361
mov byte [esi + 0x420], 1
jmp 0x589368
mov byte [esi + 0x420], 0
mov edx, dword [0x5893c0]
mov eax, esi
call fcn.005898b4
mov edx, dword [0x5893c4]
mov eax, esi
call fcn.00589948
mov byte [esi + 0x428], 0
mov eax, esi
cmp byte [ebp - 1], 0
je 0x5893a0
call fcn.004041e4
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d85e
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

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

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x70ce67ff
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x70cf57fd
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x48bb73
Capabilities:
Encode data using xor

Disassembly:
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x10]
shr edi, 2
mov ecx, edi
dec edi
test ecx, ecx
je 0x48bba1
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov esi, dword [edx]
add eax, esi
xor ecx, esi
mov dword [edx], ecx
add edx, 4
mov ecx, edi
dec edi
test ecx, ecx
jne 0x48bb8d
pop edi
pop esi
ret
Function at 0x48c20e
Capabilities:
Terminate process

Disassembly:
sub esp, 4
push ebx
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [0x47e3f0], 0
mov dword [esp + 0x10], eax
jne 0x48c3c8
mov eax, dword [0x489e58]
inc dword [0x47e3f0]
test eax, eax
je 0x48c244
push eax
call fcn.0048bab2
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x48c3c8
mov esi, 0x47e424
mov edx, 0x489d50
mov edi, edx
mov ebx, 0xffffffff
mov ecx, ebx
sub eax, eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x47e1ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
mov ecx, ebx
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x47e42c
mov edi, edx
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov edi, dword [eax*4 + 0x47e3a4]
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
mov ecx, ebx
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x48c301
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
mov ecx, ebx
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 0
je 0x48c361
mov esi, 0x47e430
mov ebx, 0x489d50
mov edi, ebx
mov ebp, 0xffffffff
mov ecx, ebp
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebp
push 0
push 0xc8
mov ecx, ebp
movsd dword es:[edi], dword [esi]
mov edi, ebx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x489d4f
mov edi, ebx
push ecx
push 0x400
push dword [esp + 0x20]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov ecx, ebp
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
mov byte [ecx + 0x489d4d], 0
push 0x489d50
mov esi, str.SHRINKER.ERR
push esi
call fcn.0048bcf7
add esp, 8
push 0x10
push 0x47e434
push esi
call fcn.0048babf
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x48c3c8
mov eax, dword [esp + 0x1c]
cmp eax, 0xd
jl 0x48c398
mov eax, 0xd
mov esi, 0x47e438
mov edx, 0x489d50
mov edi, edx
mov ecx, 0xffffffff
mov dword [esp + 0x1c], eax
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
push ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push edx
call fcn.0048bb3b
add esp, 8
push ebx
call fcn.0048bab2
add esp, 4
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x48c81d
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x489f74]
imul eax, eax, 0x28
mov ecx, dword [eax + ecx + 0x24]
test ecx, 0x20000000
je 0x48c858
test ecx, 0x40000000
je 0x48c851
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xe0
add eax, 0x40
jmp 0x48c869
mov eax, 0x10
jmp 0x48c869
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xfe
add eax, 4
test ecx, 0x4000000
je 0x48c876
add eax, 0x200
ret

Function at 0x48d624
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
push edi
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x48d651
cmp byte [ebp + ebx - 1], 0x5c
je 0x48d654
mov esi, 0x47f4e8
mov edi, ebx
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
inc ebp
movsw word es:[edi], word [esi]
jmp 0x48d654
mov byte [ebx], 0
push ebx
push 0
push 0x47f4ec
push ebx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
test eax, eax
mov eax, 0
je 0x48d6a2
lea edi, [ebp + ebx]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, str.SHRINK33.LDR
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x10
and ecx, 3
push 0x47f4f0
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.0048babf
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48d6a7
Capabilities:
Delete file
Get common file path
Query environment variable

Disassembly:
push ebp
mov eax, 0x4220
mov ebp, esp
call fcn.0048dbd0
push esi
push edi
push 0
call fcn.0048d5af
add esp, 4
mov dword [0x47f4c8], eax
cmp eax, 0xffffffff
jne 0x48d7db
mov edi, 0x104
lea eax, [ebp - 0x11c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0048d624
add esp, 8
mov esi, eax
test esi, esi
jne 0x48d76d
push edi
lea eax, [ebp - 0x220]
push eax
lea edi, [ebp - 0x220]
push str.PATH
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
mov al, byte [edi]
test al, al
je 0x48d75a
xor ecx, ecx
inc edi
mov byte [ebp - 0x11c], al
cmp al, cl
je 0x48d73c
cmp byte [ebp + ecx - 0x11c], 0x3b
je 0x48d73c
inc ecx
mov al, byte [edi]
inc edi
mov byte [ebp + ecx - 0x11c], al
test al, al
jne 0x48d723
push ecx
lea eax, [ebp - 0x11c]
mov byte [ebp + ecx - 0x11c], 0
push eax
call fcn.0048d624
add esp, 8
mov esi, eax
test esi, esi
je 0x48d710
test esi, esi
jne 0x48d76d
push 0xc
push str.12345
call fcn.0048c20e
add esp, 8
lea eax, [ebp - 0x4220]
push eax
push 0x47e4bc
call fcn.0048b47c
add esp, 8
test eax, eax
jne 0x48d791
push 2
push 0
call fcn.0048c20e
add esp, 8
lea edi, [ebp - 0x41e0]
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
push esi
mov eax, dword [0x47e4b8]
push eax
lea ecx, [ebp - 0x4220]
push ecx
call fcn.0048bb12
add esp, 0xc
push esi
call fcn.0048bab2
add esp, 4
push 0
call fcn.0048d5af
add esp, 4
lea ecx, [ebp - 0x11c]
mov dword [0x47f4c8], eax
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp dword [0x47f4c8], 0xffffffff
jne 0x48d7f0
push 0xc
push 0x47f500
jmp 0x48d878
xor esi, esi
lea eax, [ebp - 8]
push esi
lea ecx, [ebp - 0x18]
push eax
push 0x10
push ecx
push esi
push esi
push 1
push dword [0x47f4c8]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x48d871
cmp dword [ebp - 0x18], 0x31e
jne 0x48d868
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 0x10], edx
push 4
lea edx, [ebp - 4]
push edx
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push 2
push dword [0x47f4c8]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x48d85f
mov eax, dword [ebp - 4]
mov dword [0x47f4cc], eax
jmp 0x48d880
push 0xc
push 0x47f504
jmp 0x48d878
push 0xc
push 0x47f508
jmp 0x48d878
push 0xc
push 0x47f50c
call fcn.0048c20e
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40664b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405aa0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406688
jle 0x4066e5
movzx eax, ax
or eax, 0x80070000
jmp 0x4066e5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406a46
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405a88
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406a20
test esi, esi
je 0x4066d8
jle 0x4066d4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4066e5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x406898
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x405a6c
push 0x4059f4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4068bf
push 0x800
call eax
call fcn.004064af
mov byte [ebp - 1], al
call fcn.004062aa
mov ecx, eax
test ecx, ecx
je 0x40694f
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov dl, byte [ebp - 1]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004066e9
mov esi, eax
pop ecx
test esi, esi
js 0x40693f
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x406911
call fcn.0040644c
mov esi, eax
jmp 0x40693f
push 0x405a90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x406933
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
mov esi, eax
jmp 0x406938
mov esi, 0x80004005
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 8]
call fcn.00406baa
pop edi
mov eax, esi
pop esi
leave
ret 0x10
push 0x80004005
call fcn.00406105
int3

Function at 0x40b271
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
test byte [ebp + 0x76180844], 0x23

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

Disassembly:
imul edx, esi, 0xffffffeb
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x3c]
add esi, edi
mov ebx, dword [esi + 0x78]
call fcn.0040b231
sub al, 0xa9
add esp, dword [ecx]
push esi
push ebx
call fcn.0040b271
call [ecx - 0x7b]
rcr byte [ecx + 0xf], 0x84
mov al, 0
add byte [eax], al
xor eax, eax
Function at 0x40b4f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40b51f
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
jo 0x40b52d
inc ebp
rcl byte [ebx]

Function at 0x40b83d
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x40b7d6
cmp dword [eax + 0xc], ebx
je 0x40b879
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0040b231
xor eax, 0x390df433
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x40b867
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x40b842
and eax, 0xffff
add byte [eax], al
push eax
jmp 0x40b846
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040b1f6
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x40ba20
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x40b827
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x40b7c8
call fcn.0040b231
and dword [eax], edx
jae 0x40b893
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x40b8e5
add eax, esi
cmp dword [eax], ebx
je 0x40b8e5
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
push eax
add al, 0x8d
dec eax
or byte [ebx], al
ror byte [ecx - 0x35c4f7b3], 1
jae 0x40b8e0
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40b8ca
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40b8d2
cmp edx, ebx
jne 0x40ba20
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40b8a1
add eax, dword [eax + 4]
jmp 0x40b88e
mov dword [ebp + 0xc], ebx
jmp 0x40b8f0
Function at 0x40b951
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
dec dword [ebx + 0x3b660c45]
inc edi
push es
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40b908
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40b926
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40b984
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
jge 0x40b963
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40b96b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40b974
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40b97e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40b960
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
invalid
xchg byte [edi - 1], cl

Function at 0x40d294
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x40d2d7
stc
push es
add byte [eax], al
test dword [esp + edi*8 - 1], ebx
inc dword [ebx - 0x3a343]
inc dword [eax]
je 0x40d2c7
lea eax, [ebp - 0x714]
push eax
call fcn.0040b241
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040b1f6
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40d2d2
jmp 0x40d2d7
jmp 0x40cbd3
cmp dword [ebp - 0x37c], 0
jne 0x40d381
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040b40d
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x40d36d
lea eax, [ebp - 0x714]
push eax
call fcn.0040b241
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.0040b2d6
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x8c210e
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x8c1ea3
add edi, eax
mov edi, edi
mov eax, edi
call fcn.008c214a
or edi, eax
xor dword [edx], ebx
add edi, eax
add edx, 1
sub edi, 1
sub edi, 0x60a26840
cmp edx, esi
jne fcn.008c210e
mov edi, 0x262dc4de
dec edi
ret

Function at 0x8c213d
Capabilities:
Encode data using xor

Disassembly:
push 0x8c1ea3
pop ecx
and ebx, edx
mov edx, edx
call fcn.008c216d
mov ebx, 0xef55105b
xor dword [eax], ecx
or ebx, ebx
inc eax
add ebx, ebx
add edx, ebx
cmp eax, esi
jne fcn.008c213d
mov edx, 0xf02bf258
sub ebx, ebx
ret
Function at 0x4a9a6d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.004c4adc
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x4e9a32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.004c4adc
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4e9a32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 4]
xor eax, 0x12476359
mov dword [ebp + 4], eax
push eax
mov eax, dword [ebp]
xor eax, 0x97815643
mov dword [ebp], eax
push eax
mov ebx, dword [ebp - 4]
call fcn.004a9a4d
mov eax, 0
cmp eax, ecx
jl 0x4a9b05
push 0x20b
push 0x4011022
push 1
call fcn.004c4af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.004a9a4d
mov eax, 0
cmp eax, ecx
jl 0x4a9b38
push 0x234
push 0x4011022
push 1
call fcn.004c4af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x4a9b4e
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x4a9b76
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x4a9b70
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x4a9b8f
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.004c59d0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4a9beb
push ebx
call fcn.004c4ad6
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x4a9c00
push eax
pushfd
mov eax, dword [esp + 8]
xor eax, 0x97815643
mov dword [ebp], eax
mov eax, dword [esp + 0xc]
xor eax, 0x12476359
mov dword [ebp + 4], eax
xchg dword [esp + 4], eax
popfd
pop eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004c4ad6
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004c4ad6
add esp, 4
mov esp, ebp
pop ebp
ret 0xc