Function at 0x4a8010
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 0x4a8032
pop ebx
mov dword [esp + 8], edx
call fcn.004a9c20
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.004c3b20
add esp, 8
mov edi, dword [esp + 0x338]
movzx eax, byte [esp + 0x33c]
cmp edi, 2
je 0x4a8114
movzx ecx, byte [esp + 0x36c]
mov edx, dword [esp + 0x348]
mov esi, dword [esp + 0x34c]
test cl, cl
je 0x4a80ff
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 0x4a9403
mov edi, dword [esp + 0x350]
test edx, edx
je 0x4a837b
cmp edx, edi
jae 0x4a8375
cmp byte [esi + edx], 0xbf
jg 0x4a837b
jmp 0x4a9403
test edx, edx
je 0x4a8112
push esi
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
lea edx, [esp + 0x2c0]
lea ecx, [esp + 0x544]
mov dword [esp + 0x338], 0xfbd87c
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], 0x4a6ef0
mov dword [esp + 0x344], 1
call fcn.00415500
movzx ebx, byte [esp + 0x2c0]
movzx eax, byte [0xfd520d]
xor ecx, ecx
mov edx, 1
call fcn.00494530
test eax, eax
je 0x4a9403
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], 0xfbd838
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 0x4a834a
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4a8368
cmp dword [edi + 8], 9
jb 0x4a8359
mov esi, dword [esi - 4]
push esi
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp + 8]
call fcn.004a99f0
jmp 0x4a8fca
jne 0x4a9403
test ebx, ebx
je 0x4a8394
cmp ebx, edi
jae 0x4a838e
cmp byte [esi + ebx], 0xbf
jg 0x4a8394
jmp 0x4a9403
jne 0x4a9403
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.004a9d70
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 0x4a86ef
mov ecx, esi
call fcn.00496780
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.004aa5b0
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 0x4a8fd2
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 0x4a8e43
mov eax, dword [esp + 0x298]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4a8e43
mov edx, dword [esp + 8]
inc edx
cmp edx, ecx
jae 0x4a8fee
mov dword [esp + 4], edx
mov edx, dword [esp + 0x1dc]
mov ecx, dword [esp + 0x1d8]
push 8
push 0xfbe18d
call fcn.004ac560
add esp, 8
test eax, eax
je 0x4a8e43
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.004c3b20
add esp, 8
mov eax, dword [esp + 0x338]
cmp eax, 2
je 0x4a907a
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 0x4a8890
mov esi, dword [esp + 0x2a8]
mov edx, dword [esp + 0x2a4]
cmp esi, 4
je 0x4a8914
cmp esi, 3
jne 0x4a8848
movzx eax, word [edx]
movzx ecx, byte [edx + 2]
xor eax, 0x4547
xor ecx, 0x54
or cx, ax
je 0x4a8920
movzx eax, byte [0xfd520d]
xor ecx, ecx
mov edx, 3
call fcn.00494530
test eax, eax
je 0x4a9403
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 0x4a8993
cmp ebx, 0x133
je 0x4a88cd
mov ecx, dword [esp + 0x44]
cmp ebx, 0x134
jne 0x4a9394
mov eax, dword [esp + 0x2a8]
add eax, 0xfffffffd
cmp eax, 4
ja 0x4a9394
mov eax, dword [eax*4 + 0x4a9408]
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 0x4a9394
mov eax, dword [eax*4 + 0x4a941c]
mov esi, dword [esp + 0x2a4]
add eax, ecx
jmp eax
cmp dword [edx], 0x44414548
jne 0x4a8848
mov dword [esp + 0x20], esi
mov dword [esp + 0xc], edx
jmp 0x4a8982
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 0x4a8b7f
cmp byte [esp + 0x2f4], 0
mov esi, dword [esp + 0x2d4]
mov edi, dword [esp + 0x2d8]
je 0x4a8a16
mov ecx, dword [esp + 0x2ec]
mov eax, dword [esp + 0x2e8]
mov edx, ecx
sub edx, eax
mov dword [esp + 0x28], edx
jb 0x4a9403
test eax, eax
je 0x4a89fb
cmp eax, edi
jae 0x4a89f5
cmp byte [esi + eax], 0xbf
jg 0x4a89fb
jmp 0x4a9403
jne 0x4a9403
test ecx, ecx
je 0x4a8a14
cmp ecx, edi
jae 0x4a8a0e
cmp byte [esi + ecx], 0xbf
jg 0x4a8a14
jmp 0x4a9403
jne 0x4a9403
add eax, esi
mov ecx, dword [esp + 0x2e0]
xor edx, edx
test ecx, ecx
je 0x4a8a60
cmp ecx, edi
jae 0x4a8a32
cmp byte [esi + ecx], 0xbf
jg 0x4a8a38
jmp 0x4a9403
jne 0x4a9403
cmp ecx, 5
jne 0x4a8a60
mov ecx, dword [esi]
movzx esi, byte [esi + 4]
mov edi, 0x70747468
xor ecx, edi
xor esi, 0x73
or esi, ecx
sete bl
jmp 0x4a8a62
xor ebx, ebx
mov ecx, dword [esp + 0x254]
cmp byte [esp + 0x274], 0
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x258]
je 0x4a8ae4
mov esi, dword [esp + 0x26c]
mov edx, dword [esp + 0x268]
mov edi, esi
sub edi, edx
jb 0x4a9403
test edx, edx
je 0x4a8abb
cmp edx, ecx
jae 0x4a8ab5
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
cmp byte [ecx + edx], 0xbf
mov ecx, dword [esp + 0x18]
jg 0x4a8abb
jmp 0x4a9403
jne 0x4a9403
test esi, esi
je 0x4a8ae0
cmp esi, ecx
jae 0x4a8ada
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
cmp byte [ecx + esi], 0xbf
mov ecx, dword [esp + 0x18]
jg 0x4a8ae0
jmp 0x4a9403
jne 0x4a9403
add edx, dword [esp + 0x10]
mov esi, dword [esp + 0x260]
test esi, esi
je 0x4a8b30
cmp esi, ecx
jae 0x4a8b02
mov ecx, dword [esp + 0x10]
cmp byte [ecx + esi], 0xbf
jg 0x4a8b08
jmp 0x4a9403
jne 0x4a9403
cmp esi, 5
jne 0x4a8b30
mov esi, dword [esp + 0x10]
mov ecx, dword [esi]
bswap ecx
cmp ecx, 0x68747470
jne 0x4a8b58
movzx ecx, byte [esi + 4]
add ecx, 0xffffff8d
jmp 0x4a8b62
mov ecx, ebx
xor bl, 1
or bl, cl
test eax, eax
je 0x4a8b79
mov ecx, dword [esp + 0x28]
test edx, edx
je 0x4a8b7d
cmp ecx, edi
jne 0x4a8b7d
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x4a8b7d
jmp 0x4a8b7f
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 0x4a8b3b
test edx, edx
je 0x4a8b7f
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 0x4a8bb5
lea ecx, [esp + 0x34]
call fcn.004ba8f0
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], 0xfbd6c8
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 0x4a8c80
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.004ac6a0
test al, al
je 0x4a8c90
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 0x4a8c40
mov ebx, dword [esp + 0xc]
xor edi, edi
jmp 0x4a8cb9
mov ebx, dword [esp + 0xc]
xor eax, eax
xor esi, esi
xor edx, edx
jmp 0x4a8ccf
cmp dword [edi], 0
je 0x4a8ca6
push dword [edi + 4]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov edi, 1
jne 0x4a8e1b
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.004a9d70
add esp, 0x30
mov eax, dword [esp + 0x298]
lock dec dword [eax]
jne 0x4a8d4a
mov ecx, dword [esp + 0x298]
call fcn.004a9430
mov eax, dword [esp + 0x29c]
lock dec dword [eax]
jne 0x4a8d62
lea ecx, [esp + 0x29c]
call fcn.004a94f0
cmp dword [esp + 0x2a0], 0
mov ecx, dword [esp + 0x30]
sete al
or cl, al
cmp cl, 1
je 0x4a8d8d
push dword [esp + 0x2a4]
push 0
push dword [0xfd5200]
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 0x4a8db5
push ebx
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x2d0], 0
lea edi, [esp + 0x338]
lea esi, [esp + 0x180]
je 0x4a86e0
push dword [esp + 0x2d4]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a86e0
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 0x4a8cb9
lea ecx, [esp + 0x70]
mov edx, esi
call fcn.004ac6a0
test al, al
jne 0x4a8df0
inc edi
cmp dword [esi], 0
je 0x4a8e0e
push dword [esi + 4]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a8e0e
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 0x4a8ece
lea esi, [edi + 0x14]
jmp 0x4a8eb6
add esi, 0x48
dec ebx
je 0x4a8ece
cmp dword [esi - 4], 0
je 0x4a8eb0
push dword [esi]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a8eb0
cmp dword [esp + 0xc], 0
je 0x4a8ee4
push edi
push 0
push dword [0xfd5200]
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.004acac0
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 0x4a8f77
push dword [esp + 0x24]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x68]
mov esi, dword [ebp + 8]
lock dec dword [eax]
jne 0x4a936f
mov ecx, dword [esi + 0x10]
call fcn.004a9430
mov eax, dword [esp + 0x6c]
lock dec dword [eax]
je 0x4a937c
cmp dword [esi + 0x18], 0
je 0x4a8fb3
push dword [esi + 0x1c]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esi + 0x24], 0
je 0x4a8fca
push dword [esi + 0x28]
push 0
push dword [0xfd5200]
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 0x4a9154
lea ecx, [esp + 0x2c0]
add eax, 0x88
mov dword [esp + 0x338], 0xfbe1ac
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], 0x419240
mov dword [esp + 0x344], 1
call fcn.00415500
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], 2
mov dword [esp + 0xc8], 0
mov byte [esp + 0xd0], 5
jmp 0x4a9143
movzx ebx, byte [esp + 0x33c]
lea eax, [esp + 0x160]
lea ecx, [esp + 0x154]
lea edx, [esp + 0x70]
mov dword [esp + 0x70], 0xfbe1d0
mov dword [esp + 0x74], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x168], eax
lea eax, [esp + 0x168]
mov dword [esp + 0x16c], 0x49bdf0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 1
call fcn.00415500
movzx eax, byte [0xfd520d]
xor ecx, ecx
mov edx, 1
call fcn.00494530
test eax, eax
je 0x4a9403
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], 0xfbd838
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0x180]
call fcn.00496780
mov ebx, 2
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x38]
test esi, esi
mov dword [esp + 4], eax
je 0x4a918e
mov ecx, dword [esp + 4]
lea edi, [ecx + 0x14]
jmp 0x4a9176
add edi, 0x48
dec esi
je 0x4a918e
cmp dword [edi - 4], 0
je 0x4a9170
push dword [edi]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a9170
cmp dword [esp + 0x34], 0
je 0x4a91a7
push dword [esp + 4]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x240]
call fcn.004acac0
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 0x4a92a9
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 0x4a920f
push dword [esp + 4]
push 0
push dword [0xfd5200]
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 0x4a9314
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 0x4a9308
push dword [esp + 0x24]
push 0
push dword [0xfd5200]
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 0x4a8f87
mov eax, dword [esp + 0x6c]
lock dec dword [eax]
jne 0x4a8f9c
mov ecx, dword [esp + 0x64]
call fcn.004a94f0
cmp dword [esi + 0x18], 0
jne 0x4a8fa2
jmp 0x4a8fb3
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 0x4a8e8a
push dword [esp + 0x2d4]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a8e8a
ud2