joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456370
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
or ebp, 0xffffffff
call fcn.0044ba50
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
add esi, 0x6c944
mov eax, dword [esi]
test eax, eax
je 0x456418
cmp eax, dword [esp + 0x20]
je 0x456458
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 4]
cmp eax, 0x1d4c0
jbe 0x45641e
mov edi, dword [esi]
mov ecx, dword [esp + 0x14]
push edi
call fcn.0041ccb0
test eax, eax
je 0x456409
mov ecx, edi
call fcn.0046dc10
test eax, eax
je 0x456409
mov ecx, dword [esp + 0x14]
mov ebx, dword [edi + 4]
push 2
call fcn.00479b90
cmp ebx, eax
je 0x45641e
push 1
mov ecx, edi
call fcn.0046b850
mov ecx, edi
call fcn.0046b800
mov dword [esi], 0
mov dword [esi + 4], 0
test ebp, ebp
jge 0x45641e
mov ebp, dword [esp + 0x10]
jmp 0x45641e
mov dword [esi], 0
mov dword [esi + 4], 0
jmp 0x45641e
test ebp, ebp
jge 0x45641e
mov ebp, ecx
mov ecx, dword [esp + 0x10]
add esi, 8
inc ecx
cmp ecx, 0x1e
mov dword [esp + 0x10], ecx
jl 0x456395
test ebp, ebp
jl 0x456458
cmp ebp, 0x1e
jge 0x456458
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esi + ebp*8 + 0x6c944], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + ebp*8 + 0x6c948], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x458d50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x53e370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.0042eff0
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2a]
and eax, 0xffff
and edx, 0xffff
push 0
push str.VersionCheckDate
lea eax, [eax + eax*4]
push 0x588a34
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x3a]
and ecx, 0xffff
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
mov ecx, ebx
mov dword [esp + 0x28], esi
call fcn.0052bdb3
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x6cc7c]
test eax, eax
jne 0x458f3f
push edi
mov edi, 0x58aa40
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x6cc7c], 1
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x591288]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x54], 0
push edx
push 1
push 0
push str.SoftwareJetCarJetCarGeneral
push reloc.FGBTCORE.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop edi
jne 0x458efd
lea eax, [esp + 0x24]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.PakageVersion
push eax
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, 0x58aa40
lea eax, [esp + 0x38]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x458e92
test cl, cl
je 0x458e8e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x458e92
add eax, 2
add esi, 2
test cl, cl
jne 0x458e6e
xor eax, eax
jmp 0x458e97
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x458ef2
call fcn.0052ba93
mov esi, dword [eax + 4]
call fcn.0042eff0
add eax, 0x118
mov ecx, esi
push eax
push str.Version
lea eax, [esp + 0x20]
push 0x588a34
push eax
call fcn.0052be1f
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call fcn.0050d536
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0xc]
push ecx
push str.install
mov ecx, ebx
call fcn.00436310
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.Flags6
push 0x588a34
call fcn.0042eff0
mov ecx, eax
call fcn.0052bdb3
test eax, eax
jne 0x458f2a
mov eax, dword [esp + 0xc]
mov ecx, ebx
push eax
push str.firstRun
call fcn.00436310
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0xffffffff
call fcn.0050d3fd
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x20]
je 0x458f77
push esi
push str.VersionCheckDate
push 0x588a34
mov ecx, ebx
call fcn.0051d77d
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x723d8]
push 0x400
push ecx
push str.updns1.amazesoft.net
push 0x4de
push edx
call dword [sym.imp.WSOCK32.dll_WSAAsyncGetHostByName]
mov ecx, dword [esp + 0x48]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x45bdb0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x5c]
call fcn.0041c770
test eax, eax
jne 0x45bea4
push 0x513
mov ecx, esi
call fcn.005135e5
mov edi, eax
test edi, edi
je 0x45bea4
push ebp
lea eax, [esp + 0x10]
push 1
push eax
call fcn.0042eff0
mov ecx, eax
call fcn.0042fdd0
mov eax, dword [eax]
push 0x4001
lea ecx, [esp + 0x18]
push 0x160
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.0050d3fd
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test ebp, ebp
mov dword [esi + 0x6c], edx
je 0x45be39
mov eax, dword [edi + 0x1c]
push ebp
push 0
push 0x1109
push eax
call ebx
push 0x4010
lea ecx, [esp + 0x18]
push 0x160
push ecx
push 0x80
push str.a.URL
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x70], edx
push 0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 8]
mov ecx, esi
push edx
push edi
call fcn.0045beb0
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x110a
push eax
call ebx
test eax, eax
pop ebp
je 0x45bea4
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x110a
push ecx
call ebx
mov edx, dword [edi + 0x1c]
push eax
push 2
push 0x1102
push edx
call ebx
pop edi
pop esi
pop ebx
add esp, 0x164
ret
Function at 0x464ad0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53f728
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea eax, [esp + 0x14]
lea ecx, [esi + 0x34]
push eax
mov dword [esp + 0x10], 0
call fcn.0050d536
mov ecx, dword [esp + 0x18]
push 1
mov dword [esi + 0x30], ecx
mov ecx, esi
call fcn.0041c220
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 8
Function at 0x464dc0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x53f7f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x1e0]
mov dword [esp + 0x1c], 0
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.004eea90
add esp, 8
test eax, eax
jne 0x464e05
lea ecx, [esp + 0x24]
call fcn.0050d388
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x1e4]
lea edi, [esi + 0x1e4]
push ecx
push eax
call fcn.004eea90
add esp, 8
test eax, eax
je 0x464fb6
mov eax, dword [esp + 0x28]
test eax, eax
je 0x464f80
mov eax, dword [esi + 0x264]
test eax, eax
je 0x464f80
mov eax, dword [0x591288]
mov dword [esp + 8], eax
mov dword [esp + 0x28], eax
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.0046dc10
test eax, eax
jne 0x464e8d
test byte [esi + 0x1ac], 2
je 0x464e8d
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.00465160
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 4
call fcn.0050d536
mov byte [esp + 0x1c], 2
lea ecx, [esp + 0x10]
jmp 0x464eb1
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00465200
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.0050d536
mov byte [esp + 0x1c], 2
lea ecx, [esp + 0x10]
call fcn.0050d3fd
push edi
lea ecx, [esp + 0x10]
call fcn.0050d172
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 5
push ecx
mov ecx, edi
call fcn.0050d536
mov ecx, esi
call fcn.0046dc10
test eax, eax
jne 0x464f0b
test byte [esi + 0x1ac], 2
je 0x464f0b
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.00465160
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 7
call fcn.0050d536
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x10]
jmp 0x464f2f
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00465200
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 6
call fcn.0050d536
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x10]
call fcn.0050d3fd
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x464f54
lea eax, [esp + 0xc]
mov ecx, edi
push eax
call fcn.0050d536
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.0050d3fd
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.0050d3fd
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.0050d3fd
jmp 0x464f8c
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0050d536
mov eax, dword [esi + 0x38]
test eax, eax
je 0x464fb6
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x464fb6
mov eax, dword [esi + 0x38]
push 2
push esi
push 0x4c8
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x46b9c0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53fe38
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46ba06
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.0050d3fd
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x477a70
Capabilities:
Copy file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x540d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 1
call fcn.0046e930
xor ebp, ebp
mov ecx, esi
push ebp
call fcn.0046e930
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
mov ebx, dword [eax + 4]
cmp ebx, ebp
je 0x477b00
mov eax, ebx
mov ebx, dword [ebx]
mov edi, dword [eax + 8]
mov ecx, dword [edi + 4]
cmp ecx, ebp
jl 0x477af2
jg 0x477ac8
mov edx, dword [edi]
mov eax, dword [esp + 0x18]
cmp edx, eax
jbe 0x477af2
push 0x18
call fcn.0050d138
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov edx, dword [edi]
push eax
mov dword [eax + 8], edx
mov ecx, dword [edi + 4]
mov dword [eax + 0xc], ecx
lea ecx, [esi + 0x184]
call fcn.0050a08e
mov edx, dword [edi + 8]
mov ebp, dword [edi + 0xc]
test ebx, ebx
mov dword [esp + 0x18], edx
jne 0x477aae
mov eax, dword [esi + 0x22c]
cmp eax, ebp
jl 0x477b4b
jg 0x477b1a
mov ecx, dword [esi + 0x228]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jbe 0x477b4b
push 0x18
call fcn.0050d138
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [eax], edx
mov dword [eax + 4], ebp
mov ecx, dword [esi + 0x228]
push eax
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x22c]
lea ecx, [esi + 0x184]
mov dword [eax + 0xc], edx
call fcn.0050a08e
mov ecx, esi
call fcn.0046b240
mov dword [esi + 0x228], eax
mov dword [esi + 0x22c], edx
mov eax, dword [0x591288]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
push ecx
mov ecx, esi
call fcn.00465200
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.0050d536
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0050d3fd
lea edx, [esp + 0x10]
push str..bak
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0050d692
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, 1
mov bl, 2
push edi
push ecx
push edx
mov byte [esp + 0x34], bl
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test byte [esi + 0x1ac], bl
je 0x477c22
lea eax, [esp + 0x10]
push str..jc_
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0050d692
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.0050d536
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.0050d3fd
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x477c22
mov eax, dword [esi + 0x1ac]
and al, 0xfd
mov dword [esi + 0x1ac], eax
cmp word [esi + 0x23a], 0
mov dword [esi + 0x23c], edi
jne 0x477c39
mov word [esi + 0x23a], di
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x477d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x540d67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x591288]
push esi
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov ecx, dword [ecx + 0x268]
lea eax, [esp + 0xc]
push 0
lea edx, [esp + 0x14]
push eax
push edx
lea eax, [esp + 0x12]
lea edx, [esp + 0x20]
push eax
push edx
lea eax, [esp + 0x1c]
lea edx, [esp + 0x30]
push eax
push edx
push ecx
mov byte [esp + 0x48], 4
call fcn.0043e9c0
mov esi, dword [esp + 0x50]
add esp, 0x20
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0050d172
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0050d3fd
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x47d970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x54150e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
lea ecx, [esi + 0x48]
mov dword [esp + 0x18], edi
call fcn.00491350
mov eax, dword [0x591288]
mov dword [esi + 0x6c], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
mov dword [esi + 0x40], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], eax
cmp ecx, edi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov dword [esi + 0x18], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x44], edi
mov dword [esi + 8], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
je 0x47d9f1
mov dword [esi + 0x20], 2
cmp dword [esp + 0x2c], edi
je 0x47da06
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], eax
or ecx, 4
mov dword [esi + 0x2c], eax
mov dword [esi + 0x20], ecx
cmp dword [esp + 0x30], edi
je 0x47da1a
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x20]
or al, 8
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x68], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 4], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x480420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54180f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov dword [esp + 0x18], 0
mov eax, dword [0x591288]
mov dword [esp + 0x38], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x10]
push str.CONNECT__s:_u_HTTP_1.0
push edx
mov byte [esp + 0x48], 3
call fcn.005060bb
add esp, 0x10
lea eax, [esp + 8]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0050d172
mov edi, dword [esp + 0x4c]
mov ecx, edi
call fcn.0047db40
lea ecx, [esp + 8]
push 0x5881a4
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.0050d692
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 4
call fcn.0050d536
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 3
call fcn.0050d3fd
mov esi, dword [esp + 0x50]
test byte [esi + 0x1c], 1
je 0x4805f5
lea ecx, [esp + 0x1c]
call fcn.004d1cf0
lea eax, [esi + 8]
push 0x5881a0
lea ecx, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0x44], 5
call fcn.0050d692
add esi, 0xc
lea edx, [esp + 0x4c]
push esi
push eax
push edx
mov byte [esp + 0x44], 6
call fcn.0050d62c
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 8
call fcn.0050d3fd
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
call fcn.004d1d40
mov esi, eax
push str.Proxy_Authorization:_Basic
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 9
call fcn.0050d46b
push esi
lea ecx, [esp + 0x54]
push eax
push ecx
mov byte [esp + 0x44], 0xa
call fcn.0050d62c
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 0xb
call fcn.0050d536
lea ecx, [esp + 0x50]
mov byte [esp + 0x38], 0xa
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 9
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 8
call fcn.0050d3fd
push 1
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.0050d172
mov ecx, edi
call fcn.0047db40
lea eax, [esp + 8]
push 0x5881a4
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.0050d692
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0xc
call fcn.0050d815
lea ecx, [esp + 0x50]
mov byte [esp + 0x38], 8
call fcn.0050d3fd
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 5
call fcn.0050d3fd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
call fcn.004d1d30
push 0x5881a4
lea ecx, [esp + 0x10]
call fcn.0050d7d9
mov esi, dword [esp + 0x40]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0050d172
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x38], 2
call fcn.0050d3fd
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.0050d3fd
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret
Function at 0x4822f0
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
push esi
mov dword [esp + 0x10], eax
mov word [esp + 8], 2
mov dword [esp + 0x14], eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x482337
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x48235e
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 6], ax
mov eax, dword [esp + 0x18]
lea edx, [esp + 4]
push 0x10
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
pop esi
add esp, 0x10
ret
push 0x2726
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret

Function at 0x4827a0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x541b7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov dword [esp + 0xc], 0
mov ebx, 1
mov dword [esp + 0x28], ebx
mov eax, dword [0x591288]
mov dword [esp + 8], eax
mov byte [esp + 0x28], 3
call fcn.0042eff0
mov esi, eax
mov ecx, dword [esi + 0x4d8]
inc ecx
mov dword [esi + 0x4d8], ecx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov edx, dword [esi + 0x4d8]
dec edx
test eax, eax
mov dword [esi + 0x4d8], edx
je 0x482863
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x17]
mov edx, dword [esp + 0x16]
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0x19]
and edx, 0xff
and ecx, 0xff
push edx
and eax, 0xff
push ecx
push eax
lea edx, [esp + 0x18]
push str._d._d._d._d
push edx
call fcn.005060bb
mov esi, dword [esp + 0x48]
add esp, 0x18
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0050d172
mov dword [esp + 0xc], ebx
jmp 0x482877
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.0050d172
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.0050d3fd
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call fcn.0050d3fd
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x485ff0
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x541fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 1
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x1c], 0
call fcn.0050d172
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 8]
call fcn.0047db40
lea ecx, [esp + 0x1c]
push 0x5881a4
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0050d692
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 1
call fcn.0050d536
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.0050d3fd
mov eax, dword [esp + 0x1c]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.WSOCK32.dll_send]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x486b10
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebx
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov ebx, dword [esp + 8]
test eax, eax
mov dword [ebx + 0x2c], eax
jne 0x486b2a
pop ebx
ret
mov ecx, dword [ebx]
push esi
call fcn.00434250
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x2c]
push 0x10
push 0x472
mov dword [eax + 0xc], ecx
mov edx, dword [ebx + 0x34]
mov dword [edx + 0x2c], 0
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x30], 0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov eax, dword [ebx + 0x21a4]
test eax, eax
je 0x486bdf
mov cx, word [eax + 0x18]
cmp cx, 7
je 0x486b84
cmp cx, 9
je 0x486b84
cmp cx, 8
jne 0x486bdf
add eax, 0x10
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.0050d172
mov esi, dword [esp + 0x10]
lea edx, [ebx + 0x1074]
mov ecx, 0x19
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esi - 8]
mov edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x21a4]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebx + 0x2c]
push eax
push edx
push ecx
call fcn.004822f0
add esp, 0xc
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.0050d3fd
pop edi
jmp 0x486bf5
mov edx, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x2c]
lea eax, [ebx + 0x38]
push edx
push eax
push ecx
call fcn.004822f0
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
pop esi
jne 0x486c1d
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x486c1d
mov edx, dword [ebx + 8]
mov dword [edx + 0xc], 0
mov ecx, dword [ebx]
call fcn.00434260
xor eax, eax
pop ebx
ret
mov ecx, dword [ebx]
call fcn.00434260
mov eax, 1
pop ebx
ret