Function at 0x438440
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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 [0x4eb208]
fstp qword [ebp - 0x4c]
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 3
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 5
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
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.00416160
add esp, 0x18
mov byte [ebp - 4], 9
mov dword [ebp - 0x60], 0x4eb1ac
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 0x438549
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 0x438569
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 0x438589
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 0x4385ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
push 0
mov ecx, 0x52ddd4
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 0x438600
cmp eax, dword [esi - 0x10]
jne 0x438600
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x438638
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 0x43895d
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.004aa642
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.00438310
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 0x438681
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4388d6
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x43869e
fld qword [ebp + 0x20]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x4386d2
push edi
lea ecx, [ebp - 0x60]
call fcn.00438090
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x64]
cmp edx, 0x130
jne 0x43878e
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
je 0x438796
test eax, eax
jmp 0x438794
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 0x43871d
fld qword [ebp + 0x20]
fld qword [ebp - 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4386d0
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 0x4386d2
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x438775
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
jne 0x438744
cmp dword [ecx + 0x64], 0x130
jne 0x43875e
cmp eax, eax
je 0x43875e
test eax, eax
je 0x43875e
jmp 0x438748
test eax, eax
jne 0x43875e
cmp dword [ecx + 0x64], 0x130
je 0x43875e
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 0x438775
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 0x4386a7
cmp edx, 0xc8
jne 0x4387d5
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
jne 0x4387d1
cmp edx, 0x130
jne 0x4387d5
cmp eax, eax
je 0x4387d5
test eax, eax
je 0x4387d5
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x60]
call fcn.00437e60
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 0x4387b0
cmp dword [ebp - 0x10], 2
jne 0x4388d6
lea ecx, [ebp - 0x1c]
call fcn.004a9450
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [0x52f500]
call fcn.00412d40
mov ebx, eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [0x52f500]
lea edx, [ebp - 0x30]
push edx
call fcn.00412ce0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x64]
cmp edx, 0x130
jne 0x438837
mov esi, dword [ecx + 0x60]
cmp esi, 0x2ef1
je 0x438830
test esi, esi
jne 0x438837
mov esi, 0xc8
jmp 0x438839
mov esi, edx
mov ecx, dword [ecx + 0x60]
cmp ecx, 0x2ef1
jne 0x438856
cmp edx, 0x130
jne 0x438856
cmp ecx, ecx
je 0x438856
test ecx, ecx
je 0x438856
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.004a9790
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x1c]
call fcn.00415de0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x7c]
call fcn.004a95c0
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 0x4388a8
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 0x4388ca
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.004a9460
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4388f7
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 0x438937
lea ecx, [esi + 4]
mov edx, edi
lock xadd dword [ecx], edx
jne 0x438937
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
lock xadd dword [eax], edi
jne 0x438937
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 0x438483
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.00406340
int3