joyce8/EMBER2024-capa huggingface dataset:
Function at 0x922480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x932718
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x9440c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::exception_detail::clone_base.0
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
push eax
call sub.VCRUNTIME140.dll___std_exception_copy
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x92250f
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [edi], vtable.boost::wrapexcept_class_boost::system::system_error_.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::system::system_error_.1.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::system::system_error_.2.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 4
Function at 0x9234f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x932a3e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x9440c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_context.0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [edi + 0x34], 0
call fcn.00923700
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], esi
mov dword [edi + 0x60], 0
or eax, 0xffffffff
mov byte [ebp - 4], 6
test esi, esi
cmovns eax, esi
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x923626
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x944010
push eax
lea ecx, [ebp - 0x1c]
call fcn.009227a0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], str.C:Userspc_source_reposRebirth_Launcherpackages_boost.1.84.0lib_nativeinclude_boost_asiodetailimplwin_iocp_io_context.ipp
mov dword [ebp - 0x2c], str.win_iocp_io_context
mov dword [ebp - 0x28], 0x66
mov dword [ebp - 0x24], 0x1a
test al, 1
je 0x923626
cmp eax, 1
jne 0x9236e6
cmp dword [ebp - 0x1c], 0
setne al
test al, al
jne 0x9236e6
cmp byte [ebp + 0x10], 0
je 0x9236c7
lea eax, [edi + 0x18]
lock inc dword [eax]
push 0xc
call fcn.00930aa0
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x9236a2
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00930aa0
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x923695
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [eax], xmm0
push eax
mov dword [eax], vtable.boost::asio::detail::win_thread::func_struct_boost::asio::detail::win_iocp_io_context::thread_function_.0
mov dword [eax + 0xc], edi
call fcn.0092de50
jmp 0x9236a4
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.0092de50
jmp 0x9236a4
xor esi, esi
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x9236c4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push dword [ebp - 0x20]
call fcn.0093059c
add esp, 8
mov dword [edi + 0x60], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x30]
push eax
push str.iocp
lea eax, [ebp - 0x1c]
push eax
call fcn.00929680
int3
Function at 0x927fe0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x9440c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
push edi
mov edi, dword [ebp + 0x14]
cmp esi, 0xffffffff
je 0x9281c6
cmp byte [ebp + 0x10], 0
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
je 0x92804e
mov al, byte [ecx]
test al, 8
je 0x92804e
or al, 8
xor edx, edx
push 4
mov byte [ecx], al
lea eax, [ebp - 8]
push eax
push 0x80
push 0xffff
push esi
mov dword [ebp - 8], edx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x92804e
push 0x944010
call ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.009227a0
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 8], eax
test eax, eax
jne 0x928077
xorps xmm0, xmm0
movq qword [edi], xmm0
pop ebx
mov dword [edi + 8], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
push 0x944010
call ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.009227a0
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov eax, dword [0x944018]
mov ebx, dword [0x94401c]
cmp eax, 0x257edfd1
jne 0x9280af
cmp ebx, 0xb2ab117a
je 0x9280be
cmp eax, 0x257edfd0
jne 0x9280c2
cmp ebx, 0xb2ab117a
jne 0x9280c2
mov al, 1
jmp 0x9280dc
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov ebx, dword [0x94401c]
movzx eax, al
add eax, 2
mov dword [ebp - 0x14], 0x2733
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x10], 0x944010
call fcn.00924ad0
add esp, 8
test al, al
jne 0x92817b
mov eax, dword [0x944018]
cmp eax, 0x257edfd1
jne 0x928118
cmp ebx, 0xb2ab117a
je 0x928127
cmp eax, 0x257edfd0
jne 0x92812b
cmp ebx, 0xb2ab117a
jne 0x92812b
mov al, 1
jmp 0x92813f
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x14], 0x4d5
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x10], 0x944010
call fcn.00924ad0
add esp, 8
test al, al
jne 0x92817b
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp - 0x18]
push esi
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
test esi, esi
setne al
movzx eax, al
push eax
push edi
call fcn.0092a140
add esp, 8
mov eax, esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.009305aa
mov esp, ebp
pop ebp
ret
Function at 0x928350
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x9283bf
mov ecx, dword [0x944018]
mov eax, dword [0x94401c]
cmp ecx, 0x257edfd1
jne 0x928378
cmp eax, 0xb2ab117a
je 0x928387
cmp ecx, 0x257edfd0
jne 0x92838b
cmp eax, 0xb2ab117a
jne 0x92838b
mov al, 1
jmp 0x92839f
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp + 0x14]
movzx eax, al
add eax, 2
mov dword [ecx], 0x2719
mov dword [ecx + 4], 0x944010
mov dword [ecx + 8], eax
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
test esi, esi
jne 0x9283e5
mov ecx, dword [ebp + 0x14]
xorps xmm0, xmm0
pop esi
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret
push 0x944010
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0xc]
call fcn.009227a0
mov ecx, dword [ebp + 0x14]
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x92a610
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x9440c0]
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, 0x94556c
lock xadd dword [ecx], eax
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x92a672
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
push method.boost::asio::execution_context::service.virtual_8
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.009305aa
mov esp, ebp
pop ebp
ret
Function at 0x92c9a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x9440c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 0x10]
push ecx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSARecv]
push 0x944010
mov dword [ebp - 0x14], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x20]
call fcn.009227a0
mov dword [ebp - 0x10], 0x1ffff7
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov ecx, dword [eax + 8]
mov ebx, ecx
mov dword [esi + 8], ecx
cmp ebx, 1
je 0x92ca18
mov eax, dword [esi]
mov ecx, eax
jmp 0x92ca2a
mov eax, dword [esi + 4]
xor edx, edx
div dword [ebp - 0x10]
mov ecx, dword [esi]
imul eax, edx, 0x3e8
add eax, ecx
cmp eax, 0x40
jne 0x92ca81
mov ecx, dword [0x944018]
mov eax, dword [0x94401c]
cmp ecx, 0x257edfd1
jne 0x92ca49
cmp eax, 0xb2ab117a
je 0x92ca58
cmp ecx, 0x257edfd0
jne 0x92ca65
cmp eax, 0xb2ab117a
jne 0x92ca65
mov al, 1
mov dword [esi], 0x2746
jmp 0x92cae8
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x2746
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x2746
jmp 0x92cae8
cmp ebx, 1
je 0x92ca8a
mov eax, ecx
jmp 0x92ca9a
mov eax, dword [esi + 4]
xor edx, edx
div dword [ebp - 0x10]
imul eax, edx, 0x3e8
add eax, ecx
cmp eax, 0x4d2
jne 0x92cafa
mov ecx, dword [0x944018]
mov eax, dword [0x94401c]
cmp ecx, 0x257edfd1
jne 0x92cabb
cmp eax, 0xb2ab117a
je 0x92caca
cmp ecx, 0x257edfd0
jne 0x92cace
cmp eax, 0xb2ab117a
jne 0x92cace
mov al, 1
jmp 0x92cae2
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x274d
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x274d
movzx eax, al
add eax, 2
mov dword [esi + 4], 0x944010
mov dword [esi + 8], eax
jmp 0x92cb3b
cmp ebx, 1
je 0x92cb03
mov eax, ecx
jmp 0x92cb13
mov eax, dword [esi + 4]
xor edx, edx
div dword [ebp - 0x10]
imul eax, edx, 0x3e8
add eax, ecx
cmp eax, 0x2738
je 0x92cb55
cmp ebx, 1
jne 0x92cb33
mov eax, dword [esi + 4]
xor edx, edx
mov ebx, 0x1ffff7
div ebx
imul eax, edx, 0x3e8
add ecx, eax
cmp ecx, 0xea
je 0x92cb55
cmp dword [ebp - 0x14], 0
je 0x92cb55
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
mov eax, dword [ebp - 8]
xor ecx, ebp
movq qword [esi], xmm0
pop edi
mov dword [esi + 8], 0
pop esi
pop ebx
call fcn.009305aa
mov esp, ebp
pop ebp
ret
Function at 0x92d830
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x9440c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
push 0
push 0
push dword [ebp + 0x14]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASend]
push 0x944010
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x18]
call fcn.009227a0
mov dword [ebp - 0xc], 0x1ffff7
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov ecx, dword [eax + 8]
mov edi, ecx
mov dword [esi + 8], ecx
cmp edi, 1
je 0x92d8a0
mov eax, dword [esi]
mov ecx, eax
jmp 0x92d8b2
mov eax, dword [esi + 4]
xor edx, edx
div dword [ebp - 0xc]
mov ecx, dword [esi]
imul eax, edx, 0x3e8
add eax, ecx
cmp eax, 0x40
jne 0x92d909
mov ecx, dword [0x944018]
mov eax, dword [0x94401c]
cmp ecx, 0x257edfd1
jne 0x92d8d1
cmp eax, 0xb2ab117a
je 0x92d8e0
cmp ecx, 0x257edfd0
jne 0x92d8ed
cmp eax, 0xb2ab117a
jne 0x92d8ed
mov al, 1
mov dword [esi], 0x2746
jmp 0x92d971
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x2746
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x2746
jmp 0x92d971
cmp edi, 1
jne 0x92d922
mov eax, dword [esi + 4]
xor edx, edx
mov edi, 0x1ffff7
div edi
imul eax, edx, 0x3e8
add ecx, eax
cmp ecx, 0x4d2
jne 0x92d981
mov ecx, dword [0x944018]
mov eax, dword [0x94401c]
cmp ecx, 0x257edfd1
jne 0x92d944
cmp eax, 0xb2ab117a
je 0x92d953
cmp ecx, 0x257edfd0
jne 0x92d957
cmp eax, 0xb2ab117a
jne 0x92d957
mov al, 1
jmp 0x92d96b
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x274d
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x274d
movzx eax, al
add eax, 2
mov dword [esi + 4], 0x944010
mov dword [esi + 8], eax
test ebx, ebx
je 0x92d999
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
mov eax, dword [ebp - 8]
xor ecx, ebp
movq qword [esi], xmm0
pop edi
mov dword [esi + 8], 0
pop esi
pop ebx
call fcn.009305aa
mov esp, ebp
pop ebp
ret
Function at 0x92dda0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x9440c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0x14]
push 1
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x92de0f
cmp dword [ebp + 8], 0x17
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
jne 0x92ddfd
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
push 0x944010
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x14]
call fcn.009227a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
or eax, 0xffffffff
pop edi
pop esi
call fcn.009305aa
mov esp, ebp
pop ebp
ret
Function at 0x92e7d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x9440c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10c], ecx
push ebx
mov ebx, dword [ebp + 0x20]
cmp eax, 0xffffffff
jne 0x92e860
mov ecx, dword [0x944018]
mov eax, dword [0x94401c]
cmp ecx, 0x257edfd1
jne 0x92e812
cmp eax, 0xb2ab117a
je 0x92e821
cmp ecx, 0x257edfd0
jne 0x92e825
cmp eax, 0xb2ab117a
jne 0x92e825
mov al, 1
jmp 0x92e839
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebx], 0x2719
add eax, 2
mov dword [ebx + 4], 0x944010
mov dword [ebx + 8], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x1c], 0
je 0x92e88b
test byte [ebp + 0xc], 0x10
je 0x92e88b
xorps xmm0, xmm0
xor eax, eax
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
push esi
push edi
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ecx
push eax
call fcn.0092d830
add esp, 0x14
test eax, eax
jns 0x92ea36
test byte [ebp + 0xc], 1
jne 0x92ea34
mov edi, dword [0x944018]
mov esi, dword [0x94401c]
cmp edi, 0x257edfd1
jne 0x92e8cc
cmp esi, 0xb2ab117a
je 0x92e8dc
cmp edi, 0x257edfd0
jne 0x92e8e0
cmp esi, 0xb2ab117a
jne 0x92e8e0
mov al, 1
jmp 0x92e900
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x94401c]
mov edi, dword [0x944018]
movzx eax, al
add eax, 2
mov dword [ebp - 0x124], 0x2733
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x124]
push eax
push ebx
mov dword [ebp - 0x120], 0x944010
call fcn.00924ad0
add esp, 8
test al, al
jne 0x92e9a4
cmp edi, 0x257edfd1
jne 0x92e944
cmp esi, 0xb2ab117a
je 0x92e954
cmp edi, 0x257edfd0
jne 0x92e958
cmp esi, 0xb2ab117a
jne 0x92e958
mov al, 1
jmp 0x92e96c
mov eax, dword [0x944010]
mov ecx, 0x944010
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x118], 0x4d5
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x118]
push eax
push ebx
mov dword [ebp - 0x114], 0x944010
call fcn.00924ad0
add esp, 8
test al, al
je 0x92ea34
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0
push 0
push eax
push 0
lea eax, [esi + 1]
mov dword [ebp - 0x104], esi
push eax
mov dword [ebp - 0x108], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x92ea0f
push ebx
push dword [ebp + 0x18]
xorps xmm0, xmm0
push dword [ebp + 0x14]
movq qword [ebx], xmm0
push dword [ebp - 0x10c]
mov dword [ebx + 8], 0
push esi
call fcn.0092d830
add esp, 0x14
test eax, eax
js 0x92e8b0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009305aa
mov esp, ebp
pop ebp
ret
push 0x944010
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x118]
call fcn.009227a0
movq xmm0, qword [eax]
movq qword [ebx], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.009305aa
mov esp, ebp
pop ebp
ret
Function at 0x930630
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [0x9455bc], 6
jl 0x93064a
vmovd xmm0, ecx
vpinsrd xmm0, xmm0, edx, 1
vcvtqq2pd xmm0, xmm0
ret
movd xmm0, ecx
orps xmm0, xmmword [0x93d520]
subsd xmm0, qword [0x93d520]
test edx, edx
je 0x930671
cvtsi2sd xmm1, edx
mulsd xmm1, qword [0x93d540]
addsd xmm0, xmm1
ret

Function at 0x93108e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x9310cd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x9310cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x9310cd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x9310cd
cmp dword [ecx + 0x74], 0xe
jbe 0x9310cd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219