joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448b60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
xor esi, esi
mov dword [esp + 0xc], esi
mov ebx, 7
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
push esi
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x5c], 1
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.0041d820
add esp, 0xc
test al, al
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
mov word [edi + 4], si
jne 0x41e10a
cmp dword [esp + 0x28], 8
jb 0x41e0ef
mov edx, dword [esp + 0x14]
push edx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x41e14d
mov eax, dword [esp + 0x30]
push eax
jmp 0x41e145
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x34]
mov ecx, edi
call fcn.004019b0
cmp dword [esp + 0x28], 8
jb 0x41e12c
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x41e14d
mov edx, dword [esp + 0x30]
push edx
call fcn.00433114
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004337a7
add esp, 0x4c
ret
Function at 0x41e170
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4468b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x20], eax
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 8], edi
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], di
mov dword [esp + 0x34], edi
cmp dword [eax + 0x18], 8
mov dword [esp + 8], edi
jb 0x41e1cd
mov eax, dword [eax + 4]
jmp 0x41e1d0
add eax, 4
push edi
lea ecx, [esp + 0xc]
push ecx
push edi
push 8
push 1
push eax
call sub.DNSAPI.dll_DnsQuery_W
test eax, eax
jne 0x41e26a
mov eax, dword [esp + 8]
cmp eax, edi
je 0x41e26a
cmp word [eax + 8], 1
je 0x41e204
mov eax, dword [eax]
cmp eax, edi
mov dword [esp + 8], eax
jne 0x41e1f1
jmp 0x41e238
mov eax, dword [eax + 0x18]
mov edx, eax
shr edx, 0x18
push edx
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
push edx
shr ecx, 8
movzx edx, cl
movzx eax, al
push edx
push eax
push 0x44e79c
lea ecx, [esp + 0x20]
call fcn.0042fa83
mov eax, dword [esp + 0x1c]
add esp, 0x14
push 1
push eax
call sub.DNSAPI.dll_DnsRecordListFree
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
lea eax, [esp + 0x14]
mov ecx, esi
mov word [esi + 4], di
call fcn.004019b0
cmp dword [esp + 0x24], 8
jb 0x41e29a
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x41e292
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
lea eax, [esp + 0x14]
mov ecx, esi
mov word [esi + 4], di
call fcn.004019b0
cmp dword [esp + 0x24], 8
jb 0x41e29a
mov edx, dword [esp + 0x10]
push edx
call fcn.00433114
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004337a7
add esp, 0x30
ret
Function at 0x41e2c0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x446fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov esi, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], ebx
lea ebp, [ebx + 0x40]
call fcn.0041ec20
test al, al
je 0x41e323
mov ebp, 0x100
cmp dword [esi + 0x18], 8
jb 0x41e32e
mov esi, dword [esi + 4]
jmp 0x41e331
add esi, 4
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebp
push 1
push esi
call sub.DNSAPI.dll_DnsQuery_W
cmp eax, ebx
jne 0x41e436
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41e436
xor ebp, ebp
jmp 0x41e360
cmp word [eax + 8], 1
jne 0x41e3f6
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
mov byte [esp + 0x58], 1
mov eax, dword [eax + 0x18]
mov ecx, eax
shr ecx, 0x18
push ecx
mov edx, eax
shr edx, 0x10
movzx ecx, dl
push ecx
mov edx, eax
shr edx, 8
movzx ecx, dl
push ecx
movzx edx, al
push edx
push 0x44e79c
lea ecx, [esp + 0x44]
call fcn.0042fa83
add esp, 0x14
cmp ebp, ebx
jle 0x41e3c5
push 1
push 0x44e7b4
lea ecx, [esp + 0x1c]
call fcn.0040a5d0
push ebx
lea eax, [esp + 0x34]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040a4c0
add ebp, 1
mov byte [esp + 0x58], bl
cmp dword [esp + 0x48], 8
jb 0x41e3f2
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00433114
add esp, 4
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x41e360
push 1
push eax
call sub.DNSAPI.dll_DnsRecordListFree
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea eax, [esp + 0x1c]
mov ecx, edi
mov word [edi + 4], bx
call fcn.004019b0
cmp dword [esp + 0x2c], 8
jb 0x41e466
mov edx, dword [esp + 0x18]
push edx
jmp 0x41e45e
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea eax, [esp + 0x1c]
mov ecx, edi
mov word [edi + 4], bx
call fcn.004019b0
cmp dword [esp + 0x2c], 8
jb 0x41e466
mov eax, dword [esp + 0x18]
push eax
call fcn.00433114
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004337a7
add esp, 0x4c
ret

Function at 0x41e490
Capabilities:
Check internet connectivity via wininet

Disassembly:
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCheckConnectionW]
push 0
push 1
push 0x44e7b8
call esi
test eax, eax
je 0x41e4aa
mov al, 1
pop esi
ret
push 0
push 1
push str.http:__www.baidu.com
call esi
test eax, eax
jne 0x41e4a6
push eax
push 1
push str.http:__www.sina.com.cn
call esi
test eax, eax
setne al
pop esi
ret
Function at 0x41e970
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x446fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x78], 1
cmp dword [esp + 0x94], ebx
mov ebp, 8
jne 0x41e9ee
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.00431a93
add esp, 8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 2
call fcn.004019b0
mov byte [esp + 0x78], 1
cmp dword [esp + 0x6c], ebp
jb 0x41e9ee
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00433114
add esp, 4
cmp dword [esp + 0xb0], ebx
jne 0x41ea0e
lea edx, [esp + 0x9c]
push edx
lea esi, [esp + 0x84]
call fcn.004317d7
add esp, 4
push 0x3c
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00434f20
add esp, 0xc
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x540
call fcn.0041ebc0
test al, al
mov dword [esp + 0x24], str.runas
jne 0x41ea4b
mov dword [esp + 0x24], str.open
cmp dword [esp + 0x98], ebp
jb 0x41ea61
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x28], ecx
jmp 0x41ea6c
lea edx, [esp + 0x84]
mov dword [esp + 0x28], edx
cmp dword [esp + 0xb4], ebp
jb 0x41ea82
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
jmp 0x41ea8d
lea ecx, [esp + 0xa0]
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x18], ebp
jb 0x41ea9b
mov edx, dword [edi + 4]
mov dword [esp + 0x2c], edx
jmp 0x41eaa2
add edi, 4
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41eb1b
cmp dword [esp + 0x98], ebp
jb 0x41ead2
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00433114
add esp, 4
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
jb 0x41eb05
mov edx, dword [esp + 0xa0]
push edx
call fcn.00433114
add esp, 4
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
je 0x41eb4f
cmp byte [esp + 0xb8], bl
je 0x41eb48
mov edx, dword [esp + 0xbc]
or eax, 0xffffffff
cmp edx, ebx
jl 0x41eb3c
mov eax, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x98], ebp
jb 0x41eb68
mov eax, dword [esp + 0x84]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
jb 0x41eb9b
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00433114
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x41f590
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x41f5a3
push 0x80004005
call fcn.00401040
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41f5b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41f5f0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x41f65e
test ecx, ecx
je 0x41f650
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x41f66c
test ecx, ecx
je 0x41f711
push ecx
jmp 0x41f70b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
jne 0x41f6de
jmp 0x41f6a0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.0041f5f0
mov edi, eax
test edi, edi
jne 0x41f72d
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
je 0x41f6a0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41f6f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41f711
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004337a7
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41f73c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x41f713
Function at 0x41fbf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x448b20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4581b0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x414]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
call dword [0x458008]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x41fc79
call fcn.0041f320
mov esi, eax
jmp 0x41fd5f
mov edx, dword [ebp - 0x14]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41fc95
call fcn.0041f320
jmp 0x41fd56
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x41fcae
call fcn.0041f320
jmp 0x41fd56
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jae 0x41fce4
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x41fcd2
lea eax, [ebp]
call fcn.0042e350
lea esi, [ebp - 0x1c]
call fcn.0042e0b0
mov eax, 0x8007000e
jmp 0x41fd72
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.0042e190
mov dword [ebp - 4], 1
jmp 0x41fd0c
mov esi, dword [ebp]
test esi, esi
jne 0x41fd1a
mov esi, 0x8007000e
jmp 0x41fd58
call dword [0x458008]
mov ecx, dword [ebp - 0x20]
push ebx
push esi
push ebx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41fd3b
call fcn.0041f320
jmp 0x41fd56
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00420940
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x41fd70
lea eax, [ebp]
call fcn.0042e350
nop
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 + 0x404]
xor ecx, ebp
call fcn.004337a7
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4226c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4489f0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
mov edi, ecx
xor ebp, ebp
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], 6
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x148
call fcn.0041e4d0
mov dword [esp + 0x80], ebp
push 0x3e
mov ebx, 7
push str._web_ajax63_uId2SPTNPQRLSXuId41905134525324506284263rlO
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
call fcn.00401aa0
push ebp
push edi
or eax, 0xffffffff
mov byte [esp + 0x88], 1
call fcn.0040a4c0
lea ecx, [esp + 0x58]
push ecx
mov edx, str._version
lea edi, [esp + 0x1c]
call fcn.0040a830
add esp, 4
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x88], 2
call fcn.0040a4c0
mov edi, 8
mov byte [esp + 0x80], 1
cmp dword [esp + 0x30], edi
jb 0x42279f
mov edx, dword [esp + 0x1c]
push edx
call fcn.00433114
add esp, 4
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], ebp
push ebp
lea eax, [esp + 0x60]
mov word [ecx + 4], bp
call fcn.004019b0
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x70], esp
mov byte [esp + 0xb8], 3
push 0x11
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push str.union2.50bang.org
mov word [esi + 4], bp
call fcn.00401aa0
mov byte [esp + 0xb8], 1
call fcn.00424c10
add esp, 0x38
cmp dword [esp + 0x54], edi
jb 0x42280f
mov eax, dword [esp + 0x40]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0x70], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], bp
jb 0x42282f
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00433114
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004337a7
add esp, 0x70
ret
Function at 0x424c10
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x814
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
cmp ebx, esi
jne 0x424c95
mov ebp, 8
cmp dword [esp + 0x840], ebp
jb 0x424c59
mov eax, dword [esp + 0x82c]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0x85c], ebp
mov dword [esp + 0x840], 7
mov dword [esp + 0x83c], esi
mov word [esp + 0x82c], si
jb 0x424e21
mov ecx, dword [esp + 0x848]
push ecx
call fcn.00433114
add esp, 4
jmp 0x424e21
push 4
lea edx, [esp + 0x18]
push edx
push 2
push ebx
mov dword [esp + 0x24], 0x7d0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [esp + 0x82c]
mov ebp, 8
cmp dword [esp + 0x840], ebp
jae 0x424cc9
lea eax, [esp + 0x82c]
push esi
push esi
push 3
push esi
push esi
push 0x50
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
cmp edi, esi
jne 0x424ceb
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x424c40
cmp dword [esp + 0x85c], ebp
mov eax, dword [esp + 0x848]
jae 0x424d02
lea eax, [esp + 0x848]
push esi
push 0x4280000
push esi
push esi
push str.HTTP_1.1
push eax
push 0x44f0cc
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x424d85
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
cmp dword [esp + 0x840], ebp
jb 0x424d47
mov edx, dword [esp + 0x82c]
push edx
call fcn.00433114
add esp, 4
xor eax, eax
cmp dword [esp + 0x85c], ebp
mov dword [esp + 0x840], 7
mov dword [esp + 0x83c], eax
mov word [esp + 0x82c], ax
jb 0x424e21
mov eax, dword [esp + 0x848]
push eax
call fcn.00433114
add esp, 4
jmp 0x424e21
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push 0x7fe
lea ecx, [esp + 0x1e]
push 0
push ecx
mov word [esp + 0x24], 0
call fcn.00434f20
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0x13
push esi
mov dword [esp + 0x24], 0x400
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebx
call edi
lea eax, [esp + 0x18]
call fcn.0042f5b1
cmp eax, 0xc8
push esi
jne 0x424e07
call edi
lea ecx, [esp + 0x828]
call fcn.00401950
lea ecx, [esp + 0x844]
call fcn.00401950
mov al, 1
jmp 0x424e23
call edi
lea ecx, [esp + 0x828]
call fcn.00401950
lea ecx, [esp + 0x844]
call fcn.00401950
xor al, al
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004337a7
add esp, 0x814
ret
Function at 0x427b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x448e46
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
lea ebp, [eax + 0x78]
push ebp
call fcn.00430dfc
add esp, 4
test al, al
je 0x427d59
lea esi, [esp + 0x54]
call fcn.00430c2e
xor edi, edi
lea esi, [esp + 0x18]
mov dword [esp + 0xac], edi
call fcn.00431163
mov byte [esp + 0xac], 1
push 5
push str..exe
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.00401aa0
mov eax, esi
push eax
mov bl, 2
push ebp
lea edi, [esp + 0x40]
mov byte [esp + 0xb4], bl
call fcn.0040a780
add esp, 8
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
mov ecx, eax
mov byte [esp + 0xb0], 3
call fcn.00431193
mov byte [esp + 0xac], bl
cmp dword [esp + 0x50], 8
mov byte [esp + 0x17], al
jb 0x427c4a
mov edx, dword [esp + 0x3c]
push edx
call fcn.00433114
add esp, 4
cmp byte [esp + 0x17], 0
je 0x427d17
lea esi, [esp + 0x54]
call fcn.00430d0b
test al, al
jne 0x427c9d
mov eax, esi
call fcn.00430cf8
test al, al
jne 0x427c9d
mov eax, esi
call fcn.00430cf4
push eax
push ebp
lea edi, [esp + 0x40]
call fcn.0040a780
add esp, 8
mov byte [esp + 0xac], 4
call fcn.00431711
mov ecx, edi
mov byte [esp + 0xac], bl
call fcn.00401950
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
call fcn.00431200
test al, al
je 0x427d17
nop
lea esi, [esp + 0x54]
call fcn.00430d0b
test al, al
jne 0x427d05
mov eax, esi
call fcn.00430cf8
test al, al
jne 0x427d05
mov eax, esi
call fcn.00430cf4
push eax
push ebp
lea edi, [esp + 0x40]
call fcn.0040a780
add esp, 8
mov byte [esp + 0xac], 5
call fcn.00431711
mov byte [esp + 0xac], bl
cmp dword [esp + 0x50], 8
jb 0x427d05
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00433114
add esp, 4
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x58]
call fcn.00431200
test al, al
jne 0x427cb0
lea eax, [esp + 0x18]
call fcn.00431253
cmp dword [esp + 0x34], 8
jb 0x427d34
mov eax, dword [esp + 0x20]
push eax
call fcn.00433114
add esp, 4
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
call fcn.0043117b
lea ecx, [esp + 0x54]
call fcn.00430c61
mov al, 1
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004337a7
add esp, 0x9c
ret 4
Function at 0x429110
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x448413
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x288], eax
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
xor edi, edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x2a0], edi
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edi
call fcn.00412df0
lea edx, [esp + 0x68]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2a0], 1
call fcn.00413630
push 0x208
lea ecx, [esp + 0x8a]
push edi
mov byte [esp + 0x2a8], 2
push ecx
mov word [esp + 0x90], di
call fcn.00434f20
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [esp + 0x84]
mov word [esp + 0x28a], di
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4291e0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x54]
call fcn.00401aa0
mov byte [esp + 0x2a0], 3
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], edi
mov word [ebx + 4], di
mov ecx, dword [esp + 0x50]
mov esi, 8
cmp dword [esp + 0x64], esi
mov dword [esp + 0x10], 1
jae 0x429232
lea ecx, [esp + 0x50]
cmp dword [esp + 0x80], esi
mov eax, dword [esp + 0x6c]
jae 0x429243
lea eax, [esp + 0x6c]
push ecx
push eax
push str.mac_scom_s
mov ecx, ebx
call fcn.0042fa83
add esp, 0xc
cmp dword [esp + 0x64], esi
jb 0x429267
mov edx, dword [esp + 0x50]
push edx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x80], esi
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], di
jb 0x42928e
mov eax, dword [esp + 0x6c]
push eax
call fcn.00433114
add esp, 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], di
call fcn.00412e70
mov eax, ebx
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.004337a7
add esp, 0x298
ret