Function at 0x4a1010
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 0x4a1024
pop eax
mov dword [esp + 0x5c], eax
movzx eax, byte [edx + 0x34]
test eax, eax
je 0x4a2f6b
mov ebx, dword [edx + 0x2c]
mov esi, dword [edx + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebx
sub ebx, esi
jb 0x4a2f6b
mov eax, dword [edx + 0x14]
mov edi, dword [edx + 0x18]
test esi, esi
je 0x4a106a
cmp esi, edi
jae 0x4a1064
cmp byte [eax + esi], 0xbf
jg 0x4a106a
jmp 0x4a2f6b
jne 0x4a2f6b
cmp dword [esp + 8], 0
mov dword [esp + 0x3c], ecx
je 0x4a1094
mov ecx, esi
mov esi, dword [esp + 8]
cmp esi, edi
jae 0x4a108c
cmp byte [eax + esi], 0xbf
mov esi, ecx
jg 0x4a1094
jmp 0x4a2f6b
mov esi, ecx
jne 0x4a2f6b
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.004a3870
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 0x4a118a
lea eax, [esp + 0x208]
push 0x88
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, 0x100
xor ebx, ebx
call fcn.0048bb80
test eax, eax
je 0x4a2f6b
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 0x4a1260
mov eax, dword [edx]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [esp + 8], eax
je 0x4a127f
lea eax, [edx + 4]
jmp 0x4a128c
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 0x4a1239
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4a2e74
cmp dword [edi + 8], 9
jb 0x4a124c
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a2e74
cmp byte [ecx + 0x84], 0
mov ebx, dword [esp + 0x18]
je 0x4a12bc
mov eax, dword [edx]
test eax, eax
mov dword [esp + 8], eax
je 0x4a12f6
lea eax, [edx + 4]
jmp 0x4a1303
test byte [edx + 8], 1
je 0x4a1333
lea eax, [edx + 0xc]
mov eax, dword [eax]
mov edi, dword [edx + 0x30]
mov esi, eax
sub esi, edi
jb 0x4a2f6b
test edi, edi
je 0x4a135d
cmp edi, dword [esp + 4]
jae 0x4a1357
cmp byte [ebx + edi], 0xbf
jg 0x4a135d
jmp 0x4a2f6b
test byte [edx + 0x1c], 1
je 0x4a1385
movzx eax, word [edx + 0x1e]
mov word [esp + 0x80], ax
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4a143e
cmp eax, dword [esp + 4]
jae 0x4a1438
cmp byte [ebx + eax], 0xbf
jg 0x4a143e
jmp 0x4a2f6b
test byte [edx + 8], 1
je 0x4a13a9
lea eax, [edx + 0xc]
mov eax, dword [eax]
mov edi, dword [edx + 0x30]
mov esi, eax
sub esi, edi
jb 0x4a2f6b
test edi, edi
je 0x4a13d3
cmp edi, dword [esp + 4]
jae 0x4a13cd
cmp byte [ebx + edi], 0xbf
jg 0x4a13d3
jmp 0x4a2f6b
mov edi, dword [edx + 0x30]
test edi, edi
je 0x4a1401
cmp dword [esp + 4], edi
jbe 0x4a13fb
cmp byte [ebx + edi], 0xbf
jg 0x4a1401
jmp 0x4a2f6b
jne 0x4a2f6b
test eax, eax
je 0x4a1407
cmp eax, dword [esp + 4]
jae 0x4a137a
cmp byte [ebx + eax], 0xbf
jg 0x4a1407
jmp 0x4a2f6b
je 0x4a1407
jmp 0x4a2f6b
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4a14c8
cmp eax, dword [esp + 4]
jae 0x4a14c2
cmp byte [ebx + eax], 0xbf
jg 0x4a14c8
jmp 0x4a2f6b
mov edi, dword [edx + 0x30]
test edi, edi
je 0x4a1552
cmp dword [esp + 4], edi
jbe 0x4a154c
cmp byte [ebx + edi], 0xbf
jg 0x4a1552
jmp 0x4a2f6b
jne 0x4a2f6b
test eax, eax
je 0x4a1558
cmp eax, dword [esp + 4]
jae 0x4a13f0
cmp byte [ebx + eax], 0xbf
jg 0x4a1558
jmp 0x4a2f6b
je 0x4a1558
jmp 0x4a2f6b
jne 0x4a2f6b
mov esi, dword [esp + 4]
sub esi, edi
add edi, ebx
test esi, esi
js 0x4a2f6b
mov ebx, dword [esp + 4]
je 0x4a156c
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, esi
call fcn.0048bb80
test eax, eax
jne 0x4a1571
jmp 0x4a2f6b
jne 0x4a2f6b
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax*4 + 0x4a2f80]
add eax, dword [esp + 0x5c]
jmp eax
jne 0x4a2f6b
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax*4 + 0x4a2f70]
add eax, dword [esp + 0x5c]
jmp eax
jne 0x4a2f6b
mov esi, dword [esp + 4]
sub esi, edi
add edi, ebx
test esi, esi
js 0x4a2f6b
mov ebx, dword [esp + 4]
jne 0x4a141b
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 0x4a15cc
mov eax, dword [ecx + 4]
inc eax
test byte [ecx + 8], 1
je 0x4a15d0
mov ecx, dword [ecx + 0xc]
mov edi, ecx
sub edi, eax
jb 0x4a2f6b
test eax, eax
je 0x4a1606
cmp ebx, eax
jbe 0x4a1600
mov ebx, dword [esp + 0x18]
cmp byte [ebx + eax], 0xbf
mov ebx, dword [esp + 4]
jg 0x4a1606
jmp 0x4a2f6b
xor ebx, ebx
jmp 0x4a1629
test eax, eax
lea ecx, [esp + 0x158]
je 0x4a15f4
cmp ebx, eax
jbe 0x4a15ee
mov edi, dword [esp + 0x18]
cmp byte [edi + eax], 0xbf
jg 0x4a15f4
jmp 0x4a2f6b
jne 0x4a2f6b
sub ebx, eax
mov edi, ebx
mov ebx, dword [esp + 0x18]
add ebx, eax
jmp 0x4a1630
jne 0x4a2f6b
test ecx, ecx
je 0x4a1623
cmp ecx, ebx
jae 0x4a161d
mov ebx, dword [esp + 0x18]
cmp byte [ebx + ecx], 0xbf
jg 0x4a1623
jmp 0x4a2f6b
jne 0x4a2f6b
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], 0x60cd38
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], 0x493590
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], 0x493590
mov edx, 0x607180
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], ebx
mov byte [esp + 0x24], 4
push esi
call fcn.0040e610
add esp, 4
movzx ecx, byte [esp + 0x24]
test al, al
je 0x4a1712
cmp cl, 4
je 0x4a2f6b
mov eax, dword [esp + 0x24]
cmp al, 4
je 0x4a176c
mov ecx, dword [esp + 0x28]
jmp 0x4a18f2
cmp cl, 3
jne 0x4a176c
mov esi, dword [esp + 0x28]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a1734
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a1752
cmp dword [ebx + 8], 9
jb 0x4a1743
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [esp + 0x14]
lea esi, [esp + 0x90]
test edi, edi
je 0x4a1860
lea eax, [esp + 0x60]
mov dword [esp + 0x90], 0x60cd4c
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x158]
mov dword [esp + 0xa0], 0
mov edx, 0x607180
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x493590
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.0040e610
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a180f
cmp cl, 4
je 0x4a2f6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a1860
mov ecx, dword [esp + 0x15c]
jmp 0x4a18f2
cmp cl, 3
jne 0x4a1860
mov esi, dword [esp + 0x15c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a182c
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a184a
cmp dword [ebx + 8], 9
jb 0x4a183b
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esi, [esp + 0x90]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x158]
mov dword [esp + 0x90], 0x60cd60
mov dword [esp + 0x94], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0
mov edx, 0x607180
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.0040e610
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a1919
cmp cl, 4
mov ecx, dword [esp + 0x1c]
je 0x4a2f6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a196e
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 0x4a2b0d
cmp cl, 3
jne 0x4a196a
mov esi, dword [esp + 0x15c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a1936
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a1954
cmp dword [ebx + 8], 9
jb 0x4a1945
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x623140]
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 0x607224
call fcn.004a2fc0
add esp, 8
test eax, eax
je 0x4a1a04
mov ecx, ebx
mov edx, edi
push 0xa
push 0x60cd14
call fcn.004a2fc0
add esp, 8
test eax, eax
je 0x4a1a56
mov ecx, ebx
mov edx, edi
push 6
push 0x60cd28
call fcn.004a2fc0
add esp, 8
test eax, eax
jne 0x4a19ee
lea ecx, [esp + 0x90]
lea edx, [esp + 0x40]
push 3
push 0x60cd34
push 6
push 0x60cd2e
call fcn.004a5240
add esp, 0x10
movzx eax, byte [esp + 0x90]
cmp al, 4
jne 0x4a1b88
test edi, edi
je 0x4a297b
shl edi, 4
add edi, ebx
mov dword [esp + 0x18], edi
jmp 0x4a22bb
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
movzx eax, byte [esi + 0x34]
mov eax, dword [eax*4 + 0x4a2f90]
add eax, dword [esp + 0x5c]
jmp eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x90], 0x60cd68
mov dword [esp + 0x94], 3
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x60], 0x60cd1e
mov dword [esp + 0x64], 0xa
mov edx, 0x607180
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], 0x493590
mov dword [esp + 0x160], eax
lea eax, [esp + 0x158]
mov dword [esp + 0x164], 0x49e690
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.0040e610
add esp, 4
movzx ecx, byte [esp + 0x24]
test al, al
je 0x4a1b21
cmp cl, 4
je 0x4a2f6b
mov ecx, dword [esp + 0x24]
cmp cl, 4
je 0x4a19a6
mov eax, dword [esp + 0x28]
jmp 0x4a1ea2
cmp cl, 3
jne 0x4a19a6
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 0x4a1b4b
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x4a1b69
cmp dword [edi + 8], 9
jb 0x4a1b5a
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x90]
jmp 0x4a19a6
mov ecx, dword [esp + 0x91]
mov edx, dword [esp + 0x94]
jmp 0x4a1cde
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 0x4a1ec1
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 0x4a2b0d
push ecx
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esi, [esp + 0x90]
mov edi, dword [esp + 0x18]
nop
add ebx, 0x10
cmp ebx, edi
je 0x4a297b
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
inc edx
sub eax, edx
jb 0x4a2f6b
add edx, dword [ebx + 4]
mov ecx, esi
push eax
call fcn.0040ebc0
add esp, 4
test byte [esp + 0x90], 1
jne 0x4a22b0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
call fcn.004a3600
test edx, edx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
je 0x4a2330
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x4a2314
inc ecx
dec eax
je 0x4a2330
movzx edx, byte [ecx]
cmp edx, 9
je 0x4a2310
cmp edx, 0x20
je 0x4a2310
add dl, 0xdf
cmp dl, 0x5d
jbe 0x4a2310
jmp 0x4a22b0
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 8]
ja 0x4a2f6b
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x90]
mov edx, esi
push edi
call fcn.0040ebc0
add esp, 4
test byte [esp + 0x90], 1
jne 0x4a2f6b
cmp dword [esp + 0x98], 0xd
jne 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a24e0
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 0x4a25c2
nop dword [eax]
lea ecx, [esp + 0x90]
mov edx, esi
push edi
call fcn.0040ebc0
add esp, 4
cmp dword [esp + 0x90], 1
je 0x4a2f6b
cmp dword [esp + 0x98], 6
jne 0x4a26c0
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 0x4a26c0
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 0x4a26c0
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 0x4a26c0
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 0x4a26c0
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 0x4a26c0
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 0x4a26c0
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
ja 0x4a2f6b
mov edx, dword [ebx + 4]
lea esi, [esp + 0x90]
mov ecx, esi
push eax
call fcn.0040ebc0
add esp, 4
test byte [esp + 0x90], 1
jne 0x4a2f6b
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x158]
mov edx, 0x607180
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x90], 0x60c268
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], 0x493590
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.0040e610
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a2731
cmp cl, 4
je 0x4a2f6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a278a
jmp 0x4a18e7
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
ja 0x4a2f6b
mov edx, dword [ebx + 4]
lea esi, [esp + 0x90]
mov ecx, esi
push eax
call fcn.0040ebc0
add esp, 4
test byte [esp + 0x90], 1
mov edi, dword [esp + 0x18]
jne 0x4a2f6b
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.004a5240
add esp, 0x10
movzx eax, byte [esp + 0x158]
cmp al, 4
je 0x4a22b0
jmp 0x4a1cd0
cmp cl, 3
jne 0x4a278a
mov esi, dword [esp + 0x15c]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4a2756
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x4a2774
cmp dword [edi + 8], 9
jb 0x4a2765
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esi, [esp + 0x90]
lea eax, [esp + 0x60]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x90], 0x61ee84
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x158]
mov dword [esp + 0xa0], 0
mov edx, 0x607180
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x493590
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.0040e610
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
mov dword [esp + 8], edi
je 0x4a2826
cmp cl, 4
je 0x4a2f6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a2878
jmp 0x4a18e7
cmp cl, 3
jne 0x4a2878
mov esi, dword [esp + 0x15c]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4a284b
push ecx
mov dword [esp + 8], ecx
call eax
mov ecx, dword [esp + 8]
add esp, 4
cmp dword [edi + 4], 0
je 0x4a2869
cmp dword [edi + 8], 9
jb 0x4a285a
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
cmp edi, dword [esp + 0x4c]
jne 0x4a288f
lea ecx, [esp + 0x4c]
call fcn.004a8310
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 8]
mov edx, 0x607180
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], 0x60cd80
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.0040e610
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a2936
mov edi, dword [esp + 0x18]
cmp cl, 4
je 0x4a2f6b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4a22b0
jmp 0x4a18e7
cmp cl, 3
jne 0x4a22ab
mov esi, dword [esp + 0x15c]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4a295f
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x4a2295
cmp dword [edi + 8], 9
jb 0x4a2286
mov ecx, dword [ecx - 4]
jmp 0x4a2286
lea eax, [esp + 0x40]
lea ecx, [esp + 0x158]
mov dword [esp + 0x90], 0x60cd80
mov dword [esp + 0x94], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0
mov edx, 0x607180
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.0040e610
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4a2a2f
mov ebx, dword [esp + 0x14]
cmp cl, 4
je 0x4a2f6b
mov ecx, dword [esp + 0x158]
cmp cl, 4
je 0x4a2a7d
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 0x4a2b0d
cmp cl, 3
jne 0x4a2a79
mov esi, dword [esp + 0x15c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a2a4c
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a2a6a
cmp dword [ebx + 8], 9
jb 0x4a2a5b
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x623140]
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.004a5340
add esp, 0xc
movzx eax, byte [esp + 0x90]
cmp al, 4
jne 0x4a2aee
cmp dword [esp + 0x38], 0
mov byte [esp + 0xc], 4
je 0x4a2acc
push dword [esp + 0x20]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x40], 0
je 0x4a2ae5
push dword [esp + 0x44]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x4c], 0
jne 0x4a2b50
jmp 0x4a2b62
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 0x4a2b2b
push dword [esp + 0x20]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, byte [esp + 3]
cmp dword [esp + 0x40], 0
je 0x4a2b49
push dword [esp + 0x44]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, byte [esp + 3]
cmp dword [esp + 0x4c], 0
je 0x4a2b67
push dword [esp + 0x50]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, byte [esp + 3]
cmp byte [esp + 0xc], 4
jne 0x4a2bcd
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 0x4a2cbf
mov esi, dword [esp + 0x5c]
add esi, dword [ebx*4 + 0x4a2fa0]
jmp esi
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
test al, 1
je 0x4a2c3a
mov ecx, dword [esp + 0x3c]
push dword [ebp + 0xc]
push 0
call fcn.004a1010
add esp, 8
cmp bl, 3
jne 0x4a2e68
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4a2c08
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4a2c26
cmp dword [ebx + 8], 9
jb 0x4a2c17
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a2e68
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x158]
mov dword [esp + 0x158], ebx
mov dword [esp + 0x94], 2
mov dword [esp + 0xdc], getsockopt
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.00496ec0
add esp, 4
lea ecx, [esp + 0x208]
call fcn.0049e120
jmp 0x4a1224
xor ebx, ebx
test edx, edx
je 0x4a2cf0
cmp edx, 1
jne 0x4a2cce
xor eax, eax
jmp 0x4a2cf2
or ecx, eax
sete al
jmp 0x4a2cf2
mov al, 1
mov esi, dword [esp + 0x1c]
and bl, al
jmp 0x4a2d3b
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.004a5480
add esp, 0xc
movzx eax, byte [esp + 0x40]
cmp al, 4
jne 0x4a2dfc
mov ecx, edi
mov edx, esi
call fcn.004a5e80
lea esi, [esp + 0x2a8]
lea edx, [esp + 0x208]
mov ecx, esi
push edi
call fcn.004a6130
add esp, 4
mov eax, dword [esp + 0x2a8]
cmp eax, 3
jne 0x4a2e7c
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 0x4a2e74
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x41]
mov dword [esp + 0x94], 2
mov dword [esp + 0xdc], getsockopt
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.00496ec0
add esp, 4
lea ecx, [esp + 0x208]
call fcn.0049e120
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 2
jne 0x4a2f54
cmp byte [esp + 0x308], 8
jne 0x4a2f54
mov edi, dword [esp + 0x300]
test edi, edi
je 0x4a2f54
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 0x4a2f54
mov ecx, edi
call fcn.00499640
cmp al, 3
sete cl
cmp al, 6
sete al
or al, cl
and bl, al
test byte [esp + 3], bl
je 0x4a2f54
lea edi, [esp + 0x290]
lea edx, [esp + 0x90]
mov dword [esp + 0x90], getsockopt
mov ecx, edi
call fcn.004a0680
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
push edi
push 0
call fcn.004a1010
add esp, 8
push esi
call fcn.0048df00
add esp, 4
jmp 0x4a2e74
push 0xc4
push esi
push dword [esp + 0x44]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4a2e74
ud2