joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035360
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x1008ab18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call sym.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_class_ScCore::Variant_const__
mov ebx, eax
test ebx, ebx
je 0x100354cc
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x100353ac
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x100353a8
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x100353ac
mov edi, eax
jmp 0x10035390
push 0x100
lea eax, [ebp - 0x184]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100354c4
push 0x80
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x100354c4
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
jne 0x100354c4
test edi, edi
je 0x100354c4
push esi
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test esi, esi
mov dword [ebp - 0x188], eax
pop esi
je 0x100354c4
cmp eax, edi
je 0x100354c4
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x10035471
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push dword [ebp - 0x188]
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a9e0
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2000
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 2
lea eax, [ebp - 0x188]
mov dword [ebp - 0x188], 0
push eax
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1005a9e0
mov esp, ebp
pop ebp
ret
Function at 0x100354f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x1003551b
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
push dword [ebp - 0xc]
push esi
call sym.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_class_ScCore::Variant_const__
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x10035544
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov edx, dword [ebp - 8]
test eax, eax
cmove edx, esi
mov dword [ebp - 8], edx
test edx, edx
jne 0x1003555a
lea eax, [ebp - 0xc]
push eax
push 0x100355e0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [ebp - 8]
test edx, edx
je 0x100355a1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008baa8]
mov dword [ebp - 4], edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008ba20]
cmp eax, dword [ecx + 4]
jg 0x100355a8
jmp 0x1003557e
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 0
push dword [0x1008ba1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 8]
test eax, eax
pop esi
cmovne ecx, dword [ebp - 4]
mov eax, ecx
mov esp, ebp
pop ebp
ret
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
push 0x1008ba20
call sym.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_class_ScCore::Variant_const__
add esp, 4
cmp dword [0x1008ba20], 0xffffffff
jne 0x1003557b
push str.adobe.sccore.get.dialog.owner
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push 0x1008ba20
mov dword [0x1008ba1c], eax
call sym.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_class_ScCore::Variant_const__
add esp, 4
jmp 0x1003557b
Function at 0x10035720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061183
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1008ab18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.ScCore::Thread.0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 1
call sym.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_class_ScCore::Variant_const__
mov edi, eax
mov ebx, edx
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push sym.ScCore.dll_private:_static_unsigned_int___stdcall_ScCore::Thread::go_void__
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x100357b8
mov dword [esi + 0xc], 0x20
mov eax, esi
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov eax, dword [0x1008b8f8]
test eax, eax
jne 0x100357cc
call sym.ScCore.dll_public:_static_class_ScCore::Context____cdecl_ScCore::Context::get_void_
mov dword [eax + 0x52], edi
mov dword [eax + 0x56], ebx
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 0x10035860
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0xc], 0
jne 0x1003586f
push dword [ecx + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x10035bb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1008ba4c]
test eax, eax
jne 0x10035c19
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x10035c19
push esi
push 0x16c
call sym.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_class_ScCore::Variant_const__
add esp, 4
test eax, eax
je 0x10035be6
mov ecx, eax
call sym.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_class_ScCore::Variant_const__
mov esi, eax
jmp 0x10035be8
xor esi, esi
cmp byte [0x1008ba48], 0
jne 0x10035c02
mov ecx, esi
mov dword [0x1008ba4c], esi
call fcn.1001d780
mov eax, esi
pop esi
ret
push esi
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.1001d780
mov eax, esi
pop esi
ret

Function at 0x10035c20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1008a930]
cmp eax, 0xffffffff
je 0x10035c76
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10035c67
mov ecx, dword [0x1008ba4c]
xor eax, eax
cmp esi, ecx
cmove ecx, eax
mov dword [0x1008ba4c], ecx
mov ecx, esi
call fcn.1001d7b0
mov ecx, esi
call fcn.1001d750
push 0x16c
push esi
call sym.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_class_ScCore::Variant_const__
add esp, 8
push 0
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
ret
Function at 0x415170
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0xfc]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x42506c
call fcn.0041139d
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], 0
jmp 0x4151d1
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 8], edx
jge 0x4152ff
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x10], 0
jne 0x415267
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x415262
mov esi, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x34]
push ecx
push 4
push 0x1000
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x1c]
call eax
add esp, 0x14
cmp esi, esp
call fcn.004113ac
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41523b
xor eax, eax
jmp 0x415304
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041117c
add esp, 0xc
jmp 0x4151bf
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x38]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004150f0
add esp, 8
test eax, eax
jne 0x415288
xor eax, eax
jmp 0x415304
mov esi, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x34]
push ecx
push 4
push 0x1000
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
call ecx
add esp, 0x14
cmp esi, esp
call fcn.004113ac
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4152c8
xor eax, eax
jmp 0x415304
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00411429
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
jmp 0x4151bf
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.004113ac
mov esp, ebp
pop ebp
ret
Function at 0x417ae0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
lea edi, [ebp - 0x134]
mov ecx, 0x4d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x422048]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x425089
call fcn.0041139d
mov dword [ebp - 0x70], 0
push 0x10
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.0041117c
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.0041117c
add esp, 0xc
mov dword [ebp - 0x64], 0x44
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov esi, esp
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp esi, esp
call fcn.004113ac
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x417b99
jmp 0x417bc4
mov esi, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004113ac
mov esi, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004113ac
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x417c10]
call fcn.004113e3
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411343
add esp, 0x134
cmp ebp, esp
call fcn.004113ac
mov esp, ebp
pop ebp
ret

Function at 0x417d70
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x425089
call fcn.0041139d
mov esi, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 8]
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
cmp esi, esp
call fcn.004113ac
mov esi, esp
push 0
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
cmp esi, esp
call fcn.004113ac
mov esi, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
cmp esi, esp
call fcn.004113ac
mov esi, esp
push 0
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
cmp esi, esp
call fcn.004113ac
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.004113ac
mov esp, ebp
pop ebp
ret
Function at 0x418240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x425089
call fcn.0041139d
mov esi, esp
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x418870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.004113ac
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.004113ac
mov esp, ebp
pop ebp
ret

Function at 0x418320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2624
call fcn.00411005
push ebx
push esi
push edi
lea edi, [ebp - 0x2624]
mov ecx, 0x989
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x422048]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x425089
call fcn.0041139d
push 0x2000
push 0
lea eax, [ebp - 0x2008]
push eax
call fcn.0041117c
add esp, 0xc
mov dword [ebp - 0x2014], 0
mov dword [ebp - 0x2020], 0
push str.Expecting_bytes_from_socket..._n
call fcn.0041151e
add esp, 4
push 0x2000
lea eax, [ebp - 0x2008]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004186e0
add esp, 0xc
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp - 0x2014]
push eax
push str.__d_Bytes_Received_from_Socket_....._n
call fcn.0041151e
add esp, 8
cmp dword [ebp - 0x2014], 0
jg 0x4183d0
mov eax, dword [ebp - 0x2014]
jmp 0x418410
cmp dword [ebp - 0x2014], 0
jle 0x418403
mov esi, esp
push 0
lea eax, [ebp - 0x2020]
push eax
mov ecx, dword [ebp - 0x2014]
push ecx
lea edx, [ebp - 0x2008]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.004113ac
cmp dword [ebp - 0x2014], 0
jg 0x418380
push edx
mov ecx, ebp
push eax
lea edx, [0x418440]
call fcn.004113e3
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411343
add esp, 0x2624
cmp ebp, esp
call fcn.004113ac
mov esp, ebp
pop ebp
ret
Function at 0x4184d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2630
call fcn.00411005
push ebx
push esi
push edi
lea edi, [ebp - 0x2630]
mov ecx, 0x98c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x422048]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x425089
call fcn.0041139d
push 0x2000
push 0
lea eax, [ebp - 0x2008]
push eax
call fcn.0041117c
add esp, 0xc
mov dword [ebp - 0x2014], 0
mov dword [ebp - 0x2020], 0
push str.Expecting_bytes_from_shell..._n
call fcn.0041151e
add esp, 4
mov esi, esp
push 0
lea eax, [ebp - 0x2020]
push eax
push 0x2000
lea ecx, [ebp - 0x2008]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.004113ac
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp - 0x2020]
push eax
push str._d_Bytes_read_from_shell..._n
call fcn.0041151e
add esp, 8
cmp dword [ebp - 0x2020], 0
jne 0x41859d
push str.Returning_from__ReadFromStdinWriteSocket_....._n
call fcn.0041151e
add esp, 4
mov eax, dword [ebp - 0x2014]
jmp 0x418614
cmp dword [ebp - 0x2014], 0
je 0x4185ff
cmp dword [ebp - 0x2020], 0
je 0x4185ff
mov eax, dword [ebp - 0x2020]
push eax
lea ecx, [ebp - 0x2008]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00411316
add esp, 0xc
mov dword [ebp - 0x202c], eax
cmp dword [ebp - 0x202c], 0
jge 0x4185e0
mov eax, dword [ebp - 0x2014]
jmp 0x418614
cmp dword [ebp - 0x202c], 0
jle 0x4185fd
mov eax, dword [ebp - 0x202c]
push eax
push str._d_Bytes_send_to_socket_....._n
call fcn.0041151e
add esp, 8
jmp 0x418607
mov eax, dword [ebp - 0x2014]
jmp 0x418614
cmp dword [ebp - 0x2014], 0
jg 0x418530
push edx
mov ecx, ebp
push eax
lea edx, [0x418644]
call fcn.004113e3
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411343
add esp, 0x2630
cmp ebp, esp
call fcn.004113ac
mov esp, ebp
pop ebp
ret

Function at 0x4186e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x425089
call fcn.0041139d
mov dword [ebp - 8], 0
mov esi, esp
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call fcn.004113ac
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x418748
mov eax, dword [ebp - 8]
push eax
push str.Bytes_received:__d_n
call fcn.0041151e
add esp, 8
jmp 0x41877f
cmp dword [ebp - 8], 0
jne 0x41875d
push str.Connection_closed_n
call fcn.0041151e
add esp, 4
jmp 0x41877f
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004113ac
push eax
push str.recv_failed:__d_n
call fcn.0041151e
add esp, 8
or eax, 0xffffffff
jmp 0x418782
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.004113ac
mov esp, ebp
pop ebp
ret
Function at 0xaaa6c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x56d000]
push edi
or ebp, 0xffffffff
jmp 0xaaa6e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xaaa6e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa6d8
mov eax, 1
add ebx, ebx
jne 0xaaa6fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xaaa70c
jne 0xaaa72b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa72b
dec eax
add ebx, ebx
jne 0xaaa718
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xaaa6f0
add ebx, ebx
jne 0xaaa727
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xaaa77d
xor ecx, ecx
sub eax, 3
jb 0xaaa743
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xaaa7b2
sar eax, 1
mov ebp, eax
jmp 0xaaa74e
add ebx, ebx
jne 0xaaa74e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa71c
inc ecx
add ebx, ebx
jne 0xaaa75c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaaa71c
add ebx, ebx
jne 0xaaa769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xaaa75e
jne 0xaaa77a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xaaa75e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xaaa79c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xaaa78e
jmp 0xaaa6de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xaaa79c
add edi, ecx
jmp 0xaaa6de
pop esi
mov edi, esi
mov ecx, 0x67152d
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xaaa7d7
cmp byte [edi], 0x6d
jne 0xaaa7bc
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xaaa7ba
lea edi, [esi + 0x6a8000]
mov eax, dword [edi]
or eax, eax
je 0xaaa828
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6aabd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6aac0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xaaa7dd
mov ecx, edi
jns 0xaaa80c
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 + 0x6aac10]
or eax, eax
je 0xaaa822
mov dword [ebx], eax
add ebx, 4
jmp 0xaaa7fa
call dword [esi + 0x6aac20]
mov ebp, dword [esi + 0x6aac14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0xaaa85c
sub esp, 0xffffff80
jmp 0x410ce8
Function at 0x67c9a0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0067caf0
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x67c9c6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67c9b2
add dl, dl
jne 0x67c9d1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67ca24
xor eax, eax
add dl, dl
jne 0x67c9de
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67cac5
add dl, dl
jne 0x67c9ed
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67c9f8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67ca03
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67ca0e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x67ca1a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x67c9bd
mov eax, 1
add dl, dl
jne 0x67ca32
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67ca3d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67ca29
sub eax, ebx
mov ebx, 1
jne 0x67ca70
mov ecx, 1
add dl, dl
jne 0x67ca56
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x67ca61
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67ca4d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67c9bd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x67ca87
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x67ca92
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67ca7e
cmp eax, 0x7d00
jae 0x67cab5
cmp eax, 0x500
jb 0x67cab0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67c9bd
cmp eax, 0x7f
ja 0x67cab8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67c9bd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x67cae6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x67c9bd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10