Function at 0x436ce0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d5f0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
fldz
mov dword [ebp - 0x10], 0
fstp qword [ebp - 0x44]
fld qword [ebp + 0x20]
fdiv qword [0x535080]
fstp qword [ebp - 0x4c]
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 3
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 5
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x60], vtable.winhttp::async_client.0
call fcn.00423c60
add esp, 0x18
mov byte [ebp - 4], 9
mov dword [ebp - 0x60], 0x535024
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0xa
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0xc
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436de9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xe
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436e09
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 0x10
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436e29
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436e4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
push 0
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x15
mov edx, dword [ebp + 0x10]
mov esi, dword [edx]
lea ecx, [ebp - 0x18]
push ecx
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov ebx, esp
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x3c], ebx
call edx
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x436ea0
cmp eax, dword [esi - 0x10]
jne 0x436ea0
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x436ed8
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4371fd
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004eaae2
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push 0
push ecx
push edx
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x60]
call fcn.00436bb0
test eax, eax
sete bl
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x437176
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x436f3e
fld qword [ebp + 0x20]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x436f72
push edi
lea ecx, [ebp - 0x60]
call fcn.00436960
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x64]
cmp edx, 0x130
jne 0x43702e
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
je 0x437036
test eax, eax
jmp 0x437034
fstp st(0)
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x94]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
setne al
test al, al
jne 0x436fbd
fld qword [ebp + 0x20]
fld qword [ebp - 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x436f70
fadd qword [ebp - 0x4c]
mov edx, dword [ebx]
mov eax, dword [edx]
sub esp, 8
fst qword [ebp - 0x44]
mov ecx, ebx
fadd qword [ebp + 0x18]
fstp qword [esp]
call eax
jmp 0x436f72
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x437015
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
jne 0x436fe4
cmp dword [ecx + 0x64], 0x130
jne 0x436ffe
cmp eax, eax
je 0x436ffe
test eax, eax
je 0x436ffe
jmp 0x436fe8
test eax, eax
jne 0x436ffe
cmp dword [ecx + 0x64], 0x130
je 0x436ffe
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 4]
lea esi, [edx + 4]
test eax, eax
je 0x437015
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
fld qword [ebp + 0x18]
mov edx, dword [ebx]
fadd qword [ebp + 0x20]
mov eax, dword [edx]
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call eax
jmp 0x436f47
cmp edx, 0xc8
jne 0x437075
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
jne 0x437071
cmp edx, 0x130
jne 0x437075
cmp eax, eax
je 0x437075
test eax, eax
je 0x437075
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x60]
call fcn.00436730
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
test eax, eax
je 0x437050
cmp dword [ebp - 0x10], 2
jne 0x437176
lea ecx, [ebp - 0x1c]
call fcn.004e98f0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [0x589078]
call fcn.0041eee0
mov ebx, eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [0x589078]
lea edx, [ebp - 0x30]
push edx
call fcn.0041ee80
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x64]
cmp edx, 0x130
jne 0x4370d7
mov esi, dword [ecx + 0x60]
cmp esi, 0x2ef1
je 0x4370d0
test esi, esi
jne 0x4370d7
mov esi, 0xc8
jmp 0x4370d9
mov esi, edx
mov ecx, dword [ecx + 0x60]
cmp ecx, 0x2ef1
jne 0x4370f6
cmp edx, 0x130
jne 0x4370f6
cmp ecx, ecx
je 0x4370f6
test ecx, ecx
je 0x4370f6
xor ecx, ecx
push ebx
push eax
mov eax, dword [ebp - 0x50]
push esi
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 8
push eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.004e9c30
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423910
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x7c]
call fcn.004e9a60
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437148
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43716a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1c]
call fcn.004e9900
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x437197
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], edi
mov dword [ebp - 0x60], vtable.winhttp::async_client.0
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x4371d7
lea ecx, [esi + 4]
mov edx, edi
lock xadd dword [ecx], edx
jne 0x4371d7
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
lock xadd dword [eax], edi
jne 0x4371d7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 3
jl 0x436d23
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call fcn.004069c0
int3