joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x589f89
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, 1
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov byte [esp + 0x10], bl
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
sub esp, 0x14
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x30], esp
mov dword [eax + 0x10], ecx
mov byte [esp + 0x40], 2
push edi
mov byte [esp + 0x44], 1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
call fcn.0043bfd0
add esp, 0x24
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], bl
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x43b6b4
cmp esi, dword [esp + 0x3c]
je 0x43b6ab
push esi
call fcn.004139b0
add esi, 0x1c
cmp esi, dword [esp + 0x3c]
jne 0x43b698
mov esi, dword [esp + 0x34]
push esi
call fcn.004a3142
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x43b6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58b0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
cmp edi, dword [esp + 0x44]
jg 0x43b7ad
call fcn.0043ab20
cmp edi, eax
jg 0x43b7ad
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov dword [eax + 4], ecx
sub esp, 0x14
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x58], esp
mov dword [eax + 0x10], edx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x4c]
push ebx
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x50], 0xffffffff
call fcn.0043b600
add esp, 0x20
lea edi, [esp + 0x14]
call fcn.0043a960
mov edi, dword [esp + 0x38]
mov eax, ebp
call fcn.0043c5d0
mov esi, dword [esi + 0x10]
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov byte [esp + 0x44], 0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x48]
push ecx
push edx
mov edi, ebp
mov ebx, esi
call fcn.0043aa60
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
call fcn.0043ab20
mov edi, dword [esp + 0x44]
cmp edi, eax
jg 0x43b876
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov dword [eax + 4], ecx
sub esp, 0x14
mov eax, esp
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov edx, dword [esi + 0x10]
mov dword [esp + 0x58], esp
mov dword [eax + 0x10], edx
mov dword [esp + 0x44], 1
push ebp
push ebx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x50], 0xffffffff
call fcn.0043b600
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp eax, edi
je 0x43b82d
mov edi, eax
cmp eax, dword [esp + 0x1c]
je 0x43b824
push edi
call fcn.004139b0
add edi, 0x1c
cmp edi, dword [esp + 0x1c]
jne 0x43b811
mov eax, dword [esp + 0x14]
push eax
call fcn.004a3142
add esp, 4
mov byte [esp + 0x44], 0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
mov eax, ebx
mov ebx, dword [esp + 0x44]
mov edi, ebp
call fcn.0043aa60
mov esi, dword [esi + 0x10]
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov edi, ebx
add esp, 0xc
mov ebx, esi
call fcn.0043c5d0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x43b88d
cmp ebx, ebp
je 0x43b88d
push ebp
push ebx
push esi
call fcn.0043cd40
add esp, 0xc
lea ecx, [edi*8]
sub ecx, edi
lea eax, [esi + ecx*4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x43c6f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58af59
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, 1
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x10], bl
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
sub esp, 0x14
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], esp
mov dword [eax + 0x10], ecx
mov byte [esp + 0x40], 2
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push eax
push edi
mov byte [esp + 0x4c], 1
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
call fcn.0043c940
add esp, 0x2c
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x43c7ac
mov esi, eax
cmp eax, dword [esp + 0x44]
je 0x43c7a3
push esi
call fcn.004139b0
add esi, 0x1c
cmp esi, dword [esp + 0x44]
jne 0x43c790
mov eax, dword [esp + 0x3c]
push eax
call fcn.004a3142
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x43d010
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x584f7a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [ebx + 4], 0
jne 0x43d1d3
mov edi, str.EntSvrUpdateV3.dll
lea esi, [esp + 0xc]
call fcn.004065f0
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x43d073
xor ecx, ecx
mov eax, esi
call fcn.00403340
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x43d0a4
mov dword [esp + 0x18], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x43d0c6
xor ecx, ecx
lea eax, [esp + 0xc]
call fcn.00403340
mov edx, dword [esp + 0xc]
push edx
call section..text
add esp, 4
test eax, eax
jne 0x43d0f9
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
push ecx
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x43d11b
xor ecx, ecx
lea eax, [esp + 0xc]
call fcn.00403340
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx], eax
test eax, eax
jne 0x43d14e
mov dword [esp + 0x18], 0xffffffff
lea edx, [esp + 0xc]
push edx
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EntXhsUpdateV3
push eax
call esi
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
push str.EntBDUpdateV3
push eax
call esi
mov ecx, dword [ebx]
push str.EntSafeUpdateV3
push ecx
mov dword [ebx + 8], eax
call esi
mov edx, dword [ebx]
push str.EntInitV3
push edx
mov dword [ebx + 0x10], eax
call esi
mov dword [ebx + 0x14], eax
mov eax, dword [ebx]
push str.EntV3GetHttpPath
push eax
call esi
mov ecx, dword [ebx]
push str.EntV3GetHttpPathV2
push ecx
mov dword [ebx + 0x18], eax
call esi
mov edx, dword [ebx]
push str.EntUpdateV3Stop
push edx
mov dword [ebx + 0x1c], eax
call esi
mov dword [ebx + 0x20], eax
mov eax, dword [ebx]
push str.EntOfflineUpdatePublishV3
push eax
call esi
mov dword [ebx + 0x24], eax
mov dword [ebx + 4], 1
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
push ecx
call fcn.00403090
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x43e120
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
push 0
mov ebx, 0x80004005
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x43e188
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x43e188
cmp dword [esi + 4], 0
jne 0x43e188
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x43e240
push 0
push 0
call fcn.004a4c67
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
je 0x43e188
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call edi
mov ecx, dword [esi + 4]
push ecx
call edi
pop edi
xor eax, eax
pop ebx
ret
pop edi
mov eax, ebx
pop ebx
ret

Function at 0x43f340
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x58d38a
mov eax, dword fs:[0]
push eax
mov eax, 0x8040
call fcn.004c3410
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x8038], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x8054]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8064]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp esi, ebx
je 0x43f4b4
cmp eax, ebx
je 0x43f4b4
lea eax, [esp + 0x24]
push eax
call fcn.00462370
mov dword [esp + 0x805c], ebx
push 0x800f
lea ecx, [esp + 0x41]
push ebx
push ecx
mov byte [esp + 0x48], bl
call fcn.004add60
add esp, 0xc
push esi
push 0x8000
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x20], eax
lea edi, [esp + 0x3c]
jle 0x43f45c
cmp byte [esp + ebp + 0x3c], 0
lea esi, [esp + ebp + 0x3d]
jne 0x43f444
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00402fe0
mov byte [esp + 0x805c], 1
lea edi, [esp + 0x18]
call fcn.00406480
mov ebx, edi
call fcn.00406560
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
je 0x43f427
lea edi, [esp + 0x24]
call fcn.0040a8f0
xor al, al
cmp byte [esi], al
je 0x43f44b
mov edi, esi
mov byte [esp + 0x805c], al
lea edx, [esp + 0x18]
push edx
call fcn.00403090
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x43f3e5
jmp 0x43f45c
mov byte [esp + 0x805c], al
lea eax, [esp + 0x18]
push eax
call fcn.00403090
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
xor esi, esi
sar eax, 2
test eax, eax
jbe 0x43f49f
mov edi, dword [esp + 0x1c]
cmp esi, eax
jb 0x43f47a
call fcn.004a35f3
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + esi*4]
push eax
push edi
call fcn.004a4b4f
add esp, 8
test eax, eax
je 0x43f4de
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
inc esi
sar eax, 2
cmp esi, eax
jb 0x43f47a
mov dword [esp + 0x805c], 0xffffffff
lea eax, [esp + 0x24]
push eax
call fcn.0040ac80
xor al, al
mov ecx, dword [esp + 0x8054]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8038]
xor ecx, esp
call fcn.004a314d
add esp, 0x804c
ret
mov dword [esp + 0x805c], 0xffffffff
lea edx, [esp + 0x24]
push edx
call fcn.0040ac80
mov al, 1
jmp 0x43f4b6
Function at 0x43f500
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x58de5d
mov eax, dword fs:[0]
push eax
mov eax, 0x8028
call fcn.004c3410
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x8020], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x803c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x804c]
mov esi, edx
mov ebx, dword [esi + 0x10]
mov edi, ecx
cmp dword [esi + 0xc], ebx
jbe 0x43f557
call fcn.004a35f3
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x43f572
call fcn.004a35f3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
push ebx
push edx
push ecx
push eax
push esi
lea ebx, [esp + 0x30]
call fcn.0040ab40
push edi
mov ecx, ebp
call fcn.0043f340
add esp, 4
test al, al
jne 0x43f5af
push edi
push str.not_found_section:_s
mov esi, 0x602250
call fcn.00409e30
add esp, 8
xor al, al
jmp 0x43f67a
push 0x800f
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call fcn.004add60
add esp, 0xc
push ebp
push 0x8000
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
xor ecx, ecx
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x24]
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x43f678
cmp byte [esp + ecx + 0x24], 0
lea ebp, [esp + ecx + 0x25]
jne 0x43f658
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00402fe0
mov dword [esp + 0x8044], 0
lea edi, [esp + 0x14]
call fcn.00406480
mov ebx, edi
call fcn.00406560
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x43f633
mov edi, esi
call fcn.0040a8f0
cmp byte [ebp], 0
je 0x43f663
mov edi, ebp
mov dword [esp + 0x8044], 0xffffffff
lea ecx, [esp + 0x14]
push ecx
call fcn.00403090
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x43f5f0
jmp 0x43f678
mov dword [esp + 0x8044], 0xffffffff
lea edx, [esp + 0x14]
push edx
call fcn.00403090
mov al, 1
mov ecx, dword [esp + 0x803c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8020]
xor ecx, esp
call fcn.004a314d
add esp, 0x8034
ret
Function at 0x43fdb0
Capabilities:
Resolve dns

Disassembly:
mov eax, edi
push esi
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43fdb8
sub eax, edx
cmp eax, 3
jb 0x43fde2
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x43fddd
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x43fde2
mov esi, 1
test esi, esi
setne al
pop esi
ret
Function at 0x43fdf0
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
sub esp, 0x478
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x474], eax
mov eax, dword [str.ProxyServer]
mov edx, dword [0x5d79e4]
push ebx
push ebp
mov ebp, dword [esp + 0x484]
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0xf
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x5d79e0]
push 0xf003f
mov dword [esp + 0x44], ecx
xor edi, edi
push edi
lea ecx, [esp + 0x50]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x54], edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43fe66
xor eax, eax
jmp 0x440019
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
push edi
push str.ProxyEnable
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], 4
mov dword [esp + 0x30], edi
call esi
test eax, eax
jne 0x44000a
cmp dword [esp + 0x18], edi
je 0x44000a
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x84]
push eax
push edi
push edi
lea ecx, [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x40], 0x3ff
call esi
test eax, eax
jne 0x44000a
lea eax, [esp + 0x80]
push 0x3a
push eax
call fcn.004a6250
mov esi, eax
add esp, 8
cmp esi, edi
je 0x44000a
lea ecx, [esp + 0x80]
mov edx, ecx
mov edi, esi
sub edi, ecx
push edx
mov eax, ebp
call fcn.004033b0
inc esi
push esi
call fcn.004a3636
add esp, 4
mov word [ebx], ax
cmp ax, 1
jb 0x44000a
mov ecx, 0xffff
cmp ax, cx
ja 0x44000a
movzx edx, ax
cmp dword [0x603db0], edx
jne 0x440002
lea esi, [esp + 0x30]
mov edi, 0x6043e0
call fcn.00437c10
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov esi, dword [0x6043f0]
cmp dword [0x6043ec], esi
jbe 0x43ff64
call fcn.004a35f3
test edi, edi
je 0x43ff70
cmp edi, dword [0x6043e0]
je 0x43ff75
call fcn.004a35f3
cmp ebx, esi
je 0x43ffda
test edi, edi
jne 0x43ffb3
call fcn.004a35f3
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x43ff8e
call fcn.004a35f3
mov ecx, dword [ebx]
mov eax, dword [ebp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43ffb7
test dl, dl
je 0x43ffaf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43ffb7
add eax, 2
add ecx, 2
test dl, dl
jne 0x43ff93
xor eax, eax
jmp 0x43ffbc
mov eax, dword [edi]
jmp 0x43ff84
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43ffda
lea edi, [esp + 0x30]
lea esi, [esp + 0x20]
call fcn.0040cef0
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x43ff51
mov esi, dword [0x6043f0]
cmp dword [0x6043ec], esi
jbe 0x43ffed
call fcn.004a35f3
test edi, edi
je 0x43fff9
cmp edi, dword [0x6043e0]
je 0x43fffe
call fcn.004a35f3
cmp ebx, esi
jne 0x44000a
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x484]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a314d
add esp, 0x478
ret
Function at 0x4402d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x134
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x130], eax
mov ecx, dword [esp + 0x138]
push ebx
xor eax, eax
push ebp
mov dword [esp + 0x128], eax
push esi
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
mov eax, 2
push ecx
mov dword [esp + 0x18], 1
xor bl, bl
mov word [esp + 0x130], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [esp + 0x132], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x44034e
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x440355
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov dword [esp + 0x130], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4403a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.socket_failed__error:__d
mov ebx, 3
mov ecx, 0x604408
call fcn.00446e90
add esp, 8
xor al, al
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004a314d
add esp, 0x134
ret
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x1006
push 0xffff
push esi
mov dword [esp + 0x24], 0xbb8
call ebp
push 4
lea edx, [esp + 0x14]
push edx
push 0x1005
push 0xffff
push esi
call ebp
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0x10
lea ecx, [esp + 0x130]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x44044a
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x2733
je 0x44044a
call ebp
movzx edx, word [esp + 0x144]
push eax
push edx
push edi
push str.connect_failed__ip:__s__port:__d__error:__d
mov ebx, 3
mov ecx, 0x604408
call fcn.00446e90
add esp, 0x10
xor al, al
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004a314d
add esp, 0x134
ret
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x440482
mov bl, 1
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
test bl, bl
jne 0x4404c8
movzx edx, word [esp + 0x144]
push edx
push edi
push str.connect_timeout__ip:__s__port:__d
mov ebx, 3
mov ecx, 0x604408
call fcn.00446e90
add esp, 0xc
xor al, al
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004a314d
add esp, 0x134
ret
mov ecx, dword [esp + 0x13c]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.004a314d
add esp, 0x134
ret
Function at 0x446720
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x550
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x54c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x55c]
push esi
push edi
xor ebx, ebx
push 0x13c
lea eax, [esp + 0x20]
push ebx
push eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x24], ebx
call fcn.004add60
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x446776
xor eax, eax
jmp 0x4467fc
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x3ff
lea eax, [esp + 0x15d]
push ebx
push eax
mov byte [esp + 0x164], bl
call fcn.004add60
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
test byte [esp + 0x18], 0x10
jne 0x4467e3
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
call fcn.004466e0
cmp eax, dword [0x603dc4]
jbe 0x4467e3
lea ecx, [esp + 0x44]
push ecx
push ebp
lea edx, [esp + 0x160]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x4467e3
lea eax, [esp + 0x158]
push eax
call ebx
inc edi
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4467a4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [esp + 0x55c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a314d
add esp, 0x550
ret
Function at 0x446ca0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x589c24
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp byte [ebx], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jne 0x446e4c
cmp dword [ebp + 0x1c], 0
jne 0x446d05
or eax, 0xffffffff
jmp 0x446e4e
lea eax, [esp + 0xc]
push eax
call fcn.004030f0
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push esi
lea esi, [esp + 0x14]
call fcn.00447030
add esp, 4
mov byte [esp + 0x38], 1
movzx edx, word [esp + 0x22]
movzx ecx, word [esp + 0x20]
mov eax, dword [eax]
push edx
movzx edx, word [esp + 0x22]
push ecx
movzx ecx, word [esp + 0x24]
push edx
movzx edx, word [esp + 0x20]
push ecx
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x2e]
push ecx
push edx
push eax
push str._s_______02d__02d__d:_02d:_02d:_02d._03d_0800_
lea edi, [esp + 0x30]
call fcn.0041f3a0
add esp, 0x24
mov byte [esp + 0x38], 0
mov ecx, esi
push ecx
call fcn.00403090
mov eax, dword [ebp + 0x1c]
lea edx, [ebp + 0x20]
push edx
push eax
call fcn.0040b000
push 0x5d2c30
mov ecx, edi
push ecx
mov edx, 2
call fcn.00403150
mov eax, dword [ebp + 8]
cmp eax, 7
ja case.0x446daa.5
jmp dword [eax*4 + 0x446e6c]
cmp dword [0x603dc8], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
jne 0x446dcf
mov edi, 0x604538
call fcn.00450660
jmp case.0x446daa.5
lea esi, [ebx + 0x14]
jmp 0x446e35
lea esi, [ebx + 0x3c]
jmp 0x446e2c
cmp dword [0x603dc8], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
jne 0x446df7
mov edi, 0x6045e0
call fcn.00450660
jmp case.0x446daa.5
lea esi, [ebx + 0x64]
jmp 0x446e35
cmp dword [0x603dc0], 1
jne case.0x446daa.5
lea esi, [ebx + 0x8c]
jmp 0x446e2c
cmp dword [0x603dc0], 1
jne case.0x446daa.5
lea esi, [ebx + 0x104]
jmp 0x446e2c
lea esi, [ebx + 0xb4]
jmp 0x446e2c
lea esi, [ebx + 0xdc]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call fcn.0040ae50
mov dword [esp + 0x38], 0xffffffff
lea edx, [esp + 0xc]
push edx
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a314d
mov esp, ebp
pop ebp
ret