joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42763f
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x46a2e0
call fcn.00451246
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x38], esi
cmp dword [esi + 0x3c], ebx
je 0x427757
cmp byte [esi + 0x41], bl
je 0x427757
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x427677
xor al, al
jmp 0x427759
push ebx
push 8
lea eax, [ebp - 0x30]
call fcn.0042707c
add esi, 0x44
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0x48]
lea edi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.00415f60
mov esi, eax
call fcn.00416210
add eax, dword [ebp - 0x34]
lea ebx, [ebp - 0x60]
mov dword [ebp - 0x34], eax
call fcn.00415f60
mov esi, eax
call fcn.00416210
mov esi, dword [ebp - 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
lea edi, [ebp - 0x40]
push edi
push dword [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
xor ebx, ebx
sub eax, ebx
je 0x4276df
dec eax
je 0x4276e2
dec eax
dec eax
jne 0x42774b
mov bl, 1
jmp 0x42774b
mov byte [esi + 0x41], bl
lea ebx, [ebp - 0x58]
lea edi, [ebp - 0x30]
call fcn.00415f60
mov esi, eax
call fcn.00416210
mov ecx, dword [ebp - 0x40]
sub ecx, eax
mov dword [ebp - 0x34], ecx
je 0x427727
mov eax, dword [ebp - 0x38]
push dword [eax + 0x4c]
lea ebx, [ebp - 0x50]
push ecx
push 1
call fcn.00415f60
mov esi, eax
call fcn.00416210
push eax
call fcn.0044f41e
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x427749
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x41], 0
je 0x4276db
test ecx, ecx
jne 0x42768b
push ecx
push 8
pop eax
lea edi, [ebp - 0x30]
call fcn.00414980
jmp 0x42768b
xor bl, bl
lea ecx, [ebp - 0x30]
call fcn.00406d50
mov al, bl
jmp 0x427759
mov al, 1
call fcn.004512c9
ret

Function at 0x42e601
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x49db8c], 0
jne 0x42e631
push 0x47bc74
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42e62a
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49db90], eax
mov byte [0x49db8c], 1
mov eax, dword [0x49db90]
test eax, eax
je 0x42e649
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x42e655
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x42e658
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x493350]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
push esi
push edi
xor edi, edi
or eax, 0x2001f
lea esi, [ebp - 0x214]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.0040fca0
mov dword [ebp - 0x220], eax
cmp eax, edi
je 0x42e6c2
call fcn.0040b400
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044cced
leave
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x42e6e0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.0042e658
cmp eax, edi
jne 0x42e727
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 esi
test eax, eax
je 0x42e6ca
lea esi, [ebp - 0x214]
call fcn.0040b3d0
push dword [ebp - 0x21c]
mov esi, ebx
call fcn.0042e601
lea esi, [ebp - 0x214]
mov edi, eax
call fcn.0040b400
mov eax, edi
jmp 0x42e6b1

Function at 0x42ea71
Capabilities:
Get file version info

Disassembly:
push 0x48
mov eax, 0x46880f
call fcn.00451246
mov esi, ebx
mov edi, ecx
call fcn.0042e992
push edi
lea ecx, [ebp - 0x2c]
call fcn.00406d20
xor eax, eax
mov dword [ebp - 4], eax
lea edi, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
call fcn.00417a00
cmp dword [eax + 0x18], 8
jb 0x42eab0
mov eax, dword [eax + 4]
jmp 0x42eab3
add eax, 4
lea ecx, [ebp - 0x38]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea esi, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.00406e40
cmp dword [ebp - 0x30], 0
je 0x42eb71
push dword [ebp - 0x30]
call fcn.0044bf45
pop ecx
lea edi, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
mov dword [ebx + 4], eax
call fcn.00417a00
cmp dword [eax + 0x18], 8
jb 0x42eaf4
mov eax, dword [eax + 4]
jmp 0x42eaf7
add eax, 4
push dword [ebx + 4]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea esi, [ebp - 0x54]
mov edi, eax
call fcn.00406e40
test edi, edi
je 0x42eb71
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 0x10]
push eax
push 0x479c00
push dword [ebx + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42eb71
lea eax, [ebp - 0x30]
push eax
lea esi, [ebx + 8]
push esi
push str.VarFileInfoTranslation
push dword [ebx + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42eb68
mov eax, dword [ebp - 0x30]
cmp eax, 4
jb 0x42eb68
shr eax, 2
mov dword [ebx + 0xc], eax
mov eax, dword [esi]
mov cx, word [eax]
mov word [ebx], cx
mov ax, word [eax + 2]
mov word [ebx + 2], ax
mov dword [ebp - 0x34], 1
jmp 0x42eb83
mov eax, dword [ebx + 4]
test eax, eax
je 0x42eb83
push eax
call fcn.0044d150
and dword [ebx + 4], 0
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00406d50
mov eax, dword [ebp - 0x34]
call fcn.004512c9
ret
Function at 0x42fbe7
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c722
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x493350]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
test edi, edi
jne 0x42fc46
push str.Attempt_to_delete_a_null_key
call fcn.00406ce0
and dword [esp + 0x60], edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00401340
push 0x486be4
lea eax, [esp + 0x30]
push eax
call fcn.00450dab
mov eax, edi
call fcn.00406dd0
cmp dword [eax + 0x14], 0
lea esi, [esp + 0x10]
sete bl
call fcn.00406e40
test bl, bl
je 0x42fc91
push str.Attempt_to_delete_an_empty_key
lea ecx, [esp + 0x14]
call fcn.00406ce0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x68], 1
call fcn.00401340
push 0x486be4
lea eax, [esp + 0x30]
jmp 0x42fc40
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jge 0x42fcce
lea eax, [esp + 0xc]
push eax
call fcn.0042fa0c
pop ecx
mov esi, dword [ebp + 8]
mov dword [esp + 0x60], 2
push dword [eax]
push edi
push str.Failed_to_delete_key__S__S
call fcn.00406fa0
add esp, 0xc
lea eax, [esp + 0xc]
call fcn.0040c440
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43027c
Capabilities:
Delete registry value

Disassembly:
push 0x28
mov eax, 0x46c6ef
call fcn.004511dd
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 8]
push str.deleteCurVersionKeys
mov dword [ebp - 4], ebx
call fcn.00406fa0
xor edx, edx
cmp byte [ebp + 0xc], bl
pop ecx
sete dl
mov eax, 0x20006
mov ecx, 0x47c158
lea esi, [ebp - 0x18]
add edx, 0x80000001
call fcn.0040fca0
test eax, eax
jl 0x430324
mov esi, dword [ebp + 8]
push str.deleteCurVersionKeys___key_Opened
call fcn.00406fa0
mov ebx, dword [ebp + 0x10]
pop ecx
lea ecx, [ebp - 0x34]
call fcn.004301a2
cmp dword [eax + 0x18], 8
jb 0x4302e9
mov eax, dword [eax + 4]
jmp 0x4302ec
add eax, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
push dword [ebp - 0x18]
call edi
lea esi, [ebp - 0x34]
call fcn.00406e40
lea ecx, [ebp - 0x34]
call fcn.0043020f
cmp dword [eax + 0x18], 8
jb 0x430313
mov eax, dword [eax + 4]
jmp 0x430316
add eax, 4
push eax
push dword [ebp - 0x18]
call edi
lea esi, [ebp - 0x34]
call fcn.00406e40
lea esi, [ebp - 0x18]
call fcn.0040b400
call fcn.004512b5
ret
Function at 0x43113e
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x46c557
call fcn.00451246
mov edi, edx
mov esi, ecx
push edi
mov ebx, str.deleteDesktopShortcut____S
push ebx
mov dword [ebp - 0x34], esi
call fcn.00406fa0
xor esi, esi
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push 6
push eax
call fcn.0043290e
add esp, 0x1c
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
je 0x4311ee
lea esi, [ebp - 0x30]
call fcn.0040c420
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x431190
lea eax, [ebp - 0x28]
push edi
push eax
push str._s_s.lnk
lea edi, [ebp - 0x30]
call fcn.0040f130
add esp, 0xc
push dword [ebp - 0x30]
call fcn.00432dfe
pop ecx
test al, al
je 0x4311e6
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
push ebx
call fcn.00406fa0
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
mov eax, edi
inc bl
call fcn.0040c440
lea esi, [ebp - 0x2c]
call fcn.00406e40
mov al, bl
call fcn.004512c9
ret
lea eax, [ebp - 0x30]
call fcn.0040c440
xor bl, bl
jmp 0x4311d6

Function at 0x4311f2
Capabilities:
Delete file

Disassembly:
push 0x28
mov eax, 0x46c58c
call fcn.00451246
mov edi, edx
mov esi, ecx
push edi
mov ebx, str.deleteProgramsShortcut____S
push ebx
mov dword [ebp - 0x34], esi
call fcn.00406fa0
xor eax, eax
xor esi, esi
cmp byte [ebp + 8], al
push 1
sete al
push esi
push esi
add eax, 3
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0043290e
add esp, 0x1c
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
je 0x43128d
lea esi, [ebp - 0x30]
call fcn.0040c420
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x43124f
lea eax, [ebp - 0x28]
push edi
push eax
push str._s_s.lnk
lea edi, [ebp - 0x30]
call fcn.0040f130
add esp, 0xc
push dword [ebp - 0x30]
call fcn.00432dfe
pop ecx
test al, al
je 0x431285
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
push ebx
call fcn.00406fa0
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x30]
call fcn.0040c440
lea esi, [ebp - 0x2c]
call fcn.00406e40
call fcn.004512c9
ret
Function at 0x432e2d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x432e44
test al, 0x10
je 0x432e44
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x433624
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x493350]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x49dbb0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x433666
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x49dbb4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0044cced
mov esp, ebp
pop ebp
ret

Function at 0x43381a
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 0x49db98
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x433862
call dword [sym.imp.KERNEL32.dll_TerminateThread]
leave
ret
push method.Bootstrapper.virtual_160
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
leave
ret
Function at 0x43387a
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 0x4338d2
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.00419620
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov edx, str.thread.entry_event
call fcn.004334aa
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 0x43391a
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.00419620
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov edx, str.thread.exit_event
call fcn.004334aa
pop ecx
lea eax, [esp + 0x14]
push eax
push edi
push esi
push 0x4339b0
push edi
push edi
mov dword [esp + 0x2c], edi
call fcn.0044fe32
add esp, 0x18
mov dword [ebx + 4], eax
cmp eax, edi
jne 0x43398c
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 0x43395d
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx + 8]
cmp ebx, edi
je 0x43396b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.00419620
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov edx, str.thread
call fcn.004334aa
pop ecx
cmp dword [esp + 8], edi
je 0x4339a8
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 0x43416f
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 0x434234
cmp byte [ebp + 0x10], 0
je 0x4341b8
mov edi, dword [ebp + 0xc]
test byte [edi], 8
je 0x4341b8
xor eax, eax
mov word [ebp - 8], ax
mov word [ebp - 6], ax
call fcn.00419620
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov eax, edi
call fcn.004345e7
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.0043aa10
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x434234
call fcn.00419620
cmp dword [esi + 4], eax
jne 0x4341ed
cmp dword [esi], 0x2733
je 0x4341ff
call fcn.00419620
cmp dword [esi + 4], eax
jne 0x43422e
cmp dword [esi], 0x4d5
jne 0x43422e
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.0043aa10
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x434240
xor edi, edi
call fcn.00419620
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434248
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, eax
cmp ebx, 0xffffffff
jne 0x43425e
mov edi, 0x2719
jmp 0x43427f
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.0043aa10
pop ecx
test eax, eax
jne 0x434289
call fcn.00419620
mov dword [esi + 4], eax
mov dword [esi], edi
mov edi, 0x2734
call fcn.00419620
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0043348b
test al, al
je 0x4342c1
dec edi
call fcn.00419620
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0043348b
test al, al
jne 0x4342fc
mov eax, esi
mov ecx, ebx
call fcn.004347af
test eax, eax
jl 0x4342fc
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.0043464a
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x4342fc
call fcn.00419620
mov ecx, dword [ebp - 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
pop edi
pop esi
leave
ret
Function at 0x4346bb
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
mov edi, ecx
mov esi, eax
cmp edi, 0xffffffff
jne 0x4346e4
mov edi, 0x2719
call fcn.00419620
mov dword [esi + 4], eax
mov dword [esi], edi
or eax, 0xffffffff
jmp 0x434730
xor ebx, ebx
push ebx
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], 1
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x110]
push eax
inc edi
push edi
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0043aa10
mov edi, eax
pop ecx
cmp edi, ebx
je 0x434724
jle 0x43472e
call fcn.00419620
mov dword [esi + 4], eax
mov dword [esi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434735
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
mov edi, ecx
mov esi, eax
cmp edi, 0xffffffff
jne 0x43475e
mov edi, 0x2719
call fcn.00419620
mov dword [esi + 4], eax
mov dword [esi], edi
or eax, 0xffffffff
jmp 0x4347aa
xor ebx, ebx
push ebx
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], 1
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
push ebx
lea eax, [ebp - 0x110]
push eax
push ebx
inc edi
push edi
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0043aa10
mov edi, eax
pop ecx
cmp edi, ebx
je 0x43479e
jle 0x4347a8
call fcn.00419620
mov dword [esi + 4], eax
mov dword [esi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4347af
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov edi, ecx
mov esi, eax
cmp edi, 0xffffffff
jne 0x4347d7
mov edi, 0x2719
call fcn.00419620
mov dword [esi + 4], eax
mov dword [esi], edi
or eax, 0xffffffff
jmp 0x434831
xor eax, eax
inc eax
push 0
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x108], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
inc edi
push edi
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0043aa10
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jl 0x43482e
xor edi, edi
call fcn.00419620
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x4394f8
Capabilities:
Resolve dns

Disassembly:
push 0x64
mov eax, 0x46d6fc
call fcn.004511dd
mov edi, ecx
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00439f2e
mov esi, eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.00439f13
cmp dword [esi + 0x18], 0x10
jb 0x43953a
mov ebx, dword [esi + 4]
jmp 0x43953d
lea ebx, [esi + 4]
cmp dword [eax + 0x18], 0x10
jb 0x439548
mov esi, dword [eax + 4]
jmp 0x43954b
lea esi, [eax + 4]
test esi, esi
je 0x439554
cmp byte [esi], 0
jne 0x439556
xor esi, esi
test ebx, ebx
je 0x43955f
cmp byte [ebx], 0
jne 0x439561
xor ebx, ebx
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov ecx, eax
lea esi, [ebp - 0x20]
call fcn.00434835
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x54]
mov dword [edi + 4], eax
call fcn.00406d50
lea ecx, [ebp - 0x70]
call fcn.00406d50
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
push 2
pop ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
neg eax
sbb eax, eax
test eax, method.Bootstrapper.virtual_52
je 0x4395d0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 1
jmp 0x43961b
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00439f2e
mov edi, eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 4
mov dword [ebp - 0x14], ebx
call fcn.00439f13
mov dword [ebp - 4], 5
push dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
push ecx
mov edx, edi
mov ecx, eax
mov dword [ebp - 0x14], 6
call fcn.00439f49
pop ecx
pop ecx
mov dword [ebp - 0x14], 0xe
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.0043826d
or dword [ebp - 0x14], 0x10
test byte [ebp - 0x14], 8
je 0x43963b
and dword [ebp - 0x14], 0xfffffff7
lea eax, [ebp - 0x34]
call fcn.004016d0
test byte [ebp - 0x14], 4
je 0x43964d
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x70]
call fcn.00406d50
test byte [ebp - 0x14], bl
je 0x43965e
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x54]
call fcn.00406d50
mov dword [ebp - 4], ebx
test byte [ebp - 0x14], 1
je 0x439673
and dword [ebp - 0x14], 0xfffffffe
lea eax, [ebp - 0x28]
call fcn.004016d0
test esi, esi
je 0x43967e
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp + 8]
call fcn.004512b5
ret 8
Function at 0x443c10
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x493350]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00450ab0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x443c63
cmp dword [ebp - 0x70], 2
jne 0x443c63
cmp dword [ebp - 0x7c], 6
jb 0x443c63
mov al, 1
jmp 0x443c65
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044cced
add ebp, 0x98
leave
ret

Function at 0x44457f
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
push 0
push dword [esi + 0x48]
mov byte [esi + 0x30], 1
call edi
push 0
push dword [esi + 0x40]
call edi
push 0
push dword [esi + 0x44]
call edi
push 0x444435
push 0x12c
push 1
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret