joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4196b0
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x25c
lea ebp, [esp - 4]
mov eax, dword [0x48f190]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push 0x1c
mov eax, 0x468608
call fcn.0044c849
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.00419648
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x4196f0
lea eax, [ebp + 0x3c]
push eax
lea esi, [edi + 0x1ac]
push str.Bootstrapper::deploySelf___Final_file_path_S
call fcn.0040900c
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
pop ecx
pop ecx
jae 0x41970f
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4197e8
push str._PathFileExists
call fcn.0040900c
lea ecx, [ebp - 0x28]
mov dword [esp], str.Error_when_getting_bootstrapper_filename_for_selfDeploy
call fcn.00408151
push 0x104
lea eax, [ebp + 0x54]
push eax
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
jne 0x419757
lea eax, [ebp - 0x28]
call fcn.00429eb0
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00409486
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x1c]
call fcn.004081fb
mov byte [ebp - 4], 2
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x419781
lea eax, [ebp + 0x20]
push eax
push str.GetModuleFileName:__S
call fcn.0040900c
cmp dword [ebp + 0x50], 8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
jae 0x41979a
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4197a6
lea eax, [ebp + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.0042a25e
cmp dword [ebp + 0x50], 8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
jae 0x4197bd
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4197c9
lea eax, [ebp + 0x20]
push ecx
push eax
push str.Copy:_from___S_to__S
call fcn.0040900c
add esp, 0xc
push ebx
push 1
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], bl
call fcn.0040971e
jmp 0x4197f3
push str.PathFileExists
call fcn.0040900c
pop ecx
mov eax, dword [edi]
lea ecx, [ebp]
push ecx
mov ecx, edi
call dword [eax + 0xa8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xe4]
mov byte [ebp - 4], 4
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x419823
lea ecx, [ebp + 4]
cmp dword [eax + 0x18], 8
jb 0x41982e
mov eax, dword [eax + 4]
jmp 0x419831
add eax, 4
push ecx
push eax
mov ecx, edi
call fcn.0041819f
push ebx
push 1
lea esi, [ebp - 0x28]
call fcn.0040971e
push ebx
push 1
lea esi, [ebp]
call fcn.0040971e
push ebx
push 1
lea esi, [ebp + 0x38]
call fcn.0040971e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x25c]
xor ecx, ebp
call fcn.004483ed
add ebp, 0x260
leave
ret
Function at 0x41987e
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x4662d1
call fcn.0044c849
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4198cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4198cc
push dword [ebp + 8]
lea esi, [ebp - 0x28]
push str.CreateDirectory__S_failed
call fcn.0042c993
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.00429eb0
push 0
push 1
mov ecx, esi
call fcn.00409486
call fcn.0044c921
ret
Function at 0x41bee0
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 + 0xa8]
cmp dword [eax + 0x18], 8
jb 0x41beff
mov eax, dword [eax + 4]
jmp 0x41bf02
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.0040971e
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 [0x47da40]
fnstsw ax
test ah, 5
jp 0x41bf7b
mov ecx, dword [ebx + 0x160]
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.00427f3d
push 0x482830
mov eax, esi
push eax
call fcn.0044c953
pop edi
pop esi
leave
ret
Function at 0x41eefe
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x467261
call fcn.0044c849
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 0x41ef66
lea eax, [ebp - 0x10]
push eax
call fcn.00429ede
and dword [ebp - 4], 0
push dword [eax]
lea esi, [edi + 0x1ac]
push str.Could_not_map_view_of_file:__S
call fcn.0040900c
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.0040ed8b
mov eax, dword [edi + 0x40]
test eax, eax
je 0x41ef62
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x40], 0
mov al, 1
jmp 0x41ef7d
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.0044c921
ret
Function at 0x41f36a
Capabilities:
Delete file

Disassembly:
push 0x7c
mov eax, 0x467231
call fcn.0044c8b2
mov ebx, ecx
lea edi, [ebx + 0x1ac]
push str.Bootstrapper::forceMFCStudioCleanup___deleteCurVersionKeys
mov esi, edi
call fcn.0040900c
pop ecx
lea eax, [ebp - 0x84]
push eax
call fcn.0042ac8a
pop ecx
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x41f3a7
mov eax, dword [eax + 4]
jmp 0x41f3aa
add eax, 4
mov cl, byte [ebx + 0x59]
mov byte [ebp - 0x68], cl
push eax
push dword [ebp - 0x68]
mov ecx, edi
call fcn.0042a7ff
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x84]
call fcn.0040971e
call fcn.0041f4d3
mov al, byte [ebx + 0x59]
mov byte [ebp - 0x68], al
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
call fcn.0041a12e
xor ebx, ebx
inc ebx
push str.RobloxStudioLauncher.exe
lea eax, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.004081fb
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.0040b430
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41f422
lea eax, [ebp - 0x28]
push eax
push str.Bootstrapper::forceMFCStudioCleanup___deleting_studio_stub:__S
mov esi, edi
call fcn.0040900c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x41f43d
lea eax, [ebp - 0x28]
push eax
call fcn.0042d231
pop ecx
test al, al
je 0x41f45b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41f454
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.0040971e
push edi
push ebx
lea esi, [ebp - 0x48]
call fcn.0040971e
push edi
push ebx
lea esi, [ebp - 0x64]
call fcn.0040971e
call fcn.0044c935
ret

Function at 0x427c4a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x427c61
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x427c96
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x427c92
cmp edi, eax
jae 0x427c96
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x427c84
cmp edi, eax
jb 0x427c9a
xor eax, eax
jmp 0x427ca3
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x427e04
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x499ae8], 0
jne 0x427e34
push 0x477910
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x427e2d
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499aec], eax
mov byte [0x499ae8], 1
mov eax, dword [0x499aec]
test eax, eax
je 0x427e4c
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x427e58
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x427e5b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x48f190]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
mov dword [ebp - 0x21c], ecx
xor esi, esi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.0040cb62
mov ebx, eax
cmp ebx, esi
je 0x427ec4
lea esi, [ebp - 0x214]
call fcn.0040cba0
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004483ed
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x427ee2
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00427e5b
cmp eax, esi
jne 0x427f29
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x427ecc
lea esi, [ebp - 0x214]
call fcn.0040cba0
push dword [ebp - 0x21c]
mov esi, edi
call fcn.00427e04
lea esi, [ebp - 0x214]
mov edi, eax
call fcn.0040cba0
mov eax, edi
jmp 0x427eb3

Function at 0x42815d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
call fcn.004280b8
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
cmp dword [edi + 0x18], 8
lea ebx, [edi + 4]
jb 0x428184
mov eax, dword [ebx]
jmp 0x428186
mov eax, ebx
lea ecx, [ebp - 8]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
test eax, eax
je 0x42821b
push eax
call fcn.004479c0
mov dword [esi + 4], eax
cmp dword [edi + 0x18], 8
pop ecx
jb 0x4281ad
mov ebx, dword [ebx]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42821b
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x10]
push eax
push 0x46fae8
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42821b
lea eax, [ebp - 4]
push eax
lea edi, [esi + 8]
push edi
push str.VarFileInfoTranslation
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x428212
mov eax, dword [ebp - 4]
cmp eax, 4
jb 0x428212
shr eax, 2
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov cx, word [eax]
mov word [esi], cx
mov ax, word [eax + 2]
mov word [esi + 2], ax
mov dword [ebp - 0xc], 1
jmp 0x42822d
mov eax, dword [esi + 4]
test eax, eax
je 0x42822d
push eax
call fcn.004487a9
and dword [esi + 4], 0
pop ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a0df
Capabilities:
Delete registry key

Disassembly:
push 0x4c
mov eax, 0x467162
call fcn.0044c849
test edi, edi
jne 0x42a11a
push str.Attempt_to_delete_a_null_key
lea ecx, [ebp - 0x30]
call fcn.00408151
and dword [ebp - 4], edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401273
push 0x4823c0
lea eax, [ebp - 0x58]
push eax
call fcn.0044c953
push edi
lea eax, [ebp - 0x30]
call fcn.004081fb
cmp dword [eax + 0x14], 0
push 0
push 1
lea esi, [ebp - 0x30]
sete byte [ebp - 0xd]
call fcn.0040971e
cmp byte [ebp - 0xd], 0
je 0x42a153
push str.Attempt_to_delete_an_empty_key
lea ecx, [ebp - 0x30]
call fcn.00408151
mov dword [ebp - 4], 1
jmp 0x42a0ff
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jge 0x42a18d
lea eax, [ebp - 0x14]
push eax
call fcn.00429ede
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.0040900c
add esp, 0xc
lea eax, [ebp - 0x14]
call fcn.0040ed8b
call fcn.0044c921
ret

Function at 0x42a7ff
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x46712f
call fcn.0044c849
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.0040900c
xor eax, eax
cmp byte [ebp + 8], bl
mov dword [esp], 0x46fb78
sete al
lea ecx, [ebp - 0x14]
add eax, 0x80000001
push eax
mov eax, 0x20006
call fcn.0040cb62
test eax, eax
jl 0x42a8b3
push str.deleteCurVersionKeys___key_Opened
call fcn.0040900c
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.0042a707
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x42a86c
mov eax, dword [eax + 4]
jmp 0x42a86f
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.0040971e
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.0042a783
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x42a89f
mov eax, dword [eax + 4]
jmp 0x42a8a2
add eax, 4
push eax
push dword [ebp - 0x14]
call edi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.0040971e
lea esi, [ebp - 0x14]
call fcn.0040cba0
call fcn.0044c921
ret
Function at 0x42b956
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x466f54
call fcn.0044c8b2
mov esi, ecx
push edi
mov ebx, str.deleteDesktopShortcut____S
push ebx
mov dword [ebp - 0x34], esi
call fcn.0040900c
xor esi, esi
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push 6
push eax
call fcn.0042cd65
add esp, 0x1c
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
je 0x42ba19
mov eax, dword [0x498ae4]
mov ecx, 0x498ae4
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 0x42b9b5
lea eax, [ebp - 0x28]
push edi
push eax
push str._s_s.lnk
lea eax, [ebp - 0x30]
call fcn.004238bf
add esp, 0xc
push dword [ebp - 0x30]
call fcn.0042d231
pop ecx
test al, al
je 0x42ba11
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
push ebx
call fcn.0040900c
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.0040ed8b
xor esi, esi
push esi
push 1
lea esi, [ebp - 0x2c]
call fcn.0040971e
mov al, bl
call fcn.0044c935
ret
lea eax, [ebp - 0x30]
call fcn.0040ed8b
xor bl, bl
jmp 0x42b9fe

Function at 0x42ba1d
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x466f54
call fcn.0044c8b2
mov eax, dword [ebp + 0xc]
push eax
mov edi, str.deleteProgramsShortcut____S
mov esi, ecx
push edi
mov dword [ebp - 0x34], eax
call fcn.0040900c
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.0042cd65
add esp, 0x1c
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x42bac3
mov eax, dword [0x498ae4]
mov ecx, 0x498ae4
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 0x42ba86
lea eax, [ebp - 0x28]
push dword [ebp - 0x34]
push eax
push str._s_s.lnk
lea eax, [ebp - 0x30]
call fcn.004238bf
add esp, 0xc
push dword [ebp - 0x30]
call fcn.0042d231
pop ecx
test al, al
je 0x42babb
push dword [ebp - 0x30]
push edi
call fcn.0040900c
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x30]
call fcn.0040ed8b
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.0040971e
call fcn.0044c935
ret
Function at 0x42c270
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2898
call fcn.0045bc80
mov eax, dword [0x48f190]
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 0x42c2f0
cmp ecx, 0x47
je 0x42c2f0
mov eax, dword [eax]
test eax, eax
jne 0x42c2b4
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.0042c993
pop ecx
pop ecx
pop edi
jmp 0x42c33d
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.0042c993
add esp, 0x24
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004483ed
leave
ret
Function at 0x42e167
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x48f190]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x499b0c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x42e1a9
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x499b10
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004483ed
mov esp, ebp
pop ebp
ret

Function at 0x42e34d
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 0x499af4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x42e395
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 0x42e3ad
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 0x42e405
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.004130db
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread.entry_event
call fcn.0042e00e
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 0x42e44d
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.004130db
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread.exit_event
call fcn.0042e00e
pop ecx
lea eax, [esp + 0x14]
push eax
push edi
push esi
push 0x42e4e3
push edi
push edi
mov dword [esp + 0x2c], edi
call fcn.0044b3af
add esp, 0x18
mov dword [ebx + 4], eax
cmp eax, edi
jne 0x42e4bf
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 0x42e490
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx + 8]
cmp ebx, edi
je 0x42e49e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.004130db
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread
call fcn.0042e00e
pop ecx
cmp dword [esp + 8], edi
je 0x42e4db
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 0x42eca2
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 0x42ed67
cmp byte [ebp + 0x10], 0
je 0x42eceb
mov edi, dword [ebp + 0xc]
test byte [edi], 8
je 0x42eceb
xor eax, eax
mov word [ebp - 8], ax
mov word [ebp - 6], ax
call fcn.004130db
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov eax, edi
call fcn.0042f11a
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.00435fbb
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x42ed67
call fcn.004130db
cmp dword [esi + 4], eax
jne 0x42ed20
cmp dword [esi], 0x2733
je 0x42ed32
call fcn.004130db
cmp dword [esi + 4], eax
jne 0x42ed61
cmp dword [esi], 0x4d5
jne 0x42ed61
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.00435fbb
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42ed73
xor edi, edi
call fcn.004130db
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42ed7b
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, eax
cmp ebx, 0xffffffff
jne 0x42ed91
mov edi, 0x2719
jmp 0x42edb2
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.00435fbb
pop ecx
test eax, eax
jne 0x42edbc
call fcn.004130db
mov dword [esi + 4], eax
mov dword [esi], edi
mov edi, 0x2734
call fcn.004130db
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0042dfef
test al, al
je 0x42edf4
dec edi
call fcn.004130db
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0042dfef
test al, al
jne 0x42ee2f
mov eax, esi
mov ecx, ebx
call fcn.0042f2e2
test eax, eax
jl 0x42ee2f
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.0042f17d
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x42ee2f
call fcn.004130db
mov ecx, dword [ebp - 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
pop edi
pop esi
leave
ret