Function at 0x436d60
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d710
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.00423d60
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 0x436e69
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 0x436e89
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 0x436ea9
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 0x436ecc
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 0x436f20
cmp eax, dword [esi - 0x10]
jne 0x436f20
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x436f58
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 0x43727d
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.004ead12
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.00436c30
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 0x436fa1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4371f6
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x436fbe
fld qword [ebp + 0x20]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x436ff2
push edi
lea ecx, [ebp - 0x60]
call fcn.004369e0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x64]
cmp edx, 0x130
jne 0x4370ae
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
je 0x4370b6
test eax, eax
jmp 0x4370b4
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 0x43703d
fld qword [ebp + 0x20]
fld qword [ebp - 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x436ff0
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 0x436ff2
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x437095
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
jne 0x437064
cmp dword [ecx + 0x64], 0x130
jne 0x43707e
cmp eax, eax
je 0x43707e
test eax, eax
je 0x43707e
jmp 0x437068
test eax, eax
jne 0x43707e
cmp dword [ecx + 0x64], 0x130
je 0x43707e
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 0x437095
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 0x436fc7
cmp edx, 0xc8
jne 0x4370f5
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
jne 0x4370f1
cmp edx, 0x130
jne 0x4370f5
cmp eax, eax
je 0x4370f5
test eax, eax
je 0x4370f5
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x60]
call fcn.004367b0
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 0x4370d0
cmp dword [ebp - 0x10], 2
jne 0x4371f6
lea ecx, [ebp - 0x1c]
call fcn.004e9b20
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [0x589078]
call fcn.0041f1d0
mov ebx, eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [0x589078]
lea edx, [ebp - 0x30]
push edx
call fcn.0041f170
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x64]
cmp edx, 0x130
jne 0x437157
mov esi, dword [ecx + 0x60]
cmp esi, 0x2ef1
je 0x437150
test esi, esi
jne 0x437157
mov esi, 0xc8
jmp 0x437159
mov esi, edx
mov ecx, dword [ecx + 0x60]
cmp ecx, 0x2ef1
jne 0x437176
cmp edx, 0x130
jne 0x437176
cmp ecx, ecx
je 0x437176
test ecx, ecx
je 0x437176
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.004e9e60
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423a10
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x7c]
call fcn.004e9c90
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 0x4371c8
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 0x4371ea
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.004e9b30
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x437217
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 0x437257
lea ecx, [esi + 4]
mov edx, edi
lock xadd dword [ecx], edx
jne 0x437257
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
lock xadd dword [eax], edi
jne 0x437257
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 0x436da3
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.00406970
int3