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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022956d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
test byte [edi + 8], 1
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
jne 0x10031cab
mov eax, dword [edi]
push dword [0x102ad720]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10031cab
nop word [eax + eax]
cmp dword [eax], esi
je 0x10031ceb
mov eax, dword [eax + 8]
test eax, eax
jne 0x10031ca0
push dword [0x102ad720]
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10031d5a
mov eax, dword [eax + 4]
test eax, eax
je 0x10031d5a
mov ecx, dword [eax]
test ecx, ecx
je 0x10031d5a
mov dword [eax], 0
mov al, byte [ecx]
cmp al, 0xa
jb 0x10031d51
mov byte [ecx + 0x28], al
jmp 0x10031d6a
cmp dword [eax + 4], 0
je 0x10031cab
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov dword [ebx], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.10032390
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10031dce
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
jmp 0x10031dce
push ecx
call fcn.100df630
add esp, 4
push 0x29
call fcn.101d507c
mov ecx, eax
add esp, 4
mov byte [ecx + 0x28], 0xa
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0x100323b0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x1c], 0
mov eax, dword [ebx]
push ecx
mov dword [ecx + 0x20], eax
mov dword [ebx], 0
push ecx
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
call fcn.100324a0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.100322f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 4

Function at 0x100322a0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0x102ad720]
mov esi, ecx
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100322cb
nop dword [eax]
cmp dword [eax], esi
je 0x100322cd
mov eax, dword [eax + 8]
test eax, eax
jne 0x100322c0
pop esi
ret
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100322cb
pop esi
jmp fcn.100320f0
Function at 0x100322f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10225620
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1029912c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x1003233c
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10032335
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10032378
push dword [0x102ad720]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10032368
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10032368
cmp dword [ecx], 0
jne 0x10032368
mov al, byte [esi + 0x28]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x10032371
push esi
call fcn.100df630
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100337b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push 0x102a8ad8
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push 0x1003c720
push 0x102a8ae0
mov esi, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
call fcn.101d1ed1
add esp, 0xc
test eax, eax
je 0x100338b5
push 0
push 0
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 1
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x102a7d90]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102a8ac0]
cmp eax, dword [ecx + 4]
jle 0x1003387e
push 0x102a8ac0
call fcn.101d529a
add esp, 4
cmp dword [0x102a8ac0], 0xffffffff
jne 0x1003387e
push 0x10232180
mov dword [0x102a8ac8], 0x102a8ac4
mov dword [0x102a8ac4], 0x1026b454
call fcn.101d56bf
add esp, 4
push 0x102a8ac0
call fcn.101d5250
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x10033890
mov edx, 0x2746
jmp 0x1003389c
cmp eax, 0x4d2
jne 0x100338a5
mov edx, 0x274d
lea ecx, [esp + 4]
call fcn.100353b0
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
call fcn.101f7e31
int3
Function at 0x10039c80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, 1
lock xadd dword [0x102a8aa8], eax
inc eax
mov ebx, 0x102a8aac
cmp eax, 1
jne 0x10039cc6
lea eax, [esp + 0x18]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
cmp byte [ebp + 8], 0
je 0x10039cd6
xor esi, esi
lock xadd dword [ebx], esi
test esi, esi
jne 0x10039cef
mov ecx, dword [esp + 0x1ac]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 4
mov eax, dword fs:[0x2c]
mov ecx, dword [0x102a7d90]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102a8ac0]
cmp eax, dword [ecx + 4]
jle 0x10039d4f
push 0x102a8ac0
call fcn.101d529a
add esp, 4
cmp dword [0x102a8ac0], 0xffffffff
jne 0x10039d4f
push 0x10232180
mov dword [0x102a8ac8], 0x102a8ac4
mov dword [0x102a8ac4], 0x1026b454
call fcn.101d56bf
add esp, 4
push 0x102a8ac0
call fcn.101d5250
add esp, 4
mov edx, str.winsock
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0x102a8ac4
call fcn.1003c190
int3

Function at 0x1003a030
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x102a8ab0
lock xadd dword [ecx], eax
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x1003a092
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
push fcn.10002970
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101d506b
mov esp, ebp
pop ebp
ret
Function at 0x1003a900
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022a129
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.asio::detail::win_iocp_io_context.0
mov dword [esi + 0x14], 0
lea edi, [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [edi], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.1003a310
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], 0
call fcn.1003a460
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1003aa75
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x102a7d90]
mov edi, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102a8ac0]
cmp eax, dword [ecx + 4]
jle 0x1003aa60
push 0x102a8ac0
call fcn.101d529a
add esp, 4
cmp dword [0x102a8ac0], 0xffffffff
jne 0x1003aa60
push 0x10232180
mov dword [0x102a8ac8], 0x102a8ac4
mov dword [0x102a8ac4], 0x1026b454
call fcn.101d56bf
add esp, 4
push 0x102a8ac0
call fcn.101d5250
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x102a8ac4
test edi, edi
jne 0x1003ab18
lea edi, [esi + 0x18]
cmp byte [ebx + 0x10], 0
je 0x1003aaf6
lock inc dword [edi]
push 0xc
call fcn.101d507c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 7
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.101d507c
add esp, 4
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [eax], xmm0
push 0
push eax
mov dword [eax], vtable.asio::detail::win_thread::func_struct_asio::detail::win_iocp_io_context::thread_function_.0
mov dword [eax + 0xc], esi
call fcn.1003a5f0
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003aaf3
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push dword [ebp - 0x20]
call fcn.101d50ac
add esp, 8
mov dword [esi + 0x60], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov edx, str.iocp
lea ecx, [ebp - 0x1c]
call fcn.1003c190
int3
Function at 0x1003b310
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022a220
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x18]
xor edx, edx
lock xadd dword [eax], edx
test edx, edx
jne 0x1003b385
call fcn.1003c220
push 0x102a8ad8
push 0x1003c720
push 0x102a8ae0
call fcn.101d1ed1
add esp, 0xc
test eax, eax
je 0x1003b486
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 4], 0x102a8ad8
jmp 0x1003b468
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.101d2c94
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, esi
mov dword [ebp - 4], 1
push dword [0x102ad720]
neg ecx
mov dword [ebp - 0x18], 0
lea eax, [esi + 0x14]
xorps xmm0, xmm0
sbb ecx, ecx
movq qword [ebp - 0x20], xmm0
and ecx, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x102ad720]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
push ecx
mov ecx, esi
xor edi, edi
call fcn.1003aef0
test eax, eax
je 0x1003b430
cmp edi, 0xffffffff
lea eax, [edi + 1]
push ebx
cmove eax, edi
mov edi, eax
lea eax, [ebp - 0x38]
push eax
push ecx
mov ecx, esi
call fcn.1003aef0
test eax, eax
jne 0x1003b414
push dword [ebp - 0x18]
push dword [0x102ad720]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
push dword [ebp + esi*4 - 0x38]
call fcn.100df630
inc esi
add esp, 4
cmp esi, 3
jl 0x1003b441
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
call fcn.101d2cce
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 4
call fcn.101f7e31
int3
Function at 0x10042d90
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022ad0b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x118], esi
push 0
push 0x1024c6da
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
call fcn.100025c0
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x118], 0
call fcn.101ee530
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x104
push str.winpcc
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.101fd42b
add esp, 0x10
lea eax, [ebp - 0x114]
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
cmp edi, 0xffffffff
jne 0x10042ecd
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0x1024c6da
mov ecx, esi
call fcn.100025c0
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x10042fd3
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10042fc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042ff3
jmp 0x10042fc9
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x134], eax
test eax, eax
jne 0x10042efa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0
jmp 0x10042e84
push 1
push eax
call fcn.101f92ea
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10042ede
push 0
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x134]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10042f31
push ebx
call fcn.101f0951
add esp, 4
jmp 0x10042ede
push dword [ebp - 0x134]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x13c], 0
push ebx
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
call fcn.100025c0
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x130]
call fcn.10006350
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x10042fa6
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10042f9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042ff3
push edx
push ecx
call fcn.101d50ac
add esp, 8
push ebx
call fcn.101f0951
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x130]
mov ecx, esi
push eax
call fcn.10006390
jmp 0x10042e90
push edx
push ecx
call fcn.101d50ac
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 4
call fcn.101f0b28
int3
Function at 0x10044180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022ae7b
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x40]
call fcn.100479d0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.102183e0
add esp, 4
test al, al
je 0x10044341
push 0xb8
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.101ee530
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xf8]
call fcn.1004d130
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xec], 1
jne 0x1004432b
nop
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.1004e220
movaps xmm0, xmmword [0x1027a780]
mov ecx, 0x12
add esp, 8
mov dword [ebp - 0x110], ecx
movups xmmword [ebp - 0x10c], xmm0
mov dword [ebp - 0xfc], 0x5b343c
xor eax, eax
nop
lea ecx, [eax + 0x49]
xor byte [ebp + eax - 0x10c], cl
inc eax
mov ecx, dword [ebp - 0x110]
cmp eax, ecx
jb 0x10044260
mov byte [ebp + ecx - 0x10c], 0
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10044286
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
sub ecx, edx
mov ebx, dword [ebp - 0x18]
cmp edi, 0x10
push ecx
lea ecx, [ebp - 0x10c]
cmovae eax, esi
push ecx
push 0
push ebx
push eax
call fcn.10007d30
add esp, 0x14
cmp eax, 0xffffffff
je 0x100442e0
push 3
push 0x1026c6f0
cmp edi, 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, esi
push ebx
push eax
call fcn.10007d30
add esp, 0x14
cmp eax, 0xffffffff
sete byte [0x102a925f]
mov byte [ebp - 4], 1
cmp edi, 0x10
jb 0x10044314
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1004430a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004438d
push ecx
push esi
call fcn.101d50ac
add esp, 8
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xec], 1
je 0x10044210
lea ecx, [ebp - 0xf8]
call fcn.1004d0c0
lea ecx, [ebp - 0xf8]
call fcn.100443a0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10044371
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10044367
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004438d
push edx
push ecx
call fcn.101d50ac
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
call fcn.101f0b28
int3
Function at 0x10047630
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022b300
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c
push esi
mov eax, dword [0x1029912c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x1027a730]
xor ecx, ecx
mov eax, 0x18
mov dword [ebp - 0x64], 0x3f393b2a
mov dword [ebp - 0x78], eax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0xd303d73
mov byte [ebp - 0x5c], 0x61
mov word [ebp - 0x5b], cx
mov byte [ebp - 0x59], cl
lea eax, [ecx + 0x49]
xor byte [ebp + ecx - 0x74], al
inc ecx
mov eax, dword [ebp - 0x78]
cmp ecx, eax
jb 0x10047698
lea ecx, [ebp - 0x74]
mov byte [ebp + eax - 0x74], 0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100476c4
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100025c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0xc
push str.cs_main_page
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100025c0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000c590
mov ecx, eax
call fcn.1000d190
mov esi, eax
cmp esi, 0x10299f6c
je 0x1004775c
mov ecx, 0x10299f6c
call fcn.10002520
movups xmm0, xmmword [esi]
movups xmmword [0x10299f6c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x10299f7c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10047790
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10047786
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047827
push edx
push ecx
call fcn.101d50ac
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x100477d2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100477c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004782c
push edx
push ecx
call fcn.101d50ac
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10047814
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004780a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047831
push edx
push ecx
call fcn.101d50ac
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101f0b28
call fcn.101f0b28
call fcn.101f0b28
int3
Function at 0x10047840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022b348
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10299f88
mov dword [ebp - 0x14], 0x10299f84
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.101b6300
push 0
mov byte [ebp - 4], 1
call fcn.101b77c0
mov ecx, eax
call fcn.101b6c20
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.101b6490
mov eax, dword [0x102a9400]
mov dword [0x102a9404], 0
test eax, eax
je 0x100478f8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.101b6300
mov byte [ebp - 4], 2
push 0
push dword [0x102a9400]
call fcn.101b77c0
mov ecx, eax
call fcn.101b7aa0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.101b6490
xor al, al
mov ecx, 0x102a8c04
xchg byte [ecx], al
lea ecx, [ebp - 0x44]
call fcn.101b6300
mov byte [ebp - 4], 3
push 3
push dword [0x102a941c]
push dword [0x102a93a0]
call fcn.101b77c0
mov ecx, eax
call fcn.101b8d00
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.101b6490
push 0
push 0
push 0xf
push dword [0x102a93a0]
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x44]
call fcn.101b6300
mov byte [ebp - 4], 4
push 3
push dword [0x102a942c]
push dword [0x102a93a8]
call fcn.101b77c0
mov ecx, eax
call fcn.101b8d00
lea ecx, [ebp - 0x44]
call fcn.101b6490
push 0
push 0
push 0xf
push dword [0x102a93a8]
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [0x102a9388]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [0x102a9388]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x10299f88
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret