joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416b03
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x461253
call fcn.00447ea9
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x416b51
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x416b51
push dword [ebp + 8]
lea esi, [ebp - 0x28]
push str.CreateDirectory__S_failed
call fcn.0042a6df
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.004270a1
push 0
push 1
mov ecx, esi
call fcn.004097af
call fcn.00447f81
ret
Function at 0x418d29
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx]
sub esp, 0x2c
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x68]
cmp dword [eax + 0x18], 8
jb 0x418d45
mov eax, dword [eax + 4]
jmp 0x418d48
add eax, 4
push esi
push edi
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.00409a53
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
fild qword [ebp - 0x18]
mov dword [ebp - 8], edi
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x477088]
fnstsw ax
test ah, 5
jp 0x418dc1
mov ecx, dword [ebx + 0x15c]
mov eax, dword [ecx]
push edi
push str.There_is_not_enough_room_on_your_disk_to_install_Roblox._Please_free_up_some_space_and_try_again.
call dword [eax + 0x1c]
push 5
lea esi, [ebp - 0x20]
call fcn.00425f43
push 0x47bda4
mov eax, esi
push eax
call fcn.00447fb3
pop edi
pop esi
leave
ret
Function at 0x41b467
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460039
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x488180]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x488180]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x5b], 0
je 0x41b4bf
push 1
lea esi, [esp + 0x2c]
call fcn.00425f6b
push 0x47bd58
mov eax, esi
push eax
call fcn.00447fb3
lea edi, [eax + 0x80]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jbe 0x41b5f0
push 0x46985d
lea ecx, [esp + 0x58]
call fcn.004084cc
and dword [esp + 0x80], 0
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.0043dabf
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x1c]
call fcn.0043dabf
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x41b525
cmp ebx, dword [esp + 0x1c]
je 0x41b52a
call fcn.00444291
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x20]
je 0x41b57e
test ebx, ebx
jne 0x41b576
call fcn.00444291
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41b549
call fcn.00444291
push 0xffffffffffffffff
mov eax, esi
push 0
lea esi, [esp + 0x5c]
call fcn.0040a316
test ebx, ebx
jne 0x41b57a
call fcn.00444291
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x10]
jb 0x41b56f
call fcn.00444291
add dword [esp + 0x18], 0x1c
jmp 0x41b50b
mov eax, dword [ebx]
jmp 0x41b53f
mov ebx, dword [ebx]
jmp 0x41b561
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push str.previous_error
push eax
call fcn.0040b907
add esp, 0xc
mov byte [esp + 0x80], 1
cmp dword [eax + 0x18], 0x10
jb 0x41b5a8
mov eax, dword [eax + 4]
jmp 0x41b5ab
add eax, 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.00443d8d
push 0
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], vtable.silent_exception.0
mov byte [esp + 0x88], 0
call fcn.004097af
mov dword [esp + 0x1c], vtable.previous_error.0
push 0x47be1c
lea eax, [esp + 0x20]
jmp 0x41b4b9
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00443d6d
mov esp, ebp
pop ebp
ret 4
Function at 0x41b8b4
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x46226f
call fcn.00447ea9
mov eax, dword [edi + 0x40]
push 0x800
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x41b91c
lea eax, [ebp - 0x10]
push eax
call fcn.004270cf
and dword [ebp - 4], 0
push dword [eax]
lea esi, [edi + 0x188]
push str.Could_not_map_view_of_file:__S
call fcn.0040939b
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.0040f17c
mov eax, dword [edi + 0x40]
test eax, eax
je 0x41b918
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x40], 0
mov al, 1
jmp 0x41b933
mov esi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call sub.KERNEL32.dll_GetCurrentProcessId
xor ecx, ecx
cmp esi, eax
sete cl
mov al, cl
call fcn.00447f81
ret
Function at 0x41bd0c
Capabilities:
Delete file

Disassembly:
push 0x7c
mov eax, 0x46223f
call fcn.00447f12
mov ebx, ecx
lea edi, [ebx + 0x188]
push str.Bootstrapper::forceMFCStudioCleanup___deleteCurVersionKeys
mov esi, edi
call fcn.0040939b
pop ecx
lea eax, [ebp - 0x84]
call fcn.00427eb6
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x41bd47
mov eax, dword [eax + 4]
jmp 0x41bd4a
add eax, 4
mov cl, byte [ebx + 0x59]
mov byte [ebp - 0x68], cl
push eax
push dword [ebp - 0x68]
mov ecx, edi
call fcn.00427a22
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x84]
call fcn.00409a53
call fcn.0041be72
mov al, byte [ebx + 0x59]
mov byte [ebp - 0x68], al
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
call fcn.004170d7
xor ebx, ebx
inc ebx
push str.RobloxStudioLauncher.exe
lea esi, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.0040858a
mov eax, esi
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.0040b8bc
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41bdc1
lea eax, [ebp - 0x28]
push eax
push str.Bootstrapper::forceMFCStudioCleanup___deleting_studio_stub:__S
mov esi, edi
call fcn.0040939b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x41bddc
lea eax, [ebp - 0x28]
push eax
call fcn.0042af75
pop ecx
test al, al
je 0x41bdfa
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41bdf3
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
push edi
push ebx
lea esi, [ebp - 0x2c]
call fcn.00409a53
push edi
push ebx
lea esi, [ebp - 0x48]
call fcn.00409a53
push edi
push ebx
lea esi, [ebp - 0x64]
call fcn.00409a53
call fcn.00447f95
ret

Function at 0x425da5
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x49280c], 0
jne 0x425dd5
push 0x471474
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x425dce
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x492810], eax
mov byte [0x49280c], 1
mov eax, dword [0x492810]
test eax, eax
je 0x425ded
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x425df9
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x425dfc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x488180]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.0040cfe9
mov ebx, eax
cmp ebx, edi
je 0x425e62
cmp dword [ebp - 0x214], edi
je 0x425e5b
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x425efa
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x425e8a
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00425dfc
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x425f0b
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x425e6a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], edi
je 0x425ed5
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.00425da5
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x425ef8
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00443d6d
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x425f1f
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x425efa

Function at 0x4272cc
Capabilities:
Delete registry key

Disassembly:
push 0x4c
mov eax, 0x462139
call fcn.00447ea9
test edi, edi
jne 0x427307
push str.Attempt_to_delete_a_null_key
lea ecx, [ebp - 0x30]
call fcn.004084cc
and dword [ebp - 4], edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401281
push 0x47b878
lea eax, [ebp - 0x58]
push eax
call fcn.00447fb3
push edi
lea esi, [ebp - 0x30]
call fcn.0040858a
cmp dword [eax + 0x14], 0
push 0
push 1
sete byte [ebp - 0xd]
call fcn.00409a53
cmp byte [ebp - 0xd], 0
je 0x42733d
push str.Attempt_to_delete_an_empty_key
lea ecx, [ebp - 0x30]
call fcn.004084cc
mov dword [ebp - 4], 1
jmp 0x4272ec
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jge 0x427377
lea eax, [ebp - 0x14]
push eax
call fcn.004270cf
pop ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
push dword [eax]
push edi
push str.Failed_to_delete_key__S__S
call fcn.0040939b
add esp, 0xc
lea eax, [ebp - 0x14]
call fcn.0040f17c
call fcn.00447f81
ret
Function at 0x427a22
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x462106
call fcn.00447ea9
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push str.deleteCurVersionKeys
mov dword [ebp - 4], ebx
call fcn.0040939b
xor eax, eax
cmp byte [ebp + 8], bl
mov dword [esp], 0x469a20
sete al
lea ecx, [ebp - 0x14]
add eax, 0x80000001
push eax
mov eax, 0x20006
call fcn.0040cfe9
test eax, eax
jl 0x427ad6
push str.deleteCurVersionKeys___key_Opened
call fcn.0040939b
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.0042792a
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x427a8f
mov eax, dword [eax + 4]
jmp 0x427a92
add eax, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
push dword [ebp - 0x14]
call edi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.00409a53
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.004279a6
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x427ac2
mov eax, dword [eax + 4]
jmp 0x427ac5
add eax, 4
push eax
push dword [ebp - 0x14]
call edi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.00409a53
cmp dword [ebp - 0x14], ebx
je 0x427ae4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00447f81
ret
Function at 0x428b5e
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x461f2b
call fcn.00447f12
mov esi, ecx
push edi
mov ebx, str.deleteDesktopShortcut____S
push ebx
mov dword [ebp - 0x34], esi
call fcn.0040939b
xor esi, esi
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push 6
push eax
call fcn.0042aa80
add esp, 0x1c
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
je 0x428c21
mov eax, dword [0x4917cc]
mov ecx, 0x4917cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x428bbd
lea eax, [ebp - 0x28]
push edi
push eax
push str._s_s.lnk
lea eax, [ebp - 0x30]
call fcn.004217b6
add esp, 0xc
push dword [ebp - 0x30]
call fcn.0042af75
pop ecx
test al, al
je 0x428c19
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
push ebx
call fcn.0040939b
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
lea eax, [ebp - 0x30]
inc bl
call fcn.0040f17c
xor esi, esi
push esi
push 1
lea esi, [ebp - 0x2c]
call fcn.00409a53
mov al, bl
call fcn.00447f95
ret
lea eax, [ebp - 0x30]
call fcn.0040f17c
xor bl, bl
jmp 0x428c06

Function at 0x428c25
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x461f2b
call fcn.00447f12
mov eax, dword [ebp + 0xc]
push eax
mov edi, str.deleteProgramsShortcut____S
mov esi, ecx
push edi
mov dword [ebp - 0x34], eax
call fcn.0040939b
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 8], bl
push 1
sete al
push ebx
push ebx
add eax, 3
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042aa80
add esp, 0x1c
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x428ccb
mov eax, dword [0x4917cc]
mov ecx, 0x4917cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x428c8e
lea eax, [ebp - 0x28]
push dword [ebp - 0x34]
push eax
push str._s_s.lnk
lea eax, [ebp - 0x30]
call fcn.004217b6
add esp, 0xc
push dword [ebp - 0x30]
call fcn.0042af75
pop ecx
test al, al
je 0x428cc3
push dword [ebp - 0x30]
push edi
call fcn.0040939b
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x30]
call fcn.0040f17c
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00409a53
call fcn.00447f95
ret
Function at 0x4293f9
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2898
call fcn.00456fe0
mov eax, dword [0x488180]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x2898], 0
push esi
lea eax, [ebp - 0x2898]
push eax
lea eax, [ebp - 0x2894]
push eax
mov esi, ecx
mov dword [ebp - 0x2898], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
lea eax, [ebp - 0x2894]
mov ecx, dword [eax + 0x1a0]
cmp ecx, 6
je 0x429479
cmp ecx, 0x47
je 0x429479
mov eax, dword [eax]
test eax, eax
jne 0x42943d
and dword [ebp - 0x14], eax
push edi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push dword [ebp - 0x14]
push str._08X
call fcn.0042a6df
pop ecx
pop ecx
pop edi
jmp 0x4294c6
movzx ecx, byte [eax + 0x19b]
push ecx
movzx ecx, byte [eax + 0x19a]
push ecx
movzx ecx, byte [eax + 0x199]
push ecx
movzx ecx, byte [eax + 0x198]
push ecx
movzx ecx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push ecx
movzx ecx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push eax
push str._02x_02x_02x_02x_02x_02x_02x_02x
call fcn.0042a6df
add esp, 0x24
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00443d6d
leave
ret
Function at 0x429a12
Capabilities:
Get file version info

Disassembly:
push 0x48
mov eax, 0x45e071
call fcn.00447f12
mov esi, edi
mov ebx, ecx
call fcn.0042992b
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004084ee
xor esi, esi
mov dword [ebp - 4], esi
lea ebx, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
call fcn.0043c2aa
cmp dword [eax + 0x18], 8
jb 0x429a51
mov eax, dword [eax + 4]
jmp 0x429a54
add eax, 4
lea ecx, [ebp - 0x38]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
push esi
push 1
lea esi, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.00409a53
cmp dword [ebp - 0x30], 0
je 0x429b19
push dword [ebp - 0x30]
call fcn.004431ec
pop ecx
lea ebx, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
mov dword [edi + 4], eax
call fcn.0043c2aa
cmp dword [eax + 0x18], 8
jb 0x429a98
mov eax, dword [eax + 4]
jmp 0x429a9b
add eax, 4
push dword [edi + 4]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 1
lea esi, [ebp - 0x54]
mov ebx, eax
call fcn.00409a53
test ebx, ebx
je 0x429b19
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
push 0x469990
push dword [edi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429b19
lea eax, [ebp - 0x30]
push eax
lea esi, [edi + 8]
push esi
push str.VarFileInfoTranslation
push dword [edi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429b10
mov eax, dword [ebp - 0x30]
cmp eax, 4
jb 0x429b10
shr eax, 2
mov dword [edi + 0xc], eax
mov eax, dword [esi]
mov cx, word [eax]
mov word [edi], cx
mov ax, word [eax + 2]
mov word [edi + 2], ax
mov dword [ebp - 0x34], 1
jmp 0x429b2b
mov eax, dword [edi + 4]
test eax, eax
je 0x429b2b
push eax
call fcn.00444129
and dword [edi + 4], 0
pop ecx
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004097af
mov eax, dword [ebp - 0x34]
call fcn.00447f95
ret
Function at 0x42b25b
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x488180]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x492830
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x42b29d
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x492834
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00443d6d
mov esp, ebp
pop ebp
ret

Function at 0x42b45e
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x492818
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x42b4a6
call dword [sym.imp.KERNEL32.dll_TerminateThread]
leave
ret
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
leave
ret
Function at 0x42b4be
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call ebx
mov dword [esp + 8], eax
mov dword [esi + 4], eax
cmp eax, edi
jne 0x42b516
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.004117fb
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread.entry_event
call fcn.0042b0e5
pop ecx
push edi
push edi
push 1
push edi
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [esi + 8], eax
cmp dword [ebx + 8], edi
jne 0x42b55e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.004117fb
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread.exit_event
call fcn.0042b0e5
pop ecx
lea eax, [esp + 0x14]
push eax
push edi
push esi
push 0x42b5f4
push edi
push edi
mov dword [esp + 0x2c], edi
call fcn.00446a11
add esp, 0x18
mov dword [ebx + 4], eax
cmp eax, edi
jne 0x42b5d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp dword [esp + 8], edi
je 0x42b5a1
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx + 8]
cmp ebx, edi
je 0x42b5af
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.004117fb
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread
call fcn.0042b0e5
pop ecx
cmp dword [esp + 8], edi
je 0x42b5ec
push 0xffffffffffffffff
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42bdb7
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
push ebx
push esi
push edi
mov esi, eax
je 0x42be7c
cmp byte [ebp + 0x10], 0
je 0x42be00
mov edi, dword [ebp + 0xc]
test byte [edi], 8
je 0x42be00
xor eax, eax
mov word [ebp - 8], ax
mov word [ebp - 6], ax
call fcn.004117fb
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov eax, edi
call fcn.0042c22f
pop ecx
pop ecx
mov edi, dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
call edi
push dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
call ebx
push eax
call fcn.00431f7d
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x42be7c
call fcn.004117fb
cmp dword [esi + 4], eax
jne 0x42be35
cmp dword [esi], 0x2733
je 0x42be47
call fcn.004117fb
cmp dword [esi + 4], eax
jne 0x42be76
cmp dword [esi], 0x4d5
jne 0x42be76
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x8004667e
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp + 0xc]
and byte [eax], 0xfc
push 0
call edi
push dword [ebp + 8]
call ebx
push eax
call fcn.00431f7d
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42be88
xor edi, edi
call fcn.004117fb
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42be90
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, eax
cmp ebx, 0xffffffff
jne 0x42bea6
mov edi, 0x2719
jmp 0x42bec7
xor edi, edi
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
push eax
call fcn.00431f7d
pop ecx
test eax, eax
jne 0x42bed1
call fcn.004117fb
mov dword [esi + 4], eax
mov dword [esi], edi
mov edi, 0x2734
call fcn.004117fb
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0042b0c6
test al, al
je 0x42bf09
dec edi
call fcn.004117fb
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0042b0c6
test al, al
jne 0x42bf44
mov eax, esi
mov ecx, ebx
call fcn.0042c3f7
test eax, eax
jl 0x42bf44
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push ebx
mov eax, esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 4
call fcn.0042c292
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x42bf44
call fcn.004117fb
mov ecx, dword [ebp - 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
pop edi
pop esi
leave
ret