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

Disassembly:
push 0xffffffffffffffff
push 0x49c241
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x18], 1
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [esi + 0x48], eax
mov byte [esp + 0x1c], 2
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x4c], ecx
mov edx, dword [edi + 0x50]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [edi + 0x60]
sub eax, 0x10
push eax
call fcn.00402840
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x68]
mov dword [esi + 0x68], ecx
mov edx, dword [edi + 0x6c]
mov dword [esi + 0x6c], edx
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov ecx, dword [edi + 0x74]
mov dword [esi + 0x74], ecx
mov edx, dword [edi + 0x78]
mov dword [esi + 0x78], edx
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
mov ecx, dword [edi + 0x80]
mov dword [esi + 0x80], ecx
mov edx, dword [edi + 0x84]
mov dword [esi + 0x84], edx
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x415b90
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x49ec50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push str.qicaihe
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea eax, [esp + 0x18]
push SysReAllocStringLen
push eax
xor ebp, ebp
call fcn.00445430
add esp, 0x10
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, ebp
jle 0x415d34
push 0x4ac2d4
push 0x4ac5e4
lea edx, [esp + 0x18]
push edx
call fcn.00405e80
push 0x4addb8
lea eax, [esp + 0x14]
call fcn.00406220
mov edi, eax
mov eax, 0x4addb8
call fcn.00406280
mov eax, dword [esp + 0x10]
push 0x2e
push eax
call fcn.0047f55a
add esp, 8
cmp eax, ebp
je 0x415d34
sub eax, dword [esp + 0x10]
cmp eax, ebp
jle 0x415d34
add eax, 4
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040fc90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004027c0
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00461729
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x415c98
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea esi, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.00445180
mov byte [esp + 0x24], 3
mov ecx, dword [eax]
push 0x4addc0
push ecx
lea edx, [esp + 0x1c]
push 0x4adb90
push edx
call fcn.00402a20
mov byte [esp + 0x34], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.0047f335
add esp, 8
test eax, eax
jne 0x415d13
lea ebp, [eax + 1]
lea eax, [esi - 0x10]
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415d34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x420210
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49c138
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [ebx], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov edx, dword [esi + 8]
mov dword [ebx + 8], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [ebx + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x20], edx
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x28]
mov dword [ebx + 0x28], ecx
mov edx, dword [esi + 0x2c]
mov dword [ebx + 0x2c], edx
fld dword [esi + 0x30]
fstp dword [ebx + 0x30]
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov ecx, dword [esi + 0x38]
mov dword [ebx + 0x38], ecx
mov edx, dword [esi + 0x3c]
mov dword [ebx + 0x3c], edx
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov ecx, dword [esi + 0x44]
mov dword [ebx + 0x44], ecx
mov edx, dword [esi + 0x48]
mov dword [ebx + 0x48], edx
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
mov ecx, dword [esi + 0x50]
mov dword [ebx + 0x50], ecx
mov edx, dword [esi + 0x54]
mov dword [ebx + 0x54], edx
mov eax, dword [esi + 0x58]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebx + 0x58], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0x5c]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebx + 0x5c], eax
mov byte [esp + 0x20], 1
mov eax, dword [esi + 0x60]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebx + 0x60], eax
mov byte [esp + 0x24], 2
mov eax, dword [esi + 0x64]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebx + 0x64], eax
mov byte [esp + 0x28], 3
mov eax, dword [esi + 0x68]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebx + 0x68], eax
mov byte [esp + 0x2c], 4
mov eax, dword [esi + 0x6c]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebx + 0x6c], eax
mov byte [esp + 0x30], 5
mov eax, dword [esi + 0x70]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebx + 0x70], eax
mov byte [esp + 0x34], 6
mov eax, dword [esi + 0x74]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
mov dword [ebx + 0x74], eax
mov byte [esp + 0x38], 7
mov eax, dword [esi + 0x78]
sub eax, 0x10
push eax
call fcn.00402840
add eax, 0x10
add esp, 0x24
mov dword [ebx + 0x78], eax
add esi, 0x7c
lea edi, [ebx + 0x7c]
mov ecx, 0x2d
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4218c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a01d6
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
cmp esi, 0xffffffff
jle 0x421a2f
mov eax, dword [edi + 0x14cc]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
jge 0x421a2f
lea ecx, [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x18], 0
call fcn.00423950
test eax, eax
je 0x421a2f
lea ebx, [edi + 0x14ac]
push esi
mov ecx, ebx
call fcn.00464616
mov esi, eax
test esi, esi
je 0x421a2f
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00420210
push esi
push edi
mov dword [esp + 0x158], 0
call fcn.00423040
mov esi, ebx
call fcn.0041a070
mov esi, edi
call fcn.00421330
mov ecx, edi
call fcn.004230c0
mov eax, dword [edi + 0x20]
push 0
push 0x2f0d
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esp + 0x10], 0
je 0x421a26
mov ecx, dword [esp + 0x78]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push ecx
call esi
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x4219c2
mov edx, dword [esp + 0x78]
push edx
call ebx
lea ecx, [esp + 0x10]
call fcn.00402a40
mov byte [esp + 0x150], 1
mov eax, dword [esp + 0x78]
push eax
lea ecx, [esp + 0x14]
push str._s.sky
push ecx
call fcn.00402a20
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
call esi
test eax, eax
je 0x4219f8
push edi
call ebx
mov edx, dword [esp + 0x78]
push edx
lea eax, [esp + 0x14]
push str._s.brk
push eax
call fcn.00402a20
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
call esi
test eax, eax
je 0x421a1d
push edi
call ebx
lea ecx, [esp + 0x10]
call fcn.00433b30
lea eax, [esp + 0x14]
call fcn.0041a130
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423470
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1096
mov eax, dword fs:[0]
push eax
sub esp, 0x140
push ebx
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push edi
mov dword [esp + 0x1c], ebx
call fcn.00423950
test eax, eax
je 0x42364d
mov ecx, dword [edi + 0x14cc]
push ebx
push ebx
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
mov dword [esp + 0x18], eax
jle 0x42361e
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x14ac
call fcn.00464616
mov esi, eax
test esi, esi
je 0x42360e
cmp dword [esi + 0x12c], 0
je 0x42360e
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00420210
mov eax, dword [ebp + 8]
push esi
push eax
mov dword [esp + 0x160], 0
call fcn.00423040
cmp dword [esp + 0x14], 0
je 0x4235fa
mov ecx, dword [esp + 0x80]
push ecx
call edi
test eax, eax
je 0x423552
mov edx, dword [esp + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x423665
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x158], 1
mov ecx, dword [esp + 0x80]
push ecx
lea edx, [esp + 0x14]
push str._s.sky
push edx
call fcn.00402a20
mov esi, dword [esp + 0x1c]
add esp, 0xc
push esi
call edi
test eax, eax
je 0x4235aa
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x14]
push str._s.brk
push ecx
call fcn.00402a20
mov esi, dword [esp + 0x1c]
add esp, 0xc
push esi
call edi
test eax, eax
je 0x4235d6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi - 0x10]
mov byte [esp + 0x158], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4235fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x158], 0xffffffff
call fcn.0041a130
add ebx, 1
cmp ebx, dword [esp + 0x18]
jl 0x4234e4
mov edi, dword [ebp + 8]
lea esi, [edi + 0x14ac]
call fcn.0041a070
mov esi, edi
call fcn.00421330
mov ecx, edi
call fcn.004230c0
mov ecx, dword [edi + 0x20]
push 0
push 0x2f0d
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00401fb0
int3
Function at 0x424e80
Capabilities:
Hide graphical window

Disassembly:
push ebp
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x70c], edi
jle 0x424eca
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
test edi, edi
jl 0x424edd
cmp edi, dword [ebx + 0x70c]
jge 0x424edd
mov eax, dword [ebx + 0x708]
mov esi, dword [eax + edi*4]
push esi
call ebp
test eax, eax
je 0x424ebf
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
add edi, 1
cmp edi, dword [ebx + 0x70c]
jl 0x424e93
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x704]
call fcn.0047cda7
pop edi
pop esi
pop ebp
ret
jmp fcn.00461650
Function at 0x426370
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4a1063
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4263ad
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x24]
add ecx, 0x5c4
call fcn.0045e9df
push 0x4addb8
lea eax, [esp + 0x10]
call fcn.00406220
mov edi, eax
mov eax, 0x4addb8
call fcn.00406280
mov edx, dword [esp + 0xc]
cmp dword [edx - 0xc], 0
jle 0x42648d
push 4
call fcn.00459aee
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x18], 1
je 0x426431
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00402840
add esp, 4
add eax, 0x10
mov dword [esi], eax
jmp 0x426433
xor esi, esi
lea eax, [esp + 0x20]
push eax
push 4
push esi
push 0x426190
push 0
push 0
mov byte [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.0046e478
test eax, eax
je 0x426475
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x426477
xor eax, eax
mov ecx, dword [eax + 0x20]
push 0
push 0x2f19
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4264b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x426570
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x4c86e0]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
push eax
push 0x426600
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp]
xor eax, eax
test ecx, ecx
je 0x4265e2
push ecx
lea ecx, [esp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.004266f0
add esp, 4
test eax, eax
je 0x4265df
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
sub eax, 4
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0047e440
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0047e440
mov esp, ebp
pop ebp
ret
Function at 0x426650
Capabilities:
Acquire debug privileges
Print debug messages

Disassembly:
sub esp, 0x24
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x42667c
push 0x4aefc4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x24
ret
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4266a3
push 0x4aefd8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x24
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push 0
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
add eax, 1
add esp, 0x24
ret

Function at 0x426b30
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c86e0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x28]
test edi, edi
mov esi, ecx
jne 0x426b61
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0047e440
add esp, 0x18
ret 8
cmp dword [esi + 0x908], 0
je 0x426b94
mov eax, dword [esi + 0x90c]
test eax, eax
je 0x426b80
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x426b94
mov dword [esi + 0x90c], 0
mov dword [esi + 0x908], 0
mov eax, dword [esp + 0x2c]
push edi
mov dword [esi + 0x804], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
mov dword [esi + 0x910], eax
je 0x426b4b
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ebx, dword [edx]
xor eax, eax
mov dword [esp + 0xc], eax
push 0x50
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x10], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
mov eax, ebx
shr eax, 0x18
push eax
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
push edx
mov eax, ebx
shr eax, 8
movzx ecx, al
push ecx
movzx edx, bl
push edx
lea eax, [esi + 0x808]
push str._d._d._d._d
push eax
mov dword [esp + 0x28], ebx
call fcn.0047eeee
mov edx, dword [esi + 0x90c]
add esp, 0x18
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x426b4b
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop edi
mov dword [esi + 0x908], eax
pop esi
pop ebx
xor ecx, esp
call fcn.0047e440
add esp, 0x18
ret 8
Function at 0x427120
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x908], 0
jne 0x427132
xor eax, eax
pop esi
ret 8
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x42713e
lea edi, [esi + 4]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x42715b
lea eax, [esi + 4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x427150
sub eax, edx
push 0
push eax
mov eax, dword [esi + 0x90c]
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
pop edi
je 0x42712c
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sym.qicaihe.exe_public:_char_const____thiscall_CHttpSocket::GetResponseHeader_int__
mov eax, 1
pop esi
ret 8

Function at 0x427190
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x908], 0
jne 0x4271a2
xor eax, eax
pop esi
ret 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x90c]
push edi
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jg 0x4271ec
mov eax, dword [esi + 0x90c]
test eax, eax
je 0x4271d8
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x4271ec
mov dword [esi + 0x90c], 0
mov dword [esi + 0x908], 0
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x427290
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
neg eax
push 4
sbb eax, eax
lea edx, [esp + 8]
push edx
add eax, 0x1006
push eax
mov eax, dword [ecx + 0x90c]
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
neg eax
sbb eax, eax
add eax, 1
ret 8

Function at 0x4272d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push edi
mov edi, ecx
cmp dword [edi + 0x918], 0
jne 0x427356
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
push esi
mov byte [esp + 0x13], 0
xor esi, esi
mov bl, 0xa
nop
cmp esi, 0x400
jge 0x427343
mov ecx, dword [edi + 0x90c]
push 0
push 1
lea eax, [esp + 0x1b]
push eax
push ecx
call ebp
mov dl, byte [esp + 0x13]
mov byte [esi + edi + 0x404], dl
add esi, 1
cmp esi, 4
jl 0x4272f0
cmp byte [esi + edi + 0x400], 0xd
jne 0x4272f0
cmp byte [esi + edi + 0x401], bl
jne 0x4272f0
cmp byte [esi + edi + 0x402], 0xd
jne 0x4272f0
cmp byte [esi + edi + 0x403], bl
jne 0x4272f0
mov dword [edi + 0x91c], esi
pop esi
pop ebp
mov dword [edi + 0x918], 1
pop ebx
mov eax, dword [edi + 0x91c]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
lea eax, [edi + 0x404]
pop edi
pop ecx
ret 4
Function at 0x428a20
Capabilities:
Get file version info

Disassembly:
sub esp, 0x38
push ebp
push esi
mov esi, eax
push edi
lea eax, [esp + 0xc]
push eax
lea ebp, [esi + 0x28]
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x428a43
pop edi
pop esi
pop ebp
add esp, 0x38
ret
push ebx
lea ebx, [edi + 1]
push ebx
call fcn.00459b19
push ebx
push 0
push eax
mov dword [esi], eax
call fcn.00483d60
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
add esp, 0x10
push ecx
push edi
push edx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x428b23
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00428b30
test eax, eax
je 0x428b23
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov word [esi + 0xa], ax
mov eax, dword [esp + 0x20]
mov edx, eax
shr ecx, 0x10
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x24]
mov word [esi + 8], cx
shr edx, 0x10
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x28]
mov word [esi + 0xc], dx
mov edx, eax
mov word [esi + 0x16], ax
mov eax, dword [esp + 0x30]
shr ecx, 0x10
shr edx, 0x10
mov word [esi + 0x10], cx
mov ecx, dword [esp + 0x34]
mov word [esi + 0x14], dx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x3c]
lea edi, [esi + 0x230]
mov ebx, 0x4af1e4
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
call fcn.00428b80
lea edi, [esi + 0x640]
mov ebx, 0x4af1f0
call fcn.00428b80
lea edi, [esi + 0x438]
mov ebx, 0x4af200
call fcn.00428b80
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x38
ret
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x38
ret