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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x288
mov eax, dword [0x6b66bc]
xor eax, esp
mov dword [esp + 0x284], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x757724]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x700b38]
cmp eax, dword [ecx + 8]
jg 0x490e07
cmp byte [0x700af8], 0
jne 0x490dee
mov byte [0x700af8], 1
call fcn.00491120
movaps xmm0, xmmword [0x6207a0]
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
movups xmmword [esp + 0x17c], xmm0
test eax, eax
jle 0x49097b
nop dword [eax + eax]
lea ecx, [esp + 0x19c]
call fcn.00486cf0
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
lea eax, [esp + 0x1a0]
mov dword [esp + 0x48], 0
push eax
push edi
mov dword [esp + 0x54], 0
call fcn.00493390
add esp, 0xc
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
push 0x17
call fcn.0040ce40
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + 0x17]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jle 0x4907b8
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040cde0
mov esi, dword [esp + 0x28]
push 0x2e
push 0x62a1e0
push esi
call fcn.004263f0
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x19c]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.00420df0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test esi, esi
je 0x4907fc
push esi
call fcn.0043f8f0
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, 0xffffffff
je 0x49094f
xor eax, eax
mov dword [esp + 0x88], 0xffffffff
mov word [esp + 0x6d], ax
xorps xmm0, xmm0
mov byte [esp + 0x6f], al
mov ecx, 0x700afc
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x6c], al
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x44]
push eax
movups xmmword [esp + 0x78], xmm0
call fcn.00485000
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
test edi, edi
je 0x49088b
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x49087f
push ecx
call fcn.0043f8f0
add esp, 4
add esi, 0xc
sub edi, 1
jne 0x490870
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x490898
push esi
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4908a9
push eax
call fcn.0043f8f0
add esp, 4
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
test edi, edi
je 0x4908d0
mov eax, dword [esi]
test eax, eax
je 0x4908c4
push eax
call fcn.0043f8f0
add esp, 4
add esi, 0xc
sub edi, 1
jne 0x4908b5
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4908dd
push esi
call fcn.0043f8f0
add esp, 4
push dword [esp + 0x10]
lea eax, [esp + 0x1a0]
push eax
call fcn.004931d0
add esp, 8
mov dword [esp + 0x54], 0
lea eax, [esp + 0x54]
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x19c]
mov dword [esp + 0x5c], 0
push eax
push str.IniParent
push 0x62a1e0
call fcn.00492670
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x168]
call fcn.00414dc0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x49094b
push eax
call fcn.0043f8f0
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x490960
push eax
call fcn.0043f8f0
add esp, 4
lea ecx, [esp + 0x19c]
call fcn.004876d0
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x24]
jl 0x490740
mov esi, dword [0x700b1c]
mov eax, 0x700b08
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
test esi, esi
jns 0x4909dc
call fcn.00609320
nop
int3
cmp dword [eax + 0x14], 0
je 0x4909f4
lea ecx, [esp + 0xb0]
call fcn.00410370
mov esi, dword [0x700b1c]
movups xmm0, xmmword [esp + 0xb0]
mov ecx, esi
mov dword [esp + 0x90], 0x700afc
and ecx, 0x1f
mov dword [esp + 0xe0], esi
movups xmmword [esp + 0x94], xmm0
mov edx, 0x700b08
movq xmm0, qword [esp + 0xc0]
movq qword [esp + 0xa4], xmm0
mov eax, dword [esp + 0xa8]
movaps xmm0, xmmword [esp + 0x90]
mov dword [esp + 0x118], eax
mov eax, esi
sar eax, 5
mov dword [esp + 0xd0], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0xd4], eax
or eax, 0xffffffff
shl eax, cl
mov dword [esp + 0xdc], eax
mov eax, esi
movaps xmmword [esp + 0x100], xmm0
and eax, 0xffffffe0
movq xmm0, qword [esp + 0xa0]
movq qword [esp + 0x110], xmm0
mov dword [esp + 0xd8], edx
mov dword [esp + 0xe4], eax
test esi, esi
jns 0x490aad
call fcn.00609320
nop
int3
cmp esi, dword [edx + 0x14]
je 0x490abe
lea ecx, [esp + 0xd0]
call fcn.00410370
movups xmm0, xmmword [esp + 0xd0]
mov dword [esp + 0x90], 0x700afc
movups xmmword [esp + 0x94], xmm0
movq xmm0, qword [esp + 0xe0]
movq qword [esp + 0xa4], xmm0
movaps xmm0, xmmword [esp + 0x90]
mov eax, dword [esp + 0xa8]
movaps xmmword [esp + 0x140], xmm0
movq xmm0, qword [esp + 0xa0]
movq qword [esp + 0x150], xmm0
mov dword [esp + 0x158], eax
nop dword [eax + eax]
mov edx, dword [esp + 0x114]
mov esi, dword [esp + 0x100]
cmp edx, dword [esp + 0x154]
jne 0x490b54
mov eax, dword [esp + 0x10c]
cmp eax, dword [esp + 0x14c]
jne 0x490b54
cmp esi, dword [esp + 0x140]
je 0x490dc3
mov eax, dword [esi]
mov ecx, edx
shl ecx, 4
add ecx, edx
lea eax, [eax + ecx*4]
push eax
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x164]
lea eax, [esp + 0x28]
push eax
call fcn.00420d30
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x490bda
shl eax, 5
add eax, dword [esp + 0x160]
je 0x490bda
xor edi, edi
mov dword [esp + 0x18], edi
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x130], esi
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x490bb0
mov dword [esp + 0x20], edi
jmp 0x490bf0
push 0
push esi
lea ecx, [esp + 0x20]
call fcn.0040cd80
lea eax, [esi + esi]
push eax
push dword [esp + 0x14]
push dword [esp + 0x20]
call fcn.005f7171
mov esi, dword [esp + 0x28]
add esp, 0xc
mov edi, dword [esp + 0x18]
jmp 0x490bf0
xor edi, edi
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
nop word [eax + eax]
test esi, esi
mov eax, 0x60f5ec
push 0x60f5ec
cmovne eax, edi
push eax
call fcn.0042e8d0
add esp, 8
test eax, eax
je 0x490d91
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x18]
add esi, 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
cmp eax, ecx
jb 0x490c5a
mov eax, dword [esi + 8]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
lea ecx, [esp + 0x18]
cmp ecx, eax
jae 0x490c5a
lea eax, [esp + 0x10]
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xf8]
push eax
call fcn.00609220
add esp, 4
nop
int3
mov edi, dword [esi + 4]
mov dword [esp + 0x134], 1
lea eax, [edi + 1]
mov dword [esi + 4], eax
cmp eax, dword [esi + 8]
jle 0x490c7b
push edi
mov ecx, esi
call fcn.00412ba0
mov ecx, dword [esi]
lea eax, [edi + edi*2]
shl eax, 2
push eax
push ecx
lea eax, [ecx + 0xc]
push eax
call sub.VCRUNTIME140.dll_memmove
mov esi, dword [esi]
add esp, 0xc
mov dword [esi], 0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x138], edi
mov dword [esi + 4], edi
test edi, edi
jne 0x490cb8
mov dword [esi + 8], edi
jmp 0x490cd4
push 0
push edi
mov ecx, esi
call fcn.0040cd80
lea eax, [edi + edi]
push eax
push dword [esp + 0x14]
push dword [esi]
call fcn.005f7171
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x168]
call fcn.00420d30
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
je 0x490d53
shl eax, 5
add eax, dword [esp + 0x160]
je 0x490d53
mov esi, dword [eax + 0x10]
xor edi, edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x13c], esi
mov dword [esp + 0x38], esi
test esi, esi
jne 0x490d24
mov dword [esp + 0x14], edi
jmp 0x490d5b
push 0
push esi
lea ecx, [esp + 0x3c]
call fcn.0040cd80
mov edi, dword [esp + 0x34]
lea eax, [esi + esi]
push eax
push dword [esp + 0x14]
push edi
call fcn.005f7171
mov eax, dword [esp + 0x48]
add esp, 0xc
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
jmp 0x490d5b
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x490d6c
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x490be2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x490da2
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0x104]
not eax
and dword [esp + 0x110], eax
call fcn.00410370
jmp 0x490b20
mov ecx, dword [esp + 0x194]
mov dword [esp + 0x198], 0
test ecx, ecx
je 0x490de2
push ecx
call fcn.0043f8f0
add esp, 4
lea ecx, [esp + 0x160]
call fcn.00417130
mov ecx, dword [esp + 0x28c]
mov eax, 0x700afc
pop edi
pop esi
xor ecx, esp
call fcn.005f4480
mov esp, ebp
pop ebp
ret
push 0x700b38
call fcn.005f48b1
add esp, 4
cmp dword [0x700b38], 0xffffffff
jne 0x4906bc
movaps xmm0, xmmword [0x6207a0]
push 0x607240
mov dword [0x700afc], 0
mov dword [0x700b00], 0
mov dword [0x700b04], 0
movups xmmword [0x700b18], xmm0
mov dword [0x700b28], 0
mov dword [0x700b30], 0
mov dword [0x700b34], 0
call fcn.005f4769
push 0x700b38
call fcn.005f4867
add esp, 8
jmp 0x4906bc