joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423b47
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x423b75
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x423b93
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00423ab1
jmp 0x423b93
mov eax, dword [esi + 0x14]
test eax, eax
je 0x423b93
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00423ab1
test edi, edi
mov eax, edi
jne 0x423b7d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x438c24]
test ecx, ecx
je 0x423c46
jmp 0x423b46
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xea84f2d
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3a1640bf
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x45da90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x38000]
push edi
or ebp, 0xffffffff
jmp 0x45dab2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45dab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45daa8
mov eax, 1
add ebx, ebx
jne 0x45dacb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45dac0
jne 0x45dadc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45dac0
xor ecx, ecx
sub eax, 3
jb 0x45daf0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45db62
mov ebp, eax
add ebx, ebx
jne 0x45dafb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45db08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45db2c
inc ecx
add ebx, ebx
jne 0x45db18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45db0d
jne 0x45db29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45db0d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45db4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45db3d
jmp 0x45daae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45db4c
add edi, ecx
jmp 0x45daae
pop esi
lea edi, [esi + 0x5b000]
mov eax, dword [edi]
or eax, eax
je 0x45dbab
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d22c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d2d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45db69
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d2dc]
or eax, eax
je 0x45dba5
mov dword [ebx], eax
add ebx, 4
jmp 0x45db86
call dword [esi + 0x5d2d8]
mov ebp, dword [esi + 0x5d2e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x45dbdf
sub esp, 0xffffff80
jmp 0x401710

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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x724d3c50
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x4ea0617
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401685
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4bfb2c]
sub esp, 0x800
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x4bfa84]
test esi, esi
je 0x4016d3
cmp eax, 0x959
jne 0x4016bf
push 0
lea eax, [ebp - 0x800]
push eax
push str.Subasosu_nigukole_padisekadapoyi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.00401481
add edi, 8
dec esi
je 0x4016d3
mov eax, dword [0x4bfb2c]
jmp 0x4016a4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40d776
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004050d5
mov dword [ebp - 0x14], eax
cmp dword [0x456aa4], esi
jne 0x40d869
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d7f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d949
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d949
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d949
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x456aa4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x456aa8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x456aac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456ab4], eax
test eax, eax
je 0x40d866
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456ab0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d88e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d881
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d8a3
push 4
pop eax
jmp 0x40d94b
cmp dword [ebp - 0x14], esi
je 0x40d8a3
push dword [0x456aa4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d888
mov eax, dword [0x456ab0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d901
cmp dword [0x456ab4], edi
je 0x40d901
push eax
call ebx
push dword [0x456ab4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d901
test eax, eax
je 0x40d901
call ecx
test eax, eax
je 0x40d8f6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d8f6
test byte [ebp - 8], 1
jne 0x40d901
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d931
mov eax, dword [0x456aa8]
cmp eax, edi
je 0x40d92e
push eax
call ebx
test eax, eax
je 0x40d92e
call eax
mov esi, eax
test esi, esi
je 0x40d92e
mov eax, dword [0x456aac]
cmp eax, edi
je 0x40d92e
push eax
call ebx
test eax, eax
je 0x40d92e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x456aa4]
call ebx
test eax, eax
je 0x40d949
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d94b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004043ad
mov esp, ebp
pop ebp
ret
Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc

Function at 0x40c470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40c492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c488
mov eax, 1
add ebx, ebx
jne 0x40c4ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c4a0
jne 0x40c4bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c4a0
xor ecx, ecx
sub eax, 3
jb 0x40c4d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c542
mov ebp, eax
add ebx, ebx
jne 0x40c4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c4e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c50c
inc ecx
add ebx, ebx
jne 0x40c4f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c4ed
jne 0x40c509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c4ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c52c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c51d
jmp 0x40c48e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c52c
add edi, ecx
jmp 0x40c48e
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40c54a
cmp byte [edi], 1
jne 0x40c54a
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 eax, ebx
loop 0x40c54f
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c5c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd70c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd748]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c57c
mov ecx, edi
jns 0x40c5ab
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 + 0xd74c]
or eax, eax
je 0x40c5c1
mov dword [ebx], eax
add ebx, 4
jmp 0x40c599
call dword [esi + 0xd750]
popal
jmp 0x401128
Function at 0xadb166
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xad5140]
jne 0xadb170
repz ret
jmp fcn.00adb4af

Function at 0xae1328
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xad5140]
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.00adc976
and dword [ebp - 0x14], 0
cmp dword [0xad8b2c], 0
mov dword [ebp - 0x18], eax
jne 0xae13db
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0xae1483
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0xae1483
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xad8b2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xad8b30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xad8b34], eax
call edi
push eax
call esi
mov dword [0xad8b3c], eax
test eax, eax
je 0xae13db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xad8b38], eax
mov eax, dword [0xad8b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0xae1434
cmp dword [0xad8b3c], ecx
je 0xae1434
push eax
call esi
push dword [0xad8b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0xae1434
test ebx, ebx
je 0xae1434
call edi
test eax, eax
je 0xae142b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0xae142b
test byte [ebp - 8], 1
jne 0xae1434
or dword [ebp + 0x10], 0x200000
jmp 0xae1467
mov eax, dword [0xad8b30]
cmp eax, dword [ebp - 0x18]
je 0xae1467
push eax
call esi
test eax, eax
je 0xae1467
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0xae1467
mov eax, dword [0xad8b34]
cmp eax, dword [ebp - 0x18]
je 0xae1467
push eax
call esi
test eax, eax
je 0xae1467
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xad8b2c]
call esi
test eax, eax
je 0xae1483
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0xae1485
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00adb166
leave
ret
Function at 0x4137d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, eax
cmp byte [edi + 0xb00c], 0
je 0x4137eb
mov esi, edi
call fcn.004117f0
mov ecx, 0x19
call fcn.00411a70
mov al, byte [edi + 0x541c]
test al, al
je 0x41380a
mov ecx, dword [edi + 0x5420]
mov dword [ebp - 8], ecx
jmp 0x413813
mov edx, dword [edi + 0x53e4]
mov dword [ebp - 8], edx
test al, al
je 0x413822
mov eax, dword [edi + 0x5424]
mov dword [ebp - 0xc], eax
jmp 0x41382b
mov ecx, dword [edi + 0x53e8]
mov dword [ebp - 0xc], ecx
push 0x1e
call fcn.00411000
push eax
push 0x13
mov esi, edi
mov dword [ebp - 0x10], eax
call fcn.00411bc0
mov dword [edi + 0xb0c8], 1
lea ebx, [edi + 0x21d40]
xor eax, eax
cmp byte [ebx], 0
je 0x41386b
inc eax
add ebx, 0xbc
cmp eax, 0x190
jl 0x413851
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0xa4]
mov dword [ebp - 4], eax
mov byte [ebx], 1
call fcn.0044e3a0
xor esi, esi
mov dword [ebx + 0xa0], esi
mov dword [ebx + 0x9c], esi
mov dword [ebx + 4], 1
mov ebx, dword [ebp - 4]
cmp ebx, 0xffffffff
je 0x413920
push esi
push esi
push esi
push 0x19
push 1
mov ecx, ebx
mov edx, edi
call fcn.00420ee0
mov ecx, ebx
imul ecx, ecx, 0xbc
lea eax, [edi + 0x21d40]
add ecx, eax
je 0x41391a
mov dword [ecx + 8], 0x2f
mov edx, dword [edi + 0xb0cc]
mov dword [ecx + 0xc], edx
mov eax, dword [edi + 0xb0cc]
add eax, dword [ebp - 0x10]
mov dword [ecx + 0x40], esi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 8]
lea edx, [eax + eax*2]
sub eax, edx
mov dword [ecx + 0x28], edx
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x18], eax
lea ebx, [esi + esi*2]
mov eax, esi
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x30], ebx
mov ebx, dword [ebp - 4]
mov dword [ecx + 0x3c], 0xff
mov dword [ecx + 0x20], eax
mov dword [ecx + 0xa0], 1
mov dword [edi + 0xb04c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413930
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, eax
cmp byte [edi + 0xb00c], 0
je 0x41394b
mov esi, edi
call fcn.004117f0
mov ecx, 0x19
call fcn.00411a70
mov ecx, 0x1a
call fcn.00411a70
mov al, byte [edi + 0x541c]
test al, al
je 0x413974
mov ecx, dword [edi + 0x5420]
mov dword [ebp - 0xc], ecx
jmp 0x41397d
mov edx, dword [edi + 0x53e4]
mov dword [ebp - 0xc], edx
test al, al
je 0x41398c
mov eax, dword [edi + 0x5424]
mov dword [ebp - 0x10], eax
jmp 0x413995
mov ecx, dword [edi + 0x53e8]
mov dword [ebp - 0x10], ecx
push 0x1e
call fcn.00411000
push eax
push 0x13
mov esi, edi
mov dword [ebp - 8], eax
call fcn.00411bc0
mov dword [edi + 0xb0c8], 1
lea ebx, [edi + 0x21d40]
xor eax, eax
jmp 0x4139c0
cmp byte [ebx], 0
je 0x4139d5
inc eax
add ebx, 0xbc
cmp eax, 0x190
jl 0x4139c0
jmp 0x413a4e
lea esi, [ebx + 0xa4]
mov dword [ebp - 4], eax
mov byte [ebx], 1
call fcn.0044e3a0
mov esi, dword [ebp - 4]
xor eax, eax
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0x9c], eax
mov dword [ebx + 4], 1
cmp esi, 0xffffffff
je 0x413a4e
push eax
push eax
push eax
push 0x1a
push 1
mov ecx, esi
mov edx, edi
call fcn.00420ee0
mov eax, esi
imul eax, eax, 0xbc
lea ecx, [edi + 0x21d40]
add eax, ecx
je 0x413a48
mov dword [eax + 8], 0x20
mov edx, dword [edi + 0xb0cc]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0xb0cc]
add ecx, dword [ebp - 8]
mov dword [eax + 0x40], 0
mov dword [eax + 0x10], ecx
mov dword [edi + 0xb048], esi
lea ebx, [edi + 0x21d40]
xor eax, eax
cmp byte [ebx], 0
je 0x413a7a
inc eax
add ebx, 0xbc
cmp eax, 0x190
jl 0x413a56
mov dword [edi + 0xf58c], 0x80000001
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0xa4]
mov dword [ebp - 4], eax
mov byte [ebx], 1
call fcn.0044e3a0
xor esi, esi
mov dword [ebx + 0xa0], esi
mov dword [ebx + 0x9c], esi
mov dword [ebx + 4], 1
mov ebx, dword [ebp - 4]
cmp ebx, 0xffffffff
je 0x413b2f
push esi
push esi
push esi
push 0x19
push 1
mov ecx, ebx
mov edx, edi
call fcn.00420ee0
mov ecx, ebx
imul ecx, ecx, 0xbc
lea eax, [edi + 0x21d40]
add ecx, eax
je 0x413b29
mov dword [ecx + 8], 0x2f
mov edx, dword [edi + 0xb0cc]
mov dword [ecx + 0xc], edx
mov eax, dword [edi + 0xb0cc]
add eax, dword [ebp - 8]
mov dword [ecx + 0x40], esi
mov esi, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax*2]
sub eax, edx
mov dword [ecx + 0x28], edx
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x18], eax
lea ebx, [esi + esi*2]
mov eax, esi
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x30], ebx
mov ebx, dword [ebp - 4]
mov dword [ecx + 0x3c], 0xff
mov dword [ecx + 0x20], eax
mov dword [ecx + 0xa0], 1
mov dword [edi + 0xb04c], ebx
mov dword [edi + 0xf58c], 0x80000001
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test esi, esi
je 0x414680
call fcn.0044fd30
mov eax, ebx
shr eax, 1
mov ecx, esi
je 0x414671
mov edx, eax
lea ebx, [ebx]
call fcn.0044fd10
movzx eax, ax
xor word [ecx], ax
add ecx, 2
dec edx
jne 0x414660
test bl, 1
je 0x414680
call fcn.0044fd10
movzx eax, ax
xor byte [ecx], al
pop ebx
pop ebp
ret
Function at 0x41f5e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x485f78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4ae084]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.0044e1d0
mov dword [esp + 0x38], 0
mov eax, dword [esi + 8]
push 0x64
push eax
call dword [0x489280]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x1c]
push 1
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push 0
push edi
mov ecx, esi
call eax
mov eax, dword [0x4e29e8]
movzx edx, al
movzx edi, ah
movzx eax, word [0x4e29ea]
movzx ebx, al
shr eax, 8
movzx ecx, al
mov eax, 0x586628
mov dword [esp + 0x10], ecx
call fcn.0044e8a0
push eax
mov eax, dword [esp + 0x14]
push eax
push ebx
push edi
push edx
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
push ecx
mov ecx, 0x49cdc8
call fcn.0044e240
lea edi, [esp + 0x40]
call fcn.0044f580
mov ebx, dword [esi]
add esp, 0x2c
call fcn.0044e810
mov edx, dword [ebx + 0x8c]
push eax
push esi
call edx
add esp, 8
mov ecx, edi
mov dword [esp + 0x38], 0xffffffff
call fcn.0044e300
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42a510
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485848
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ae084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [edi + 0xc]
call fcn.0044e1d0
xor ebx, ebx
lea ecx, [edi + 0x38]
mov dword [ebp - 4], ebx
call fcn.0044e1d0
lea esi, [edi + 0x50]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0044e1d0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 2
call fcn.0044e1d0
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 3
call fcn.0044e1d0
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 4
call fcn.0044e1d0
mov byte [ebp - 4], 5
mov dword [edi], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x24], ebx
call fcn.0044e3a0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
mov ecx, str.data.fpk
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x34], ebx
call fcn.0044e240
call fcn.0044e530
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x448880
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x4488c8
mov al, byte [esi + 0x58c]
test al, al
jne 0x4488c8
push esi
mov byte [esi + 0x58e], al
push 0
mov byte [esi + 0x58d], al
push 0x448740
mov byte [esi + 0x58c], 1
call fcn.00454f5a
add esp, 0xc
mov dword [esi + 0x588], eax
cmp eax, 0xffffffff
jne 0x4488cc
mov byte [esi + 0x58c], 0
xor al, al
pop esi
ret
push 1
push eax
call dword [0x489158]
mov al, 1
pop esi
ret

Function at 0x4488e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x448929
mov al, byte [esi + 0x58c]
test al, al
jne 0x448929
push esi
mov byte [esi + 0x58e], 1
push 0
mov byte [esi + 0x58d], al
push 0x448740
mov byte [esi + 0x58c], 1
call fcn.00454f5a
add esp, 0xc
mov dword [esi + 0x588], eax
cmp eax, 0xffffffff
jne 0x44892d
mov byte [esi + 0x58c], 0
xor al, al
pop esi
ret
push 1
push eax
call dword [0x489158]
mov al, 1
pop esi
ret

Function at 0x450bf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [eax + eax*8 + 1]
shr eax, 1
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
movq mm0, qword [ebp - 0xc]
mov esi, dword [ebp + 8]
movq mm1, mm0
psllq mm1, 0x20
por mm0, mm1
mov ecx, dword [ebp - 4]
movq mm1, qword [esi]
pxor mm1, mm0
movq qword [esi], mm1
add esi, 8
sub ecx, 1
ja 0x450c1e
emms
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x453730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
xor edx, edx
cmp edi, edx
je 0x4537b8
mov ecx, dword [edi]
push ebx
push esi
mov esi, dword [edi + 4]
xor eax, eax
mov word [ecx + 0x16], dx
mov word [ecx + 0x18], dx
cmp esi, edx
jle 0x453771
movzx edi, byte [ecx + edx]
mov ebx, eax
shr ebx, 0x18
xor edi, ebx
shl eax, 8
xor eax, dword [edi*4 + 0x49a778]
inc edx
cmp edx, esi
jl 0x453752
mov edi, dword [ebp + 8]
xor edx, edx
mov esi, dword [edi + 0xc]
cmp esi, edx
jle 0x45379d
mov edi, dword [edi + 8]
mov dword [ebp + 8], edi
mov edi, edi
mov edi, dword [ebp + 8]
movzx edi, byte [edi + edx]
mov ebx, eax
shr ebx, 0x18
xor edi, ebx
shl eax, 8
xor eax, dword [edi*4 + 0x49a778]
inc edx
cmp edx, esi
jl 0x453780
mov edx, eax
shr edx, 8
mov byte [ecx + 0x16], al
mov byte [ecx + 0x17], dl
mov edx, eax
shr edx, 0x10
shr eax, 0x18
pop esi
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], al
pop ebx
pop edi
pop ebp
ret