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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499e50
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.004247c0
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.004248a0
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [esi + 4]
call fcn.0044f070
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x425942
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x425996
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], 3
mov eax, dword [esi]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42596e
xor bl, bl
jmp 0x425975
mov eax, dword [ebp + 8]
mov bl, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], vtable.RegistryKey.0
test eax, eax
je 0x425996
cmp eax, dword [ebp - 0x44]
je 0x42598f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
call fcn.0043a0a0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
test edx, edx
je 0x4259ed
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4259ce
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425a3d
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
test edx, edx
je 0x425a27
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425a1d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425a42
push ecx
push edx
call fcn.00471d21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0047da11
call fcn.0047da11
int3
Function at 0x425a50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
push edi
mov byte [ebp - 4], 3
call fcn.004247c0
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.004248a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0044f070
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x425b52
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x425b8a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x425b8a
cmp eax, dword [ebp - 0x40]
je 0x425b83
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a0a0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x425be1
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425bc2
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c31
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x425c1b
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425c11
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c36
push ecx
push edx
call fcn.00471d21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0047da11
call fcn.0047da11
int3
Function at 0x425f40
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x4cc06c]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push edi
push 1
mov edi, ecx
call ebx
mov esi, eax
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [esp + 0x10], eax
call ebx
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x426008
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
push eax
call ebx
mov ecx, edi
call fcn.004260a0
test al, al
je 0x425faa
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x425ff1
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x426008
push eax
call ebx
mov ecx, edi
call fcn.004260a0
test al, al
jne 0x426008
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x426008
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00471d10
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x264]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00471d10
mov esp, ebp
pop ebp
ret
Function at 0x426250
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499ef6
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push dword [ecx + 4]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x27c]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x268], eax
call fcn.00439ff0
push 0x4b40a0
lea ecx, [ebp - 0x28c]
mov dword [ebp - 4], 0
call fcn.00439ff0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x278]
sub ecx, eax
mov edx, dword [ebp - 0x288]
sub eax, 2
push dword [ebp - 0x268]
sar ecx, 1
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x284]
sub eax, edx
sar eax, 1
dec eax
lea eax, [edx + eax*2]
push eax
push edx
push ecx
lea ecx, [ebp - 0x278]
call fcn.00421990
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0
call fcn.0043a0a0
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ebx, ebx
push 1
call edi
mov esi, eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [ebp - 0x264], eax
call edi
cmp dword [ebp - 0x264], 0xffffffff
jne 0x426340
xor bl, bl
jmp 0x42641a
mov edi, dword [ebp - 0x26c]
mov esi, edi
nop dword [eax + eax]
mov ecx, 0x4b40a8
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x426386
test dx, dx
je 0x426382
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x426386
add eax, 4
add ecx, 4
test dx, dx
jne 0x426360
xor eax, eax
jmp 0x42638b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4263e5
mov eax, 0x4b148c
lea ecx, [ebp - 0x234]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4263c6
test dx, dx
je 0x4263c2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4263c6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4263a0
xor eax, eax
jmp 0x4263cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4263e5
test edi, edi
je 0x4263e1
mov eax, dword [esi]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, esi
call dword [eax + 4]
inc ebx
add esi, 0x10
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x426350
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jne 0x426418
mov eax, dword [ebp - 0x268]
mov dword [eax], ebx
mov bl, 1
mov edx, dword [ebp - 0x278]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
test edx, edx
je 0x42645d
mov ecx, dword [ebp - 0x270]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x426453
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42647d
push ecx
push edx
call fcn.00471d21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471d10
mov esp, ebp
pop ebp
ret 8
call fcn.0047da11
int3
Function at 0x426490
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x204]
mov esi, edx
push eax
mov ebx, ecx
mov dword [ebp - 0x214], esi
push 0xff
mov dword [ebp - 0x210], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x4264dd
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471d10
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
cmp word [ebp - 0x204], ax
je 0x42657e
push edi
lea edi, [ebp - 0x204]
mov esi, ebx
push edi
call fcn.0047eea6
mov ebx, eax
push 0x5c
push ebx
call fcn.00473333
add esp, 0xc
test eax, eax
je 0x42651d
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x210], 0
je 0x42652e
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 4]
push ebx
call fcn.0047d73a
push 0x4b40ac
push edi
call fcn.0047ef05
mov ecx, dword [ebp - 0x208]
lea edi, [ebp - 0x204]
inc ecx
add esp, 0xc
add ecx, eax
add esi, 0x10
mov eax, dword [ebp - 0x20c]
inc eax
mov dword [ebp - 0x208], ecx
cmp word [edi + ecx*2], 0
lea edi, [edi + ecx*2]
mov dword [ebp - 0x20c], eax
jne 0x426501
mov ebx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
pop edi
test ebx, ebx
jne 0x426584
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00471d10
mov esp, ebp
pop ebp
ret
Function at 0x427f80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a120
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
call eax
test al, al
jne 0x428120
mov edi, dword [esi + 0x3c]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x427fc6
mov eax, edi
jmp 0x427fcb
call fcn.0042d610
cmp dword [eax + 4], 0
jne 0x42801f
lea ecx, [ebp - 0x40]
call fcn.00439f60
mov dword [ebp - 4], 0
mov ecx, str.file
test byte [edi + 0x20], 1
mov eax, 0x4b4130
cmove eax, ecx
push eax
push dword [esi + 0x74]
lea eax, [ebp - 0x40]
push str.Downloading__s__s
push eax
call fcn.0043a500
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x3c]
call fcn.0042c3f0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a0a0
test byte [edi + 0x20], 1
je 0x42810c
push dword [esi + 0x74]
lea ecx, [ebp - 0x30]
call fcn.00425d90
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.00426020
test al, al
je 0x428057
lea ecx, [ebp - 0x30]
call fcn.004260a0
test al, al
jne 0x4280e4
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4280e4
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20]
push dword [esi + 0x74]
push str.Error:_failed_to_create_local_folder__s
push eax
call fcn.0043a500
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.0042c350
mov ecx, esi
call fcn.00428310
lea ecx, [ebp - 0x20]
call fcn.0043a0a0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a0a0
jmp 0x428113
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x10], al
push dword [ebp - 0x10]
push dword [esi + 0x64]
call fcn.0042d930
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a0a0
jmp 0x428113
mov ecx, esi
call fcn.00428140
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x44]
call eax
test al, al
je 0x428127
mov ecx, esi
call fcn.00428760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42c860
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a7c4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx], vtable.FileTransferEventAdapter.0
lea eax, [ebx + 8]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
push eax
mov dword [ebx + 4], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 8]
mov dword [ebx + 4], vtable.SafeVector_class_OperationEventListener__.0
mov dword [ebx], vtable.FileTransferOperation.0
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x38], 0
lea esi, [ebx + 0x3c]
mov dword [ebp - 4], 0
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x439ee0
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov dword [esi], vtable.LocalFilesDeleteOperation.0
lea edi, [ebx + 0x4c]
mov dword [ebx], vtable.LocalFilesDeleteOperation.1.0
lea esi, [edi + 4]
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00421670
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
lea eax, [ebx + 0x5c]
mov dword [eax], 0
mov dword [ebp + 8], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ebx, dword [ebp + 0x10]
mov ecx, eax
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.00427190
test ebx, ebx
je 0x42c9dd
mov eax, dword [ebp + 0xc]
mov edi, 0xfffffff0
sub edi, eax
lea esi, [eax + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [edi + esi]
add ecx, dword [eax]
mov eax, dword [esi - 0x10]
mov dword [ecx], eax
mov eax, dword [esi - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esi - 8]
mov dword [ecx + 8], eax
mov eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov ax, word [esi]
mov word [ecx + 0x10], ax
add ecx, 0x14
push dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [esi + 0x28]
sub ebx, 1
jne 0x42c9a1
mov edi, dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp + 0x14]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42cae0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0042c250
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0x48], al
pop esi
ret
Function at 0x42e930
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499d38
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push 0xe
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
lea ecx, [ebp - 0x18]
lea esi, [eax + 1]
push esi
call fcn.00425c40
push esi
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x18]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x42e9c3
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42e9b9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e9d6
push ecx
push esi
call fcn.00471d21
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0047da11
int3
Function at 0x436240
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
pop esi
ret

Function at 0x4362e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b0
mov eax, dword [0x4cc06c]
xor eax, esp
mov dword [esp + 0x1ac], eax
cmp byte [0x4d01d8], 0
jne 0x436330
lea eax, [esp + 0x18]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x436351
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
mov byte [0x4d01d8], 1
call fcn.00471d10
mov esp, ebp
pop ebp
ret
lea eax, [esp + 4]
push str.WindowsSocket_already_initialized.
push eax
call fcn.0043a5f0
add esp, 8
lea eax, [esp + 4]
push 0x4ca068
push eax
call fcn.004735bd
lea eax, [esp + 4]
push str.Failed_to_initialize_WindowsSocket.
push eax
call fcn.0043a5f0
add esp, 8
lea eax, [esp + 4]
push 0x4ca068
push eax
call fcn.004735bd
int3

Function at 0x436380
Capabilities:
Access peb ldr_data
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b1b6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
sub esp, 8
mov dword [esi], vtable.SocketIPv4.0
lea ecx, [esi + 4]
call fcn.0044fcc0
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
push eax
mov dword [esi + 8], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 6
mov byte [ebp - 4], 1
push 1
push 2
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], 0
cmp eax, 0xffffffff
je 0x436414
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
call fcn.00436cd0
push 0x4ca264
lea eax, [ebp - 0x28]
push eax
call fcn.004735bd
int3
Function at 0x4365c0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b1f7
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc06c]
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 - 0x24], edi
mov esi, dword [ebp + 8]
mov eax, 2
mov word [ebp - 0x20], ax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x1c], eax
movzx eax, word [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [edi + 0x24]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4366be
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
mov dword [ebp - 0x30], vtable.AutoLock.0
mov dword [ebp - 0x2c], esi
call dword [eax + 4]
mov dword [ebp - 4], 0
mov edi, dword [edi + 0x30]
test edi, edi
je 0x436668
mov dword [edi], vtable.WsaStartup.0
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0xc
push edi
call fcn.00471d21
add esp, 8
push 0xc
call fcn.004721ec
mov dword [ebp - 0x28], eax
sub esp, 0xc
mov byte [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x20]
mov edx, esp
mov ecx, eax
movups xmmword [edx], xmm0
call fcn.00436aa0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x30], eax
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 2
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
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.00471d10
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x48]
call fcn.00436cd0
push 0x4ca264
lea eax, [ebp - 0x48]
push eax
call fcn.004735bd
int3
Function at 0x436810
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b295
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x24]
push eax
call fcn.00436970
mov edi, eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x38], edi
call fcn.004721ec
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00436380
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], vtable.AutoLock.0
lea ecx, [esi + 8]
mov byte [esi + 0x28], 1
mov eax, dword [ecx]
mov dword [ebp - 0x40], ecx
call dword [eax + 4]
mov dword [ebp - 4], 3
push dword [esi + 0x24]
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x38]
mov dword [esi + 0x24], edi
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4368df
push 0xc
call fcn.004721ec
mov dword [ebp - 0x3c], eax
sub esp, 0xc
mov byte [ebp - 4], 4
movups xmm0, xmmword [ebp - 0x34]
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, eax
call fcn.00436aa0
mov byte [ebp - 4], 3
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x436916
push 0xc
call fcn.004721ec
mov dword [ebp - 0x3c], eax
sub esp, 0xc
mov byte [ebp - 4], 5
movups xmm0, xmmword [ebp - 0x34]
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, eax
call fcn.00436aa0
mov dword [esi + 0x30], eax
lea ecx, [esi + 8]
mov dword [ebp - 4], 6
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00471d10
mov esp, ebp
pop ebp
ret