joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4637db
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea edx, [ebp - 4]
push edx
push 0x20019
mov esi, ecx
mov ecx, dword [eax + 0xc]
push 0
push ecx
push dword [eax + 4]
mov dword [ebp - 0x10], 3
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x463820
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
pop esi
leave
ret 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x463841
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
jmp 0x463810

Function at 0x463854
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea edx, [ebp - 4]
push edx
push 0x20019
mov esi, ecx
mov ecx, dword [eax + 0xc]
push 0
push ecx
push dword [eax + 4]
mov dword [ebp - 0x10], 3
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x463899
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
pop esi
leave
ret 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4638ba
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
jmp 0x463889

Function at 0x4638cd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [eax + 0xc]
push esi
lea edx, [ebp - 4]
push edx
push 0xf003f
xor esi, esi
push esi
push ecx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x463901
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
pop esi
leave
ret 4
push edi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x4638f1
xor esi, esi
inc esi
jmp 0x4638f1

Function at 0x4639cd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [esi + 0xc]
push edi
lea ecx, [ebp - 4]
push ecx
push 1
xor edi, edi
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esi], eax
cmp eax, edi
je 0x463a01
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, edi
pop edi
leave
ret 4
push edi
push edi
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi], edi
jne 0x4639f1
mov edi, dword [ebp - 8]
jmp 0x4639f1
Function at 0x463aaf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x47045b
call fcn.0046fba3
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
push ecx
xor edi, edi
inc edi
lea eax, [ebp + 0xc]
mov dword [ebp - 4], edi
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.mfc90.dll_Ordinal_300]
call fcn.004639cd
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x463b04
cmp eax, 2
je 0x463b04
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
jmp 0x463bac
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esi], eax
cmp eax, ebx
jne 0x463af2
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call edi
inc dword [ebp - 0x10]
push dword [ebp - 0x10]
call sub.mfc90.dll_Ordinal_265
pop ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call dword [sym.imp.mfc90.dll_Ordinal_316]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90.dll_Ordinal_820]
push dword [ebp - 0x20]
call sub.mfc90.dll_Ordinal_266
pop ecx
cmp dword [esi], ebx
je 0x463b85
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
cmp dword [ebp - 0x24], ebx
je 0x463b9c
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp + 8]
call fcn.0046fc7b
ret 0xc

Function at 0x465877
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x465891
test al, 0x10
je 0x465891
mov bl, 1
jmp 0x465893
xor bl, bl
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, bl
pop ebx
ret
Function at 0x465a6e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4a2018]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.BCGCBPRO120090.dll_protected_virtual:_int___thiscall_CBCGPPropertyPage::OnInitDialog_void_]
push str.Download_and_Convert_
lea ecx, [esi + 0xf40]
call sub.mfc90.dll_Ordinal_6559
push str.Also_Download_Video_
lea ecx, [esi + 0x16a8]
call sub.mfc90.dll_Ordinal_6559
push str.Click_Here_To_Get_Pro_Version_
lea ecx, [esi + 0x2650]
call sub.mfc90.dll_Ordinal_6559
push str.paste_url_like:_https:__www.youtube.com_watch_vnv_5K4YDsew
push 0x420
mov ecx, esi
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_6559
lea edi, [esi + 0x5f0]
mov ecx, edi
mov dword [esi + 0x2da0], 0xff0000
call dword [sym.imp.BCGCBPRO120090.dll_public:_void___thiscall_CBCGPEdit::EnableFolderBrowseButton_void_]
push dword [0x4b4be8]
mov ecx, edi
call sub.mfc90.dll_Ordinal_6559
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push dword [0x4b4bf4]
push 0xf1
push dword [esi + 0x16c8]
call edi
push ebx
lea ecx, [esi + 0x1ed0]
call sub.mfc90.dll_Ordinal_2360
push 0x640000
push ebx
push 0x401
push dword [esi + 0x1e94]
call edi
cmp dword [0x4b4bf8], 1
je 0x465b4e
call fcn.004658fa
jmp 0x465b53
call fcn.004659b5
lea ecx, [esi + 0x408]
call sub.mfc90.dll_Ordinal_6291
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x4b3b84
call dword [sym.imp.mfc90.dll_Ordinal_820]
push ebx
push 1
mov ecx, esi
call dword [sym.imp.BCGCBPRO120090.dll_public:_void___thiscall_CBCGPPropertyPage::EnableVisualManagerStyle_int__class_CList_unsigned_int__unsigned_int__const__]
mov ecx, dword [ebp + 0x88]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00403cb8
add ebp, 0x8c
leave
ret
Function at 0x4661a1
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
xor esi, esi
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x4661c7
xor eax, eax
jmp 0x4661f1
push edi
push eax
call sub.mfc90.dll_Ordinal_265
pop ecx
mov edi, eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4661f5
push edi
call sub.mfc90.dll_Ordinal_266
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4963e8
push edi
mov dword [ebp - 4], 0x34
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x466220
push dword [ebp - 0xc]
call sub.mfc90.dll_Ordinal_266
pop ecx
mov eax, esi
jmp 0x4661f0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xa]
push esi
and edx, 0xffff
push eax
xor edi, edi
lea esi, [ebp - 0x18]
call fcn.00401278
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebx + 4], eax
inc esi
jmp 0x466213
Function at 0x4666d0
Capabilities:
Check if file exists

Disassembly:
push 0x18
mov eax, 0x471945
call fcn.0046fba3
push str.196BB40D_1578_3D01_B289_BEFC77A11A1E
call sub.msi.dll_MsiRecordGetInteger
cmp eax, 5
je 0x4667fd
push str.DA5E371C_6333_3D8A_93A4_6FD5B20BCC6E
call sub.msi.dll_MsiRecordGetInteger
cmp eax, 5
je 0x4667fd
push str.F0C3E5D1_1ADE_321E_8167_68EF0DE699A5
call sub.msi.dll_MsiRecordGetInteger
cmp eax, 5
je 0x4667fd
push str.1D8E6291_B0D5_35EC_8441_6616F567A0F7
call sub.msi.dll_MsiRecordGetInteger
cmp eax, 5
je 0x4667fd
lea eax, [ebp - 0x10]
push str._vcredist_x86.exe
push eax
mov esi, 0x4b4aec
call fcn.004012f4
pop ecx
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4667f0
mov eax, dword [0x4b3b14]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Upgrading_library
mov dword [0x4b4a70], eax
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
push dword [eax + 0x10]
mov edi, dword [0x4b4c00]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Please_wait.
call dword [sym.imp.mfc90.dll_Ordinal_310]
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Upgrading_Microsoft_runtime_library_for_the_first_running..
call dword [sym.imp.mfc90.dll_Ordinal_310]
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
lea eax, [ebp - 0x14]
push str._download_updates_vcredist_x86.exe
push eax
mov esi, 0x4b4bfc
mov byte [ebp - 4], 4
call fcn.004012f4
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
mov edx, edi
mov ecx, 0x4b4a68
mov byte [ebp - 4], 6
call fcn.00462e32
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x466800
xor eax, eax
inc eax
call fcn.0046fc7b
ret
Function at 0x467b74
Capabilities:
Read data from internet
Receive data

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4a2018]
xor eax, ebp
mov dword [ebp + 0x188], eax
mov eax, dword [ebp + 0x194]
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x198]
push edi
push 0x200
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push 0
push eax
call sub.MSVCR90.dll_memset
mov edi, 0x400
push edi
push 0
push ebx
call sub.MSVCR90.dll_memset
add esp, 0x18
and dword [esi], 0
lea eax, [ebp - 0x7c]
push eax
push 0x200
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x467be7
and dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x467c1f
mov eax, dword [esi]
lea edx, [eax + ecx]
cmp edx, edi
ja 0x467c46
push ecx
lea ecx, [ebp - 0x78]
push ecx
add eax, ebx
push eax
call sub.MSVCR90.dll_memcpy
mov eax, dword [ebp - 0x7c]
add dword [esi], eax
add esp, 0xc
test eax, eax
je 0x467c1f
push 0xffffffffffffffff
push ebx
call dword [sym.imp.MSVCR90.dll_strchr]
pop ecx
pop ecx
test eax, eax
je 0x467bca
push 0xffffffffffffffff
push ebx
call dword [sym.imp.MSVCR90.dll_strchr]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop ebx
call fcn.00403cb8
add ebp, 0x18c
leave
ret
xor al, al
jmp 0x467c2f

Function at 0x467c8f
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4a2018]
xor eax, ebp
mov dword [ebp + 0x94], eax
push esi
mov esi, ecx
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x467ce0
push ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x467cf6
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
pop esi
call fcn.00403cb8
add ebp, 0x98
leave
ret
push ebx
call sub.mfc90.dll_Ordinal_265
pop ecx
push eax
push ebx
push dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x467d21
xor esi, esi
push dword [ebp - 0x74]
call sub.mfc90.dll_Ordinal_266
pop ecx
mov eax, esi
jmp 0x467cdf
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x4963e8
push dword [ebp - 0x74]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x467d12
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov eax, dword [eax + 0xc]
xor esi, esi
mov dword [edi], eax
inc esi
jmp 0x467d14
Function at 0x468ec6
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x469dc0
Capabilities:
Get socket status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [esi + 0x1d4]
sub esp, 0x220
push ebx
push edi
xor edi, edi
cmp eax, edi
jne 0x469dee
mov dword [ebp - 4], 0x19e
push 0x49ab24
lea eax, [ebp - 4]
push eax
call sub.MSVCR90.dll__CxxThrowException
push eax
call fcn.00405a50
pop ecx
mov dword [esi + 0x1d8], eax
cmp eax, edi
je 0x469dd9
push dword [esi + 0x14c]
push eax
call fcn.00404dd0
push edi
push 4
push 0x21
push dword [esi + 0x1d8]
call fcn.00405ef0
add esp, 0x18
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 0xb4
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x220], edi
cmp ebx, edi
je 0x469e53
mov eax, dword [esi + 0x14c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], 1
cmp dword [ebp - 4], edi
je 0x469e6e
mov eax, dword [esi + 0x14c]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], 1
cmp ebx, edi
jne 0x469e77
cmp dword [ebp - 4], edi
je 0x469ea6
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x220]
push eax
mov eax, dword [esi + 0x14c]
xor ebx, ebx
inc eax
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x469edf
cmp eax, edi
je 0x469ef7
push dword [esi + 0x1d8]
call fcn.00406450
push eax
push dword [esi + 0x1d8]
call fcn.00406330
add esp, 0xc
sub eax, edi
je 0x469f2f
dec eax
dec eax
je 0x469ed3
dec eax
jne 0x469f0f
xor ebx, ebx
inc ebx
jmp 0x469e2d
mov dword [ebp - 4], 1
jmp 0x469e2d
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 4], 0x6d
jmp 0x469de0
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 4], 0x192
jmp 0x469de0
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 8], 0x19e
push 0x49ab24
lea eax, [ebp - 8]
jmp 0x469de8
pop edi
pop ebx
leave
ret
Function at 0x469f59
Capabilities:
Get socket status
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov ecx, dword [esi + 0x144]
push ebx
xor ebx, ebx
mov eax, ecx
push edi
mov dword [ebp - 0xc], ebx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x469f76
sub eax, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
cmp ecx, ebx
jne 0x46a097
mov dword [ebp + 8], 0x19b
push 0x49ab24
lea eax, [ebp + 8]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [esi + 0x14c]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 8], ebx
je 0x469fda
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x120]
push ecx
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x46a0b2
cmp eax, ebx
je 0x46a0ca
lea eax, [ebp - 0x228]
push eax
push dword [esi + 0x14c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x46a037
cmp dword [ebp - 8], ebx
je 0x46a097
lea eax, [ebp - 0x120]
push eax
push dword [esi + 0x14c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x46a097
mov eax, dword [esi + 0x144]
push dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
push eax
push dword [ebp + 8]
call fcn.00404ef0
mov edi, eax
push edi
push dword [ebp + 8]
call fcn.00406330
add esp, 0x14
sub eax, ebx
je 0x46a091
dec eax
dec eax
je 0x46a088
dec eax
je 0x46a097
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp + 0xc], 0x19e
push 0x49ab24
lea eax, [ebp + 0xc]
jmp 0x469fa8
mov dword [ebp - 8], 1
jmp 0x46a097
sub dword [ebp - 4], edi
add dword [ebp - 0xc], edi
cmp dword [ebp - 4], ebx
jg 0x469fae
push dword [esi + 0x144]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop ebx
leave
ret 8
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp + 8], 0x6d
jmp 0x469fa0
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp + 8], 0x192
jmp 0x469fa0
Function at 0x46a0e7
Capabilities:
Get socket status

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x488]
sub esp, 0x620
mov eax, dword [0x4a2018]
xor eax, ebp
mov dword [ebp + 0x484], eax
mov eax, dword [ebp + 0x490]
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x494]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
push edi
mov dword [ebp + 0x80], ebx
mov dword [ebp + 0x7c], ebx
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], ebx
cmp dword [esi + 0x148], ebx
jne 0x46a14c
mov dword [ebp + 0x80], 0x19a
push 0x49ab24
lea eax, [ebp + 0x80]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [esi + 0x14c]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ecx
cmp dword [ebp + 0x7c], ebx
je 0x46a178
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], ecx
lea ecx, [ebp + 0x70]
push ecx
push ebx
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x198]
push ecx
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x46a276
cmp eax, ebx
je 0x46a291
lea eax, [ebp - 0x198]
push eax
push dword [esi + 0x14c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x46a1d9
cmp dword [ebp + 0x7c], ebx
je 0x46a14c
lea eax, [ebp - 0x94]
push eax
push dword [esi + 0x14c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x46a14c
mov dword [ebp + 0x7c], ebx
push 0x400
lea eax, [ebp + 0x84]
push eax
push dword [ebp + 0x78]
call fcn.00404e50
mov edi, eax
push edi
push dword [ebp + 0x78]
call fcn.00406330
add esp, 0x14
cmp eax, ebx
jne 0x46a253
mov eax, dword [ebp + 0x80]
lea ecx, [eax + edi]
cmp ecx, 0x27ff
mov dword [ebp + 0x80], ecx
jg 0x46a2ac
push edi
lea ecx, [ebp + 0x84]
push ecx
mov ecx, dword [esi + 0x148]
add ecx, eax
push ecx
call sub.MSVCR90.dll_memcpy
mov edi, dword [ebp + 0x80]
push dword [ebp + 0x78]
mov dword [ebp + 0x80], edi
call fcn.00404e30
add esp, 0x10
test eax, eax
jne 0x46a1dc
jmp 0x46a2e8
cmp eax, 6
je 0x46a2e2
cmp eax, 2
je 0x46a14c
cmp eax, 3
jne 0x46a2c7
mov dword [ebp + 0x7c], 1
jmp 0x46a14c
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp + 0x80], 0x6d
jmp 0x46a13b
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp + 0x80], 0x192
jmp 0x46a13b
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp + 0x80], 0x198
jmp 0x46a13b
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp + 0x80], 0x19e
jmp 0x46a13b
mov edi, dword [ebp + 0x80]
mov eax, dword [esi + 0x148]
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x94], ebx
mov byte [edi + eax], bl
cmp edi, ebx
pop edi
pop ebx
jne 0x46a312
mov dword [ebp + 0x80], 0x190
jmp 0x46a13b
mov ecx, dword [ebp + 0x484]
xor ecx, ebp
call fcn.00403cb8
add ebp, 0x488
leave
ret 8
Function at 0x46a32e
Capabilities:
Get socket status
Print debug messages
Send data
Send data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x1d8]
xor ebx, ebx
push edi
cmp eax, ebx
je 0x46a358
push dword [ebp + 8]
push eax
call fcn.00469f59
jmp 0x46a565
mov ecx, dword [esi + 0x144]
mov eax, ecx
mov dword [ebp - 8], ebx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x46a366
sub eax, edi
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
cmp ecx, ebx
jne 0x46a41a
mov dword [ebp + 8], 0x19b
push 0x49ab24
lea eax, [ebp + 8]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [esi + 0x14c]
lea ecx, [ebp - 0x10]
push ecx
push ebx
lea ecx, [ebp - 0x11c]
push ecx
mov dword [ebp - 0x118], eax
push ebx
inc eax
push eax
mov dword [ebp - 0x11c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x46a45b
cmp eax, ebx
je 0x46a4ab
lea eax, [ebp - 0x11c]
push eax
push dword [esi + 0x14c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x46a41a
mov eax, dword [esi + 0x144]
add eax, dword [ebp - 8]
push ebx
push edi
push eax
push dword [esi + 0x14c]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x46a4fb
cmp eax, ebx
je 0x46a4fb
sub edi, eax
add dword [ebp - 8], eax
cmp edi, ebx
jg 0x46a39a
push dword [esi + 0x144]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x11c]
xor eax, eax
cmp ecx, ebx
jbe 0x46a565
mov esi, dword [esi + 0x14c]
cmp dword [ebp + eax*4 - 0x118], esi
je 0x46a560
inc eax
cmp eax, ecx
jb 0x46a444
jmp 0x46a565
xor eax, eax
cmp dword [ebp - 0x11c], ebx
jbe 0x46a49f
mov esi, dword [esi + 0x14c]
cmp dword [ebp + eax*4 - 0x118], esi
je 0x46a48e
inc eax
cmp eax, dword [ebp - 0x11c]
jb 0x46a46b
jmp 0x46a49f
mov ecx, dword [ebp + eax*4 - 0x114]
mov dword [ebp + eax*4 - 0x118], ecx
inc eax
mov ecx, dword [ebp - 0x11c]
dec ecx
cmp eax, ecx
jb 0x46a47f
dec dword [ebp - 0x11c]
mov dword [ebp + 8], 0x6d
jmp 0x46a38c
xor eax, eax
cmp dword [ebp - 0x11c], ebx
jbe 0x46a4ef
mov esi, dword [esi + 0x14c]
cmp dword [ebp + eax*4 - 0x118], esi
je 0x46a4de
inc eax
cmp eax, dword [ebp - 0x11c]
jb 0x46a4bb
jmp 0x46a4ef
mov ecx, dword [ebp + eax*4 - 0x114]
mov dword [ebp + eax*4 - 0x118], ecx
inc eax
mov ecx, dword [ebp - 0x11c]
dec ecx
cmp eax, ecx
jb 0x46a4cf
dec dword [ebp - 0x11c]
mov dword [ebp + 8], 0x192
jmp 0x46a38c
xor eax, eax
cmp dword [ebp - 0x11c], ebx
jbe 0x46a53f
mov esi, dword [esi + 0x14c]
cmp dword [ebp + eax*4 - 0x118], esi
je 0x46a52e
inc eax
cmp eax, dword [ebp - 0x11c]
jb 0x46a50b
jmp 0x46a53f
mov ecx, dword [ebp + eax*4 - 0x114]
mov dword [ebp + eax*4 - 0x118], ecx
inc eax
mov ecx, dword [ebp - 0x11c]
dec ecx
cmp eax, ecx
jb 0x46a51f
dec dword [ebp - 0x11c]
mov dword [ebp + 8], 0x66
jmp 0x46a38c
mov ecx, dword [ebp + eax*4 - 0x114]
mov dword [ebp + eax*4 - 0x118], ecx
mov ecx, dword [ebp - 0x11c]
inc eax
dec ecx
cmp eax, ecx
jb 0x46a54b
pop edi
pop esi
pop ebx
leave
ret 4