joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4196a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e05d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4196ec
cmp dword [ecx], 1
jne 0x4196e0
call fcn.00437240
jmp 0x4196e5
call fcn.00437bc0
mov dword [ebx + 0xc], 0
mov eax, dword [0x45b18c]
xor ecx, ecx
cmp dword [0x45b194], ecx
mov dword [ebp - 0x38], vtable.CVolCommonBaseWithMemManager.0
cmove eax, ecx
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], 1
mov edi, dword [0x45b1d4]
test edi, edi
jne 0x419758
cmp dword [0x45b1ec], edi
je 0x41981d
mov edi, dword [0x45b1e4]
test edi, edi
je 0x41981d
cmp word [edi], 0
je 0x41981d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419767
push 0
push 0
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push edi
push 0
push 0
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x2c], 0
mov esi, eax
mov dword [ebp - 0x10], esi
je 0x4197ab
push esi
lea ecx, [ebp - 0x38]
call fcn.00428ab0
mov esi, eax
mov eax, dword [ebp - 0x10]
jmp 0x419805
test esi, esi
jne 0x4197b4
mov eax, dword [ebp - 0x10]
jmp 0x419805
mov ebx, dword [ebp - 0x20]
mov eax, 0x40
test ebx, ebx
cmovle ebx, eax
mov eax, esi
cdq
idiv ebx
mov eax, dword [ebp - 0x38]
sub ebx, edx
add ebx, esi
push ebx
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x4197ef
mov ecx, 0x45bdd8
call fcn.004297c0
mov esi, eax
test esi, esi
jne 0x4197f6
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x38]
call eax
mov esi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], eax
push 0
push 0
push eax
push esi
push dword [ebp - 0x18]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x419822
mov esi, 0x445ad3
mov edx, dword [0x45b194]
push esi
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00436ff0
mov dword [ebx + 0xc], eax
add esp, 8
xor ebx, ebx
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x41987a
mov eax, dword [ebp - 0x38]
push edx
mov eax, dword [eax + 0xc]
cmp eax, fcn.004265e0
jne 0x419875
mov ecx, 0x45bdd8
call fcn.004298b0
jmp 0x41987a
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41c750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0xa0
jl 0x41c7ab
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x41c79d
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x41c7cd
push 0xa0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x41c7cd
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.0041da70
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41c8f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e9d5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x45bde8], 0xa0
jl 0x41c94f
push 0x45bdec
call fcn.004296e0
mov esi, dword [0x45bde4]
add esp, 4
test esi, esi
je 0x41c941
mov eax, dword [esi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test esi, esi
jne 0x41c971
push 0xa0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x41c971
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.0041da70
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.rg_n34333::rg_n34617.0
call fcn.0041cac0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41cc90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0xe0
jl 0x41cceb
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x41ccdd
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x41cd0d
push 0xe0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x41cd0d
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.004211f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41ce30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43eaa5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x45bde8], 0xe0
jl 0x41ce8f
push 0x45bdec
call fcn.004296e0
mov esi, dword [0x45bde4]
add esp, 4
test esi, esi
je 0x41ce81
mov eax, dword [esi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test esi, esi
jne 0x41ceb1
push 0xe0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x41ceb1
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.004211f0
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.rg_n34333::rg_n34846.0
call fcn.0041cfb0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41d1b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0x68
jl 0x41d208
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x41d1fa
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x41d227
push 0x68
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x41d227
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.004220f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41d2f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43eb45
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x45bde8], 0x68
jl 0x41d34c
push 0x45bdec
call fcn.004296e0
mov esi, dword [0x45bde4]
add esp, 4
test esi, esi
je 0x41d33e
mov eax, dword [esi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test esi, esi
jne 0x41d36b
push 0x68
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x41d36b
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.004220f0
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.rg_n34333::rg_n34857.0
call fcn.0041d480
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0x11c
jl 0x41d6cb
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x41d6bd
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x41d6ed
push 0x11c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x41d6ed
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.00421540
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41d830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ec55
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x45bde8], 0x11c
jl 0x41d88f
push 0x45bdec
call fcn.004296e0
mov esi, dword [0x45bde4]
add esp, 4
test esi, esi
je 0x41d881
mov eax, dword [esi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test esi, esi
jne 0x41d8b1
push 0x11c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x41d8b1
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00421540
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [esi], vtable.rg_n34333::rg_n34854.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
push edi
mov dword [esi + 8], eax
call fcn.00421650
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41fde0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x9c], 0
jne 0x41ff0c
mov esi, dword [edi + 0x38]
cmp esi, 3
jne 0x41fe37
mov ecx, dword [edi + 0x74]
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x41fe1f
cmp dword [edi + 0x8c], ecx
mov ecx, 0x445b48
je 0x41fe1c
mov ecx, dword [edi + 0x84]
mov dword [ebp - 4], ecx
mov edx, dword [edi + 0x48]
test edx, edx
jne 0x41fe3e
cmp dword [edi + 0x60], edx
jne 0x41fe32
mov edx, 0x445b48
jmp 0x41fe3e
mov edx, dword [edi + 0x58]
jmp 0x41fe3e
xor ecx, ecx
xor edx, edx
mov dword [ebp - 4], ecx
test byte [edi + 0x10], 1
je 0x41fe48
xor eax, eax
jmp 0x41fe9b
mov eax, dword [edi + 0x18]
xor ecx, ecx
test eax, eax
je 0x41fe59
cmp word [eax], cx
sete cl
jmp 0x41fe60
cmp dword [edi + 0x30], 2
setle cl
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
je 0x41fe8a
mov eax, dword [0x45b15c]
test eax, eax
jne 0x41fe9b
cmp dword [0x45b174], 0
mov eax, 0x445b48
cmovne eax, dword [0x45b16c]
jmp 0x41fe9b
test eax, eax
jne 0x41fe9b
cmp dword [edi + 0x30], eax
mov eax, 0x445b48
je 0x41fe9b
mov eax, dword [edi + 0x28]
push 0
push ecx
push edx
push esi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [edi + 0x9c], eax
test eax, eax
jne 0x41feb7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea ecx, [ebp - 8]
push 4
push ecx
push 0x8c
push eax
mov dword [ebp - 8], 1
call esi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x99
push dword [edi + 0x9c]
call esi
push 0x7530
push 0x7530
push 0x7d0
push 0x1388
push dword [edi + 0x9c]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4203c0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov edi, dword [esi + 0x24]
test edi, edi
je 0x420429
shr edi, 2
lea eax, [edi*4 + 4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
xor edx, edx
mov dword [ebp + 0x14], ebx
mov dword [ebx + edi*4], 0
test edi, edi
je 0x420429
mov ebx, dword [esi + 0x24]
test ebx, ebx
jne 0x42040c
xor eax, eax
jmp 0x42040f
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + edx*4]
mov ecx, 0x445b48
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax + edx*4], ecx
inc edx
cmp edx, edi
jb 0x420404
mov ebx, eax
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x42043d
cmp word [ecx], ax
sete al
jmp 0x420444
cmp dword [edx + 0x24], 2
setle al
test eax, eax
je 0x42044c
xor ecx, ecx
jmp 0x42045d
test ecx, ecx
jne 0x42045d
cmp dword [edx + 0x24], ecx
mov ecx, 0x445b48
je 0x42045d
mov ecx, dword [edx + 0x1c]
mov esi, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x420471
cmp word [eax], dx
sete dl
jmp 0x420478
cmp dword [esi + 0x24], 2
setle dl
test edx, edx
je 0x420480
xor eax, eax
jmp 0x420491
test eax, eax
jne 0x420491
cmp dword [esi + 0x24], eax
mov eax, 0x445b48
je 0x420491
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0xc]
test esi, esi
jne 0x4204a8
cmp dword [edx + 0x24], esi
mov esi, 0x445b48
je 0x4204a8
mov esi, dword [edx + 0x1c]
mov edi, dword [ebp - 4]
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x4204bf
cmp dword [edi + 0x24], edx
mov edx, 0x445b48
je 0x4204bf
mov edx, dword [edi + 0x1c]
push dword [ebp + 0x18]
push ebx
push ecx
push eax
push esi
push edx
push dword [ebp - 8]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test ebx, ebx
je 0x4204e0
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4204f0
Capabilities:
Set http header

Disassembly:
mov eax, edx
push esi
mov esi, dword [eax + 0xc]
test esi, esi
je 0x420522
mov edx, esi
push edi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420500
sub edx, edi
pop edi
push 0xa0000000
sar edx, 1
push edx
push esi
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
pop esi
ret 4
mov edx, dword [eax + 0x24]
test edx, edx
jne 0x420540
push 0xa0000000
push edx
mov esi, 0x445b48
push esi
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
pop esi
ret 4
mov esi, dword [eax + 0x1c]
shr edx, 1
push 0xa0000000
dec edx
push edx
push esi
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
pop esi
ret 4
Function at 0x420560
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0xc], ecx
mov dword [edi + 0xc], 0
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x420586
mov eax, dword [edi + 0x10]
lea ecx, [edi + 0x10]
push edx
call dword [eax + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4205ee
cmp dword [ebp - 4], eax
jbe 0x4205e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x4205e3
mov dword [ebx + 0xc], 0xffffffff
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ebx, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp + 8], eax
test eax, eax
je 0x420679
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [edx + 0xc], ecx
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x420635
cmp dword [edi + 0x24], ecx
mov ecx, 0x445b48
je 0x420635
mov ecx, dword [edi + 0x1c]
cmp ebx, ecx
je 0x420679
mov dword [edi + 0xc], 0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x420651
mov eax, dword [edi + 0x10]
push ecx
lea ecx, [edi + 0x10]
call dword [eax + 0xc]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
test ebx, ebx
je 0x420679
cmp word [ebx], 0
je 0x420679
push ebx
lea ecx, [edi + 0x10]
call fcn.00428bd0
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x420690
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
or edx, 0x20000000
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push edx
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4206de
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
jbe 0x4206f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x4206f8
mov dword [esi + 0xc], 0xffffffff
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x424760
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4401e0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0x3c
jl 0x4247b8
push 0x45bdec
call fcn.004296e0
mov edx, dword [0x45bde4]
add esp, 4
test edx, edx
je 0x4247aa
mov eax, dword [edx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test edx, edx
jne 0x4247d7
push 0x3c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
jne 0x4247d7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
mov dword [edx], vtable.CVolObject.0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 1
lea ecx, [edx + 0x10]
mov dword [edx], vtable.CVolException.0
call fcn.004020d0
mov byte [ebp - 4], 2
mov dword [edx + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x424970
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440268
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x45bde8], 0x3c
jl 0x4249cd
push 0x45bdec
call fcn.004296e0
mov edi, dword [0x45bde4]
add esp, 4
test edi, edi
je 0x4249bf
mov eax, dword [edi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test edi, edi
jne 0x4249ec
push 0x3c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x4249ec
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.CVolObject.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CVolException.0
call fcn.004020d0
mov byte [ebp - 4], 2
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x20]
mov dword [edi], vtable.CVolException.0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
call dword [eax + 0x44]
lea eax, [ebx + 0x20]
push eax
lea ecx, [edi + 0x20]
call fcn.00402f40
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424ea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a6fd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x45bde8], 0xc
jl 0x424efb
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x424eed
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x424f1a
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x424f1a
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x45be10], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolUserApp.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret