Function at 0x4a4570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x5e0
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x138]
call 0x4a4592
pop ebx
mov dword [esp + 8], edx
call fcn.004a6180
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x4f4], 0
mov dword [esp + 0x4e4], 0
mov dword [esp + 0x4ec], 0
lea ecx, [esp + 0x338]
lea edx, [esp + 0x4e4]
push edi
push eax
call fcn.004bfda0
add esp, 8
mov edi, dword [esp + 0x338]
movzx eax, byte [esp + 0x33c]
cmp edi, 2
je 0x4a4674
movzx ecx, byte [esp + 0x36c]
mov edx, dword [esp + 0x348]
mov esi, dword [esp + 0x34c]
test cl, cl
je 0x4a465f
movq xmm0, qword [esp + 0x364]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x360]
mov dword [esp + 0x44], ebx
mov byte [esp + 4], cl
mov dword [esp + 0x40], edi
movd ebx, xmm0
cmp edx, ebx
ja 0x4a5963
mov edi, dword [esp + 0x350]
test edx, edx
je 0x4a48db
cmp edx, edi
jae 0x4a48d5
cmp byte [esi + edx], 0xbf
jg 0x4a48db
jmp 0x4a5963
test edx, edx
je 0x4a4672
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
lea edx, [esp + 0x2c0]
lea ecx, [esp + 0x544]
mov dword [esp + str.failed_to_parse_URL:], 0x75eadc
mov dword [esp + 0x33c], 1
mov dword [esp + 0x348], 0
mov byte [esp + 0x2c0], al
mov dword [esp + 0x544], edx
mov dword [esp + 0x340], ecx
lea ecx, [esp + 0x4e4]
lea edx, [esp + 0x338]
mov dword [esp + 0x548], 0x4a3450
mov dword [esp + 0x344], 1
call fcn.00412300
movzx ebx, byte [esp + 0x2c0]
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, 1
call fcn.00490be0
test eax, eax
je 0x4a5963
mov byte [eax], bl
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], 2
lea edi, [esp + 0x78]
lea esi, [esp + 0x338]
mov ecx, dword [esp + 0x4ec]
movsd xmm0, qword [esp + 0x4e4]
mov dword [esp + 0x384], ecx
movsd qword [esp + 0x37c], xmm0
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], 0x75ea98
mov dword [esp + 0xd0], 0
lea esi, [esp + 0xbc]
mov ecx, 0x1e
movsd xmm0, qword [esp + 0x78]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x88]
movsd qword [esp + 0x3f8], xmm0
movsd xmm0, qword [esp + 0x8c]
mov dword [esp + 0x400], eax
lea edi, [ebx + 0x4c]
mov eax, dword [esp + 0x84]
movsd qword [esp + 0x180], xmm0
movsd xmm0, qword [esp + 0x94]
movsd qword [esp + 0x188], xmm0
movsd xmm0, qword [esp + 0x9c]
movsd qword [esp + 0x190], xmm0
movsd xmm0, qword [esp + 0xa4]
movsd qword [esp + 0x198], xmm0
movsd xmm0, qword [esp + 0xac]
movsd qword [esp + 0x1a0], xmm0
movsd xmm0, qword [esp + 0xb4]
movsd qword [esp + 0x1a8], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x400]
movq xmm0, qword [esp + 0x3f8]
movsd xmm1, qword [esp + 0x188]
movsd xmm2, qword [esp + 0x190]
movsd xmm3, qword [esp + 0x180]
mov edi, dword [esp + 0x14c]
mov esi, dword [esp + 0x148]
mov dword [ebx + 0x10], ecx
movq qword [ebx + 8], xmm0
movsd qword [ebx + 0x24], xmm1
movsd xmm1, qword [esp + 0x198]
movsd qword [ebx + 0x2c], xmm2
movsd xmm2, qword [esp + 0x1a0]
movsd qword [ebx + 0x1c], xmm3
movsd qword [ebx + 0x34], xmm1
movsd xmm1, qword [esp + 0x1a8]
movsd qword [ebx + 0x3c], xmm2
movsd qword [ebx + 0x44], xmm1
mov dword [ebx], 2
mov dword [ebx + 4], 2
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], edx
mov eax, dword [edi]
test eax, eax
je 0x4a48aa
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4a48c8
cmp dword [edi + 8], 9
jb 0x4a48b9
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp + 8]
call fcn.004a5f50
jmp 0x4a552a
jne 0x4a5963
test ebx, ebx
je 0x4a48f4
cmp ebx, edi
jae 0x4a48ee
cmp byte [esi + ebx], 0xbf
jg 0x4a48f4
jmp 0x4a5963
jne 0x4a5963
lea ebx, [esp + 0x33d]
mov ecx, esi
mov dword [esp + 0x24], esi
mov esi, dword [ebx + 7]
movsd xmm1, qword [ebx]
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x14]
movsd qword [esp + 0x79], xmm1
movsd xmm1, qword [ebx + 0x17]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ecx
mov esi, dword [ebx + 0x1f]
movzx ecx, byte [esp + 4]
mov dword [esp + 0x8c], edi
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [ebx + 0x38]
lea edi, [esp + 0x70]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], edx
movq qword [esp + 0xa0], xmm0
mov byte [esp + 0xa8], cl
mov ecx, dword [ebx + 0x3f]
movsd xmm0, qword [ebx + 0x30]
movsd qword [esp + 0xb1], xmm1
mov edx, dword [ebp + 8]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x40]
movsd qword [esp + 0xa9], xmm0
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x74], ecx
mov byte [esp + 0x78], al
mov dword [esp + 0x450], ecx
mov ecx, dword [edx + 0x38]
movsd xmm1, qword [esp + 0xa4]
movsd xmm0, qword [esp + 0x78]
mov eax, dword [esp + 0x80]
movsd xmm2, qword [esp + 0x9c]
movsd qword [esp + 0x198], xmm1
movsd xmm1, qword [esp + 0xac]
movsd qword [esp + 0x3f8], xmm0
mov dword [esp + 0x400], eax
movsd qword [esp + 0x190], xmm2
movsd xmm2, qword [esp + 0xb4]
mov eax, dword [esp + 0x400]
movsd qword [esp + 0x1a0], xmm1
movsd xmm1, qword [esp + 0x94]
movsd qword [esp + 0x1a8], xmm2
movsd xmm2, qword [esp + 0x8c]
mov dword [esp + 0x78], ecx
lea ecx, [edx + 0x14]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x400]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x240]
movsd qword [esp + 0x188], xmm1
movsd xmm1, qword [esp + 0x3f8]
movsd qword [esp + 0x180], xmm2
movsd xmm2, qword [esp + 0x1a8]
mov dword [esp + 0x45c], eax
mov eax, dword [esp + 0x14]
movsd qword [esp + 0x170], xmm1
movsd xmm1, qword [esp + 0x1a0]
movsd qword [esp + 0x330], xmm2
movsd xmm2, qword [esp + 0x198]
movsd qword [esp + 0x328], xmm1
movsd xmm1, qword [esp + 0x190]
movsd qword [esp + 0x320], xmm2
movsd xmm2, qword [esp + 0x180]
movsd qword [esp + 0x318], xmm1
movsd xmm1, qword [esp + 0x188]
movsd qword [esp + 0x308], xmm2
movsd xmm2, qword [esp + 0x1a8]
movsd qword [esp + 0x310], xmm1
movsd xmm1, qword [esp + 0x3f8]
movsd qword [esp + 0x454], xmm1
mov dword [esp + 0x460], eax
mov eax, dword [esp + 0x24]
movsd xmm1, qword [esp + 0x1a0]
mov dword [esp + 0x464], eax
mov eax, dword [edx + 0x1c]
movsd qword [esp + 0x488], xmm1
movsd xmm1, qword [esp + 0x190]
movsd qword [esp + 0x490], xmm2
movsd xmm2, qword [esp + 0x198]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x20]
movsd qword [esp + 0x478], xmm1
movsd xmm1, qword [esp + 0x188]
movsd qword [esp + 0x480], xmm2
movsd xmm2, qword [esp + 0x180]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
movsd qword [esp + 0x470], xmm1
movsd xmm1, qword [edx + 0x30]
movsd qword [esp + 0x468], xmm2
mov esi, dword [eax + 0x14]
mov eax, dword [edx + 0x10]
movsd qword [esp + 0x70], xmm1
mov dword [esp + 0x68], eax
mov edx, eax
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x150]
push dword [esp + 0x150]
push dword [esp + 0x150]
push dword [esp + 0x150]
push edi
lea eax, [esp + 0x470]
push eax
push dword [esp + 0x30]
push dword [esp + 0x2c]
mov dword [esp + 0x98], ebx
push ebx
call fcn.004a62d0
add esp, 0x30
movq xmm0, qword [esp + 0x148]
movsd xmm2, qword [esp + 0x138]
movsd xmm1, qword [esp + 0x140]
lea esi, [esp + 0x180]
lea edi, [esp + 0x338]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 0
mov dword [esp + 8], 0
movq qword [esp + 0x58], xmm0
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x48], xmm2
jmp 0x4a4c4f
mov ecx, esi
call fcn.00404b50
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x240]
push eax
push 1
call fcn.004a6b10
add esp, 8
mov ebx, dword [esp + 0x70]
push 0xc0
lea eax, [esp + 0x78]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp ebx, 3
jne 0x4a5532
push 0xc0
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx ebx, word [esp + 0x23c]
lea eax, [ebx - 0x12c]
cmp ax, 0x63
jae 0x4a53a3
mov eax, dword [esp + 0x298]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4a53a3
mov edx, dword [esp + 8]
inc edx
cmp edx, ecx
jae 0x4a554e
mov dword [esp + 4], edx
mov edx, dword [esp + 0x1dc]
mov ecx, dword [esp + 0x1d8]
push 8
push 0x75f3cd
call fcn.004a8ac0
add esp, 8
test eax, eax
je 0x4a53a3
mov esi, edx
lea ecx, [esp + 0x240]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], 0
lea edx, [esp + 0x70]
mov dword [esp + 0x80], ecx
mov ecx, edi
push esi
push eax
call fcn.004bfda0
add esp, 8
mov eax, dword [esp + 0x338]
cmp eax, 2
je 0x4a55da
mov ecx, 0x11
lea edi, [esp + 0x2c4]
lea esi, [esp + 0x33c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c0], eax
lea eax, [ebx - 0x12d]
cmp eax, 3
jae 0x4a4df0
mov esi, dword [esp + 0x2a8]
mov edx, dword [esp + 0x2a4]
cmp esi, 4
je 0x4a4e74
cmp esi, 3
jne 0x4a4da8
movzx eax, word [edx]
movzx ecx, byte [edx + 2]
xor eax, 0x4547
xor ecx, 0x54
or cx, ax
je 0x4a4e80
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, 3
call fcn.00490be0
test eax, eax
je 0x4a5963
mov byte [eax + 2], 0x54
mov dword [esp + 0xc], eax
mov word [eax], 0x4547
mov dword [esp + 0x20], 3
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 3
jmp 0x4a4ef3
cmp ebx, 0x133
je 0x4a4e2d
mov ecx, dword [esp + 0x44]
cmp ebx, 0x134
jne 0x4a58f4
mov eax, dword [esp + 0x2a8]
add eax, 0xfffffffd
cmp eax, 4
ja 0x4a58f4
mov eax, dword [eax*4 + 0x4a5968]
mov esi, dword [esp + 0x2a4]
add eax, ecx
jmp eax
mov eax, dword [esp + 0x2a8]
mov ecx, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 4
ja 0x4a58f4
mov eax, dword [eax*4 + 0x4a597c]
mov esi, dword [esp + 0x2a4]
add eax, ecx
jmp eax
cmp dword [edx], 0x44414548
jne 0x4a4da8
mov dword [esp + 0x20], esi
mov dword [esp + 0xc], edx
jmp 0x4a4ee2
mov ecx, dword [esp + 0x2a0]
mov al, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x298]
xor eax, eax
mov ebx, 0
cmp byte [ecx + 0x8e], 1
jne 0x4a50df
cmp byte [esp + 0x2f4], 0
mov esi, dword [esp + 0x2d4]
mov edi, dword [esp + 0x2d8]
je 0x4a4f76
mov ecx, dword [esp + 0x2ec]
mov eax, dword [esp + 0x2e8]
mov edx, ecx
sub edx, eax
mov dword [esp + 0x28], edx
jb 0x4a5963
test eax, eax
je 0x4a4f5b
cmp eax, edi
jae 0x4a4f55
cmp byte [esi + eax], 0xbf
jg 0x4a4f5b
jmp 0x4a5963
jne 0x4a5963
test ecx, ecx
je 0x4a4f74
cmp ecx, edi
jae 0x4a4f6e
cmp byte [esi + ecx], 0xbf
jg 0x4a4f74
jmp 0x4a5963
jne 0x4a5963
add eax, esi
mov ecx, dword [esp + 0x2e0]
xor edx, edx
test ecx, ecx
je 0x4a4fc0
cmp ecx, edi
jae 0x4a4f92
cmp byte [esi + ecx], 0xbf
jg 0x4a4f98
jmp 0x4a5963
jne 0x4a5963
cmp ecx, 5
jne 0x4a4fc0
mov ecx, dword [esi]
movzx esi, byte [esi + 4]
mov edi, 0x70747468
xor ecx, edi
xor esi, 0x73
or esi, ecx
sete bl
jmp 0x4a4fc2
xor ebx, ebx
mov ecx, dword [esp + 0x254]
cmp byte [esp + 0x274], 0
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x258]
je 0x4a5044
mov esi, dword [esp + 0x26c]
mov edx, dword [esp + 0x268]
mov edi, esi
sub edi, edx
jb 0x4a5963
test edx, edx
je 0x4a501b
cmp edx, ecx
jae 0x4a5015
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
cmp byte [ecx + edx], 0xbf
mov ecx, dword [esp + 0x18]
jg 0x4a501b
jmp 0x4a5963
jne 0x4a5963
test esi, esi
je 0x4a5040
cmp esi, ecx
jae 0x4a503a
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
cmp byte [ecx + esi], 0xbf
mov ecx, dword [esp + 0x18]
jg 0x4a5040
jmp 0x4a5963
jne 0x4a5963
add edx, dword [esp + 0x10]
mov esi, dword [esp + 0x260]
test esi, esi
je 0x4a5090
cmp esi, ecx
jae 0x4a5062
mov ecx, dword [esp + 0x10]
cmp byte [ecx + esi], 0xbf
jg 0x4a5068
jmp 0x4a5963
jne 0x4a5963
cmp esi, 5
jne 0x4a5090
mov esi, dword [esp + 0x10]
mov ecx, dword [esi]
bswap ecx
cmp ecx, 0x68747470
jne 0x4a50b8
movzx ecx, byte [esi + 4]
add ecx, 0xffffff8d
jmp 0x4a50c2
mov ecx, ebx
xor bl, 1
or bl, cl
test eax, eax
je 0x4a50d9
mov ecx, dword [esp + 0x28]
test edx, edx
je 0x4a50dd
cmp ecx, edi
jne 0x4a50dd
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x4a50dd
jmp 0x4a50df
mov ecx, 0
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete ch
setne cl
xor ch, bl
and cl, bl
mov bl, ch
xor bl, 1
or bl, cl
test eax, eax
jne 0x4a509b
test edx, edx
je 0x4a50df
xor ebx, ebx
and bl, 1
mov ecx, 0x12
lea edi, [esp + 0x544]
lea esi, [esp + 0x240]
mov byte [esp + 0x154], bl
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x34]
jne 0x4a5115
lea ecx, [esp + 0x34]
call fcn.004b6e50
mov eax, dword [esp + 8]
lea edi, [eax + eax*8]
mov ecx, 0x12
lea esi, [esp + 0x544]
shl edi, 3
add edi, dword [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x154]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0x75e928
mov edx, dword [esp + 0x2b4]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2ac]
mov edi, dword [esp + 0x2b0]
mov dword [esp + 0x70], esi
test edx, edx
mov dword [esp + 0x3c], eax
je 0x4a51e0
mov eax, edx
mov dword [esp + 0x28], ecx
lea esi, [edi + 0x10]
lea ecx, [edx - 1]
mov ebx, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edi
neg eax
mov dword [esp + 4], eax
nop dword [eax + eax]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x70]
mov edx, edi
call fcn.004a8c00
test al, al
je 0x4a51f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
add edi, 0x10
add esi, 0x10
lea eax, [eax + ebx + 1]
inc ebx
dec ecx
cmp eax, 1
jne 0x4a51a0
mov ebx, dword [esp + 0xc]
xor edi, edi
jmp 0x4a5219
mov ebx, dword [esp + 0xc]
xor eax, eax
xor esi, esi
xor edx, edx
jmp 0x4a522f
cmp dword [edi], 0
je 0x4a5206
push dword [edi + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov edi, 1
jne 0x4a537b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
sub edx, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x338], ecx
mov dword [esp + 0x33c], edi
mov dword [esp + 0x340], edx
mov edx, dword [esp + 0x298]
lea ecx, [esp + 0x70]
push dword [esp + 0x290]
push dword [esp + 0x290]
push dword [esp + 0x290]
push dword [esp + 0x60]
push dword [esp + 0x60]
push esi
push eax
lea eax, [esp + 0x354]
push eax
lea eax, [esp + 0x2e0]
push eax
push dword [esp + 0x44]
push ebx
push dword [esp + 0x2c8]
call fcn.004a62d0
add esp, 0x30
mov eax, dword [esp + 0x298]
lock dec dword [eax]
jne 0x4a52aa
mov ecx, dword [esp + 0x298]
call fcn.004a5990
mov eax, dword [esp + 0x29c]
lock dec dword [eax]
jne 0x4a52c2
lea ecx, [esp + 0x29c]
call fcn.004a5a50
cmp dword [esp + 0x2a0], 0
mov ecx, dword [esp + 0x30]
sete al
or cl, al
cmp cl, 1
je 0x4a52ed
push dword [esp + 0x2a4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, 0x20
lea edi, [esp + 0x240]
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x1c], 0
je 0x4a5315
push ebx
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x2d0], 0
lea edi, [esp + 0x338]
lea esi, [esp + 0x180]
je 0x4a4c40
push dword [esp + 0x2d4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a4c40
movq xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
mov eax, edi
mov ecx, esi
shl eax, 4
sub ecx, eax
neg eax
movsd qword [esi + eax + 8], xmm1
movq qword [ecx], xmm0
add esi, 0x10
dec dword [esp + 8]
je 0x4a5219
lea ecx, [esp + 0x70]
mov edx, esi
call fcn.004a8c00
test al, al
jne 0x4a5350
inc edi
cmp dword [esi], 0
je 0x4a536e
push dword [esi + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a536e
lea edi, [esp + 0x4e4]
lea esi, [esp + 0x180]
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x1ec]
lea edi, [esp + 0x3f8]
mov eax, dword [esp + 0x1e0]
mov ecx, dword [esp + 0x1e4]
mov ebx, dword [esp + 0x1e8]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 4]
test ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
je 0x4a542e
lea esi, [edi + 0x14]
jmp 0x4a5416
add esi, 0x48
dec ebx
je 0x4a542e
cmp dword [esi - 4], 0
je 0x4a5410
push dword [esi]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a5410
cmp dword [esp + 0xc], 0
je 0x4a5444
push edi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ebx, [esp + 0x74]
lea esi, [esp + 0x4e4]
mov ecx, 0x18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0xe0]
lea esi, [esp + 0x3f8]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x240]
mov dword [esp + 0x70], 3
call fcn.004a9020
mov esi, dword [esp + 0x2c]
lea eax, [esi + 4]
push 0xc0
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x14], 0
mov dword [esi], 3
je 0x4a54d7
push dword [esp + 0x24]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x68]
mov esi, dword [ebp + 8]
lock dec dword [eax]
jne 0x4a58cf
mov ecx, dword [esi + 0x10]
call fcn.004a5990
mov eax, dword [esp + 0x6c]
lock dec dword [eax]
je 0x4a58dc
cmp dword [esi + 0x18], 0
je 0x4a5513
push dword [esi + 0x1c]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esi + 0x24], 0
je 0x4a552a
push dword [esi + 0x28]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xc0
push edi
lea eax, [esp + 0x7c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x70], ebx
jmp 0x4a56b4
lea ecx, [esp + 0x2c0]
add eax, 0x88
mov dword [esp + 0x338], 0x75f3ec
mov dword [esp + 0x33c], 2
mov dword [esp + 0x348], 0
lea edx, [esp + 0x338]
mov dword [esp + 0x340], ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0x2c0], eax
mov dword [esp + 0x2c4], 0x416040
mov dword [esp + 0x344], 1
call fcn.00412300
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], 2
mov dword [esp + 0xc8], 0
mov byte [esp + 0xd0], 5
jmp 0x4a56a3
movzx ebx, byte [esp + 0x33c]
lea eax, [esp + 0x160]
lea ecx, [esp + 0x154]
lea edx, [esp + 0x70]
mov dword [esp + 0x70], 0x75f410
mov dword [esp + 0x74], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x168], eax
lea eax, [esp + 0x168]
mov dword [esp + 0x16c], 0x498340
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 1
call fcn.00412300
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, 1
call fcn.00490be0
test eax, eax
je 0x4a5963
mov byte [eax], bl
mov ecx, dword [esp + 0x15c]
movq xmm0, qword [esp + 0x154]
movq qword [esp + 0xbc], xmm0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], 2
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], 0x75ea98
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0x180]
call fcn.00404b50
mov ebx, 2
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x38]
test esi, esi
mov dword [esp + 4], eax
je 0x4a56ee
mov ecx, dword [esp + 4]
lea edi, [ecx + 0x14]
jmp 0x4a56d6
add edi, 0x48
dec esi
je 0x4a56ee
cmp dword [edi - 4], 0
je 0x4a56d0
push dword [edi]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a56d0
cmp dword [esp + 0x34], 0
je 0x4a5707
push dword [esp + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x240]
call fcn.004a9020
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x74]
lea esi, [esp + 0x8c]
cmp ebx, 2
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
jne 0x4a5809
lea edi, [esp + 0x498]
mov ecx, 0x12
cmp edx, 2
rep movsd dword es:[edi], dword [esi]
sete al
cmp dword [esp + 8], 0
sete cl
or cl, al
jne 0x4a576f
push dword [esp + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movsd xmm1, qword [esp + 0x328]
movsd xmm2, qword [esp + 0x320]
mov eax, dword [esp + 0x178]
movsd xmm0, qword [esp + 0x330]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
movsd qword [esp + 0x4b8], xmm1
movsd xmm1, qword [esp + 0x318]
movsd qword [esp + 0x4b0], xmm2
movsd xmm2, qword [esp + 0x308]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x40]
movsd qword [esp + 0x4c0], xmm0
movsd qword [esp + 0x4a8], xmm1
movsd xmm1, qword [esp + 0x310]
movsd qword [esp + 0x498], xmm2
movsd qword [esp + 0x4a0], xmm1
movsd xmm1, qword [esp + 0x170]
movsd qword [esp + 0x180], xmm1
jmp 0x4a5874
mov ecx, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
mov dword [esp + 0xc], edx
lea eax, [esp + 0xd4]
lea edi, [esp + 0x498]
mov dword [esp + 0x188], ecx
movsd qword [esp + 0x180], xmm0
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x338]
mov ecx, 0x18
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x14], 0
je 0x4a5868
push dword [esp + 0x24]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x2c]
movq xmm0, qword [esp + 0x180]
mov edi, dword [esp + 0x188]
mov dword [edx], ebx
mov dword [edx + 4], eax
mov dword [edx + 0x10], edi
movq qword [edx + 8], xmm0
mov dword [edx + 0x14], esi
mov dword [edx + 0x18], ecx
lea edi, [edx + 0x1c]
lea esi, [esp + 0x498]
mov ecx, 0x12
add edx, 0x64
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x338]
mov ecx, 0x18
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x68]
mov esi, dword [ebp + 8]
lock dec dword [eax]
je 0x4a54e7
mov eax, dword [esp + 0x6c]
lock dec dword [eax]
jne 0x4a54fc
mov ecx, dword [esp + 0x64]
call fcn.004a5a50
cmp dword [esi + 0x18], 0
jne 0x4a5502
jmp 0x4a5513
lea edi, [esp + 0x4e4]
lea esi, [esp + 0x180]
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x1ec]
lea edi, [esp + 0x3f8]
mov eax, dword [esp + 0x1e0]
mov ecx, dword [esp + 0x1e4]
mov ebx, dword [esp + 0x1e8]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x2d0], 0
je 0x4a53ea
push dword [esp + 0x2d4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a53ea
ud2