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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x370
call 0x4a6b24
pop eax
mov dword [esp + 0x5c], eax
movzx eax, byte [edx + 0x34]
test eax, eax
je 0x4a8a6b
mov ebx, dword [edx + 0x2c]
mov esi, dword [edx + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebx
sub ebx, esi
jb 0x4a8a6b
mov eax, dword [edx + 0x14]
mov edi, dword [edx + 0x18]
test esi, esi
je 0x4a6b6a
cmp esi, edi
jae 0x4a6b64
cmp byte [eax + esi], 0xbf
jg 0x4a6b6a
jmp 0x4a8a6b
jne 0x4a8a6b
cmp dword [esp + 8], 0
mov dword [esp + 0x3c], ecx
je 0x4a6b94
mov ecx, esi
mov esi, dword [esp + 8]
cmp esi, edi
jae 0x4a6b8c
cmp byte [eax + esi], 0xbf
mov esi, ecx
jg 0x4a6b94
jmp 0x4a8a6b
mov esi, ecx
jne 0x4a8a6b
mov dword [esp + 4], edi
mov dword [esp + 0x18], eax
lea edi, [eax + esi]
movzx eax, byte [ebp + 8]
lea ecx, [esp + 0x90]
mov dword [esp + 0x1c], edx
push eax
mov dword [esp + 0x24], ebx
push ebx
mov dword [esp + 0x40], edi
push edi
call fcn.004a9360
add esp, 0xc
mov ebx, dword [esp + 0x90]
lea edi, [esp + 0x158]
lea eax, [esp + 0x94]
push 0x88
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [esp + 0x11c]
cmp ebx, 3
mov byte [esp + 3], al
jne 0x4a6c8a
lea eax, [esp + 0x208]
push 0x88
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, 0x100
xor ebx, ebx
call fcn.00490be0
test eax, eax
je 0x4a8a6b
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], 0x100
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 4
mov dword [esp + 0x54], 0
mov ecx, dword [edx + 0x58]
cmp ebx, dword [ecx + 0x5c]
mov dword [esp + 0x1ec], ecx
jno 0x4a6d60
mov eax, dword [edx]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [esp + 8], eax
je 0x4a6d7f
lea eax, [edx + 4]
jmp 0x4a6d8c
mov esi, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0x14c]
movsd xmm1, qword [esp + 0x13d]
movsd xmm2, qword [esp + 0x145]
movsd qword [esi + 0xbc], xmm0
movsd qword [esi + 0xb5], xmm2
movsd qword [esi + 0xad], xmm1
movsd xmm2, qword [esp + 0x135]
movsd xmm1, qword [esp + 0x12d]
lea eax, [esi + 4]
movsd qword [esi + 0xa5], xmm2
movsd qword [esi + 0x9d], xmm1
movsd xmm2, qword [esp + 0x11d]
movsd xmm1, qword [esp + 0x125]
movsd qword [esi + 0x95], xmm1
movsd qword [esi + 0x8d], xmm2
push 0x88
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [esp + 3]
mov dword [esi], ebx
mov byte [esi + 0x8c], al
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x4a6d39
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4a8974
cmp dword [edi + 8], 9
jb 0x4a6d4c
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a8974
cmp byte [ecx + 0x84], 0
mov ebx, dword [esp + 0x18]
je 0x4a6dbc
mov eax, dword [edx]
test eax, eax
mov dword [esp + 8], eax
je 0x4a6df6
lea eax, [edx + 4]
jmp 0x4a6e03
test byte [edx + 8], 1
je 0x4a6e33
lea eax, [edx + 0xc]
mov eax, dword [eax]
mov edi, dword [edx + 0x30]
mov esi, eax
sub esi, edi
jb 0x4a8a6b
test edi, edi
je 0x4a6e5d
cmp edi, dword [esp + 4]
jae 0x4a6e57
cmp byte [ebx + edi], 0xbf
jg 0x4a6e5d
jmp 0x4a8a6b
test byte [edx + 0x1c], 1
je 0x4a6e85
movzx eax, word [edx + 0x1e]
mov word [esp + 0x80], ax
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4a6f3e
cmp eax, dword [esp + 4]
jae 0x4a6f38
cmp byte [ebx + eax], 0xbf
jg 0x4a6f3e
jmp 0x4a8a6b
test byte [edx + 8], 1
je 0x4a6ea9
lea eax, [edx + 0xc]
mov eax, dword [eax]
mov edi, dword [edx + 0x30]
mov esi, eax
sub esi, edi
jb 0x4a8a6b
test edi, edi
je 0x4a6ed3
cmp edi, dword [esp + 4]
jae 0x4a6ecd
cmp byte [ebx + edi], 0xbf
jg 0x4a6ed3
jmp 0x4a8a6b
mov edi, dword [edx + 0x30]
test edi, edi
je 0x4a6f01
cmp dword [esp + 4], edi
jbe 0x4a6efb
cmp byte [ebx + edi], 0xbf
jg 0x4a6f01
jmp 0x4a8a6b
jne 0x4a8a6b
test eax, eax
je 0x4a6f07
cmp eax, dword [esp + 4]
jae 0x4a6e7a
cmp byte [ebx + eax], 0xbf
jg 0x4a6f07
jmp 0x4a8a6b
je 0x4a6f07
jmp 0x4a8a6b
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4a6fc8
cmp eax, dword [esp + 4]
jae 0x4a6fc2
cmp byte [ebx + eax], 0xbf
jg 0x4a6fc8
jmp 0x4a8a6b
mov edi, dword [edx + 0x30]
test edi, edi
je 0x4a7052
cmp dword [esp + 4], edi
jbe 0x4a704c
cmp byte [ebx + edi], 0xbf
jg 0x4a7052
jmp 0x4a8a6b
jne 0x4a8a6b
test eax, eax
je 0x4a7058
cmp eax, dword [esp + 4]
jae 0x4a6ef0
cmp byte [ebx + eax], 0xbf
jg 0x4a7058
jmp 0x4a8a6b
je 0x4a7058
jmp 0x4a8a6b
jne 0x4a8a6b
mov esi, dword [esp + 4]
sub esi, edi
add edi, ebx
test esi, esi
js 0x4a8a6b
mov ebx, dword [esp + 4]
je 0x4a706c
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, esi
call fcn.00490be0
test eax, eax
jne 0x4a7071
jmp 0x4a8a6b
jne 0x4a8a6b
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax*4 + 0x4a8a80]
add eax, dword [esp + 0x5c]
jmp eax
jne 0x4a8a6b
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax*4 + 0x4a8a70]
add eax, dword [esp + 0x5c]
jmp eax
jne 0x4a8a6b
mov esi, dword [esp + 4]
sub esi, edi
add edi, ebx
test esi, esi
js 0x4a8a6b
mov ebx, dword [esp + 4]
jne 0x4a6f1b
mov eax, 1
push esi
push edi
mov dword [esp + 0x28], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, dword [esp + 8]
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x1c]
test edi, edi
mov edx, dword [ecx + 0x64]
mov eax, dword [ecx + 0x68]
mov dword [esp + 0x14], eax
je 0x4a70cc
mov eax, dword [ecx + 4]
inc eax
test byte [ecx + 8], 1
je 0x4a70d0
mov ecx, dword [ecx + 0xc]
mov edi, ecx
sub edi, eax
jb 0x4a8a6b
test eax, eax
je 0x4a7106
cmp ebx, eax
jbe 0x4a7100
mov ebx, dword [esp + 0x18]
cmp byte [ebx + eax], 0xbf
mov ebx, dword [esp + 4]
jg 0x4a7106
jmp 0x4a8a6b
xor ebx, ebx
jmp 0x4a7129
test eax, eax
lea ecx, [esp + 0x158]
je 0x4a70f4
cmp ebx, eax
jbe 0x4a70ee
mov edi, dword [esp + 0x18]
cmp byte [edi + eax], 0xbf
jg 0x4a70f4
jmp 0x4a8a6b
jne 0x4a8a6b
sub ebx, eax
mov edi, ebx
mov ebx, dword [esp + 0x18]
add ebx, eax
jmp 0x4a7130
jne 0x4a8a6b
test ecx, ecx
je 0x4a7123
cmp ecx, ebx
jae 0x4a711d
mov ebx, dword [esp + 0x18]
cmp byte [ebx + ecx], 0xbf
jg 0x4a7123
jmp 0x4a8a6b
jne 0x4a8a6b
mov ebx, dword [esp + 0x18]
add ebx, eax
lea ecx, [esp + 0x158]
test ebx, ebx
mov eax, 1
mov dword [esp + 0x58], edx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x90], 0x75f4c8
mov dword [esp + 0x94], 2
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x9c], 2
cmovne eax, ebx
cmove edi, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x64], edi
mov dword [esp + 0x158], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x15c], 0x498340
mov dword [esp + 0x70], edx
mov dword [esp + 0x160], eax
mov dword [esp + 0x74], esi
lea eax, [esp + 0x40]
lea esi, [esp + 0x90]
mov dword [esp + 0x164], 0x498340
mov edx, 0x759908
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], ebx
mov byte [esp + 0x24], 4
push esi
call fcn.00413830
add esp, 4
movzx ecx, byte [esp + 0x24]
test al, al
je 0x4a7212
cmp cl, 4
je 0x4a8a6b
mov eax, dword [esp + 0x24]
cmp al, 4
je 0x4a726c
mov ecx, dword [esp + 0x28]
jmp 0x4a73f2
cmp cl, 3
jne 0x4a726c
mov esi, dword [esp + 0x28]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a7234
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a7252
cmp dword [ebx + 8], 9
jb 0x4a7243
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [esp + 0x14]
lea esi, [esp + 0x90]
test edi, edi
je 0x4a7360
lea eax, [esp + 0x60]
mov dword [esp + 0x90], 0x75f4dc
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x158]
mov dword [esp + 0xa0], 0
mov edx, 0x759908
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x498340
mov dword [esp + 0x98], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x9c], 1
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00413830
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a730f
cmp cl, 4
je 0x4a8a6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a7360
mov ecx, dword [esp + 0x15c]
jmp 0x4a73f2
cmp cl, 3
jne 0x4a7360
mov esi, dword [esp + 0x15c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a732c
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a734a
cmp dword [ebx + 8], 9
jb 0x4a733b
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esi, [esp + 0x90]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x158]
mov dword [esp + 0x90], 0x75f4f0
mov dword [esp + 0x94], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0
mov edx, 0x759908
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00413830
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a7419
cmp cl, 4
mov ecx, dword [esp + 0x1c]
je 0x4a8a6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a746e
mov ecx, dword [esp + 0x15c]
mov ebx, dword [esp + 0x14]
mov edx, eax
shrd edx, ecx, 8
shr ecx, 8
mov byte [esp + 0xc], al
movzx eax, byte [esp + 3]
mov dword [esp + 0xd], edx
mov word [esp + 0x11], cx
shr ecx, 0x10
mov byte [esp + 0x13], cl
jmp 0x4a860d
cmp cl, 3
jne 0x4a746a
mov esi, dword [esp + 0x15c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a7436
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a7454
cmp dword [ebx + 8], 9
jb 0x4a7445
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esi, [esp + 0x90]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x74]
mov ebx, dword [ecx + 0x70]
mov ecx, ebx
mov edx, edi
push 4
push 0x7599ac
call fcn.004a8ac0
add esp, 8
test eax, eax
je 0x4a7504
mov ecx, ebx
mov edx, edi
push 0xa
push 0x75f4a4
call fcn.004a8ac0
add esp, 8
test eax, eax
je 0x4a7556
mov ecx, ebx
mov edx, edi
push 6
push 0x75f4b8
call fcn.004a8ac0
add esp, 8
test eax, eax
jne 0x4a74ee
lea ecx, [esp + 0x90]
lea edx, [esp + 0x40]
push 3
push 0x75f4c4
push 6
push 0x75f4be
call fcn.004aad30
add esp, 0x10
movzx eax, byte [esp + 0x90]
cmp al, 4
jne 0x4a7688
test edi, edi
je 0x4a847b
shl edi, 4
add edi, ebx
mov dword [esp + 0x18], edi
jmp 0x4a7dbb
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
movzx eax, byte [esi + 0x34]
mov eax, dword [eax*4 + 0x4a8a90]
add eax, dword [esp + 0x5c]
jmp eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x90], 0x75f4f8
mov dword [esp + 0x94], 3
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x60], 0x75f4ae
mov dword [esp + 0x64], 0xa
mov edx, 0x759908
add eax, 0x50
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x158], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x15c], 0x498340
mov dword [esp + 0x160], eax
lea eax, [esp + 0x158]
mov dword [esp + 0x164], 0x4a3410
mov dword [esp + 0x98], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x9c], 2
mov dword [esp + 0x2c], eax
mov byte [esp + 0x24], 4
push esi
call fcn.00413830
add esp, 4
movzx ecx, byte [esp + 0x24]
test al, al
je 0x4a7621
cmp cl, 4
je 0x4a8a6b
mov ecx, dword [esp + 0x24]
cmp cl, 4
je 0x4a74a6
mov eax, dword [esp + 0x28]
jmp 0x4a79a2
cmp cl, 3
jne 0x4a74a6
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], edi
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4a764b
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x4a7669
cmp dword [edi + 8], 9
jb 0x4a765a
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x90]
jmp 0x4a74a6
mov ecx, dword [esp + 0x91]
mov edx, dword [esp + 0x94]
jmp 0x4a77de
mov ecx, dword [esp + 0x159]
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xd], ecx
mov byte [esp + 0xc], al
jmp 0x4a79c1
mov edx, ecx
mov esi, eax
mov byte [esp + 0xc], cl
shrd edx, eax, 8
shr esi, 8
shr eax, 0x18
mov dword [esp + 0xd], edx
mov word [esp + 0x11], si
mov byte [esp + 0x13], al
movzx eax, byte [esp + 3]
mov ebx, dword [esp + 0x14]
jmp 0x4a860d
push ecx
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esi, [esp + 0x90]
mov edi, dword [esp + 0x18]
nop
add ebx, 0x10
cmp ebx, edi
je 0x4a847b
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
inc edx
sub eax, edx
jb 0x4a8a6b
add edx, dword [ebx + 4]
mov ecx, esi
push eax
call fcn.00413de0
add esp, 4
test byte [esp + 0x90], 1
jne 0x4a7db0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
call fcn.004a9100
test edx, edx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
je 0x4a7e30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x4a7e14
inc ecx
dec eax
je 0x4a7e30
movzx edx, byte [ecx]
cmp edx, 9
je 0x4a7e10
cmp edx, 0x20
je 0x4a7e10
add dl, 0xdf
cmp dl, 0x5d
jbe 0x4a7e10
jmp 0x4a7db0
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 8]
ja 0x4a8a6b
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x90]
mov edx, esi
push edi
call fcn.00413de0
add esp, 4
test byte [esp + 0x90], 1
jne 0x4a8a6b
cmp dword [esp + 0x98], 0xd
jne 0x4a7fe0
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x61
jne 0x4a7fe0
movzx ecx, byte [eax + 1]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x75
jne 0x4a7fe0
movzx ecx, byte [eax + 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x74
jne 0x4a7fe0
movzx ecx, byte [eax + 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x68
jne 0x4a7fe0
movzx ecx, byte [eax + 4]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6f
jne 0x4a7fe0
movzx ecx, byte [eax + 5]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x72
jne 0x4a7fe0
movzx ecx, byte [eax + 6]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x69
jne 0x4a7fe0
movzx ecx, byte [eax + 7]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x7a
jne 0x4a7fe0
movzx ecx, byte [eax + 8]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x61
jne 0x4a7fe0
movzx ecx, byte [eax + 9]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x74
jne 0x4a7fe0
movzx ecx, byte [eax + 0xa]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x69
jne 0x4a7fe0
movzx ecx, byte [eax + 0xb]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6f
jne 0x4a7fe0
movzx eax, byte [eax + 0xc]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x6e
je 0x4a80c2
nop dword [eax]
lea ecx, [esp + 0x90]
mov edx, esi
push edi
call fcn.00413de0
add esp, 4
cmp dword [esp + 0x90], 1
je 0x4a8a6b
cmp dword [esp + 0x98], 6
jne 0x4a81c0
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x63
jne 0x4a81c0
movzx ecx, byte [eax + 1]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6f
jne 0x4a81c0
movzx ecx, byte [eax + 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6f
jne 0x4a81c0
movzx ecx, byte [eax + 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6b
jne 0x4a81c0
movzx ecx, byte [eax + 4]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x69
jne 0x4a81c0
movzx eax, byte [eax + 5]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x4a81c0
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
ja 0x4a8a6b
mov edx, dword [ebx + 4]
lea esi, [esp + 0x90]
mov ecx, esi
push eax
call fcn.00413de0
add esp, 4
test byte [esp + 0x90], 1
jne 0x4a8a6b
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x158]
mov edx, 0x759908
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x90], 0x75e9f8
mov dword [esp + 0x94], 2
mov dword [esp + 0xa0], 0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x498340
mov dword [esp + 0x98], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x9c], 1
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00413830
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a8231
cmp cl, 4
je 0x4a8a6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a828a
jmp 0x4a73e7
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
ja 0x4a8a6b
mov edx, dword [ebx + 4]
lea esi, [esp + 0x90]
mov ecx, esi
push eax
call fcn.00413de0
add esp, 4
test byte [esp + 0x90], 1
mov edi, dword [esp + 0x18]
jne 0x4a8a6b
lea ecx, [esp + 0x158]
lea edx, [esp + 0x40]
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0xa0]
push dword [esp + 0xa0]
call fcn.004aad30
add esp, 0x10
movzx eax, byte [esp + 0x158]
cmp al, 4
je 0x4a7db0
jmp 0x4a77d0
cmp cl, 3
jne 0x4a828a
mov esi, dword [esp + 0x15c]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4a8256
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x4a8274
cmp dword [edi + 8], 9
jb 0x4a8265
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esi, [esp + 0x90]
lea eax, [esp + 0x60]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x90], 0x771614
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x158]
mov dword [esp + 0xa0], 0
mov edx, 0x759908
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x498340
mov dword [esp + 0x98], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x9c], 1
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00413830
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
mov dword [esp + 8], edi
je 0x4a8326
cmp cl, 4
je 0x4a8a6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a8378
jmp 0x4a73e7
cmp cl, 3
jne 0x4a8378
mov esi, dword [esp + 0x15c]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4a834b
push ecx
mov dword [esp + 8], ecx
call eax
mov ecx, dword [esp + 8]
add esp, 4
cmp dword [edi + 4], 0
je 0x4a8369
cmp dword [edi + 8], 9
jb 0x4a835a
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
cmp edi, dword [esp + 0x4c]
jne 0x4a838f
lea ecx, [esp + 0x4c]
call fcn.004ade00
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 8]
mov edx, 0x759908
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], esi
inc edi
lea eax, [esp + 0x40]
lea ecx, [esp + 0x158]
lea esi, [esp + 0x90]
mov dword [esp + 0x90], 0x75f510
mov dword [esp + 0x94], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0
mov dword [esp + 0x160], eax
mov dword [esp + 0x54], edi
mov byte [esp + 0x158], 4
push esi
call fcn.00413830
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a8436
mov edi, dword [esp + 0x18]
cmp cl, 4
je 0x4a8a6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a7db0
jmp 0x4a73e7
cmp cl, 3
jne 0x4a7dab
mov esi, dword [esp + 0x15c]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4a845f
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x4a7d95
cmp dword [edi + 8], 9
jb 0x4a7d86
mov ecx, dword [ecx - 4]
jmp 0x4a7d86
lea eax, [esp + 0x40]
lea ecx, [esp + 0x158]
mov dword [esp + 0x90], 0x75f510
mov dword [esp + 0x94], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0
mov edx, 0x759908
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00413830
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a852f
mov ebx, dword [esp + 0x14]
cmp cl, 4
je 0x4a8a6b
mov ecx, dword [esp + 0x158]
cmp cl, 4
je 0x4a857d
mov eax, dword [esp + 0x15c]
mov edx, ecx
mov byte [esp + 0xc], cl
mov esi, eax
shrd edx, eax, 8
shr eax, 0x18
mov byte [esp + 0x13], al
movzx eax, byte [esp + 3]
shr esi, 8
mov dword [esp + 0xd], edx
mov word [esp + 0x11], si
jmp 0x4a860d
cmp cl, 3
jne 0x4a8579
mov esi, dword [esp + 0x15c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a854c
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a856a
cmp dword [ebx + 8], 9
jb 0x4a855b
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x288]
lea ecx, [esp + 0x90]
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x294]
call fcn.004aae30
add esp, 0xc
movzx eax, byte [esp + 0x90]
cmp al, 4
jne 0x4a85ee
cmp dword [esp + 0x38], 0
mov byte [esp + 0xc], 4
je 0x4a85cc
push dword [esp + 0x20]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x40], 0
je 0x4a85e5
push dword [esp + 0x44]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x4c], 0
jne 0x4a8650
jmp 0x4a8662
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x91]
mov dword [esp + 0x10], edx
mov dword [esp + 0xd], ecx
mov byte [esp + 0xc], al
movzx eax, byte [esp + 3]
cmp dword [esp + 0x38], 0
je 0x4a862b
push dword [esp + 0x20]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, byte [esp + 3]
cmp dword [esp + 0x40], 0
je 0x4a8649
push dword [esp + 0x44]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, byte [esp + 3]
cmp dword [esp + 0x4c], 0
je 0x4a8667
push dword [esp + 0x50]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, byte [esp + 3]
cmp byte [esp + 0xc], 4
jne 0x4a86cd
mov ecx, dword [ebp + 0xc]
add ebx, 0xfffffffd
cmp ebx, 4
mov edx, dword [ecx]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
ja 0x4a87bf
mov esi, dword [esp + 0x5c]
add esi, dword [ebx*4 + 0x4a8aa0]
jmp esi
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
test al, 1
je 0x4a873a
mov ecx, dword [esp + 0x3c]
push dword [ebp + 0xc]
push 0
call fcn.004a6b10
add esp, 8
cmp bl, 3
jne 0x4a8968
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a8708
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a8726
cmp dword [ebx + 8], 9
jb 0x4a8717
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a8968
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x158]
mov dword [esp + 0x158], ebx
mov dword [esp + 0x94], 2
mov dword [esp + 0xdc], 0x80000000
mov dword [esp + 0xe8], 0
mov byte [esp + 0xf0], 8
mov dword [esp + 0x15c], esi
mov dword [esp + 0x90], 2
lea edx, [esp + 0x90]
push eax
call fcn.0049bc70
add esp, 4
lea ecx, [esp + 0x208]
call fcn.004a2ea0
jmp 0x4a6d24
xor ebx, ebx
test edx, edx
je 0x4a87f0
cmp edx, 1
jne 0x4a87ce
xor eax, eax
jmp 0x4a87f2
or ecx, eax
sete al
jmp 0x4a87f2
mov al, 1
mov esi, dword [esp + 0x1c]
and bl, al
jmp 0x4a883b
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x90]
lea ecx, [esp + 0x40]
mov edx, edi
movsd xmm0, qword [eax + 0x10]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movzx eax, byte [esi + 0x78]
movsd qword [esp + 0xa0], xmm0
movsd qword [esp + 0x98], xmm1
movsd qword [esp + 0x90], xmm2
push dword [esp + 0x28c]
push dword [esp + 0x28c]
push eax
call fcn.004aaf70
add esp, 0xc
movzx eax, byte [esp + 0x40]
cmp al, 4
jne 0x4a88fc
mov ecx, edi
mov edx, esi
call fcn.004ab970
lea esi, [esp + 0x2a8]
lea edx, [esp + 0x208]
mov ecx, esi
push edi
call fcn.004abc20
add esp, 4
mov eax, dword [esp + 0x2a8]
cmp eax, 3
jne 0x4a897c
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x2ac]
lea ecx, [esi + 4]
push 0xbc
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x368]
mov dword [esi + 0xc0], eax
mov dword [esi], 3
jmp 0x4a8974
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x41]
mov dword [esp + 0x94], 2
mov dword [esp + 0xdc], 0x80000000
mov dword [esp + 0xe8], 0
mov byte [esp + 0xf0], 8
mov dword [esp + 0x90], 2
mov dword [esp + 0x15c], edx
mov dword [esp + 0x159], ecx
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x158], al
lea eax, [esp + 0x158]
lea edx, [esp + 0x90]
push eax
call fcn.0049bc70
add esp, 4
lea ecx, [esp + 0x208]
call fcn.004a2ea0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 2
jne 0x4a8a54
cmp byte [esp + 0x308], 8
jne 0x4a8a54
mov edi, dword [esp + 0x300]
test edi, edi
je 0x4a8a54
mov eax, dword [esp + 0x304]
lea ecx, [esp + 0x1f8]
push edi
push ecx
call dword [eax + 0x1c]
add esp, 8
mov eax, dword [esp + 0x200]
mov ecx, dword [esp + 0x204]
mov edx, 0xbe4c238a
mov esi, 0xbb3e41fb
xor edx, dword [esp + 0x1f8]
xor esi, dword [esp + 0x1fc]
xor eax, 0xfec97d0
xor ecx, 0x7b23a6a8
or ecx, esi
or eax, edx
lea esi, [esp + 0x2a8]
or ecx, eax
jne 0x4a8a54
mov ecx, edi
call fcn.0049e3e0
cmp al, 3
sete cl
cmp al, 6
sete al
or al, cl
and bl, al
test byte [esp + 3], bl
je 0x4a8a54
lea edi, [esp + 0x290]
lea edx, [esp + 0x90]
mov dword [esp + 0x90], 0x80000000
mov ecx, edi
call fcn.004a6180
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
push edi
push 0
call fcn.004a6b10
add esp, 8
push esi
call fcn.00492da0
add esp, 4
jmp 0x4a8974
push 0xc4
push esi
push dword [esp + 0x44]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4a8974
ud2