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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [ecx + 0x100]
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
push ebx
push esi
mov ebx, edx
mov dword [esp + 0x10], ecx
test byte [eax + 0x50], 1
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
jne 0x489d2c
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0xc], eax
lea ecx, [ecx + ecx*8]
shl ecx, 3
cmp dword [ebx + 0x44], 0
mov dword [esp + 0x10], ecx
mov edx, dword [ecx + eax + 0x34]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + eax + 0x1c]
mov dword [esp + 0x1c], edx
jne 0x489d2c
cmp dword [edx + 0x44], 0
jne 0x489d2c
mov eax, dword [edx + 0x3c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x38], edi
test eax, eax
je 0x489cbd
cmp dword [ebx + 0x3c], 0
jne 0x489d2c
cmp dword [eax + 0x10], 0
jne 0x489d2c
mov ecx, dword [ebx + 4]
test ecx, 0x100
je 0x489ccc
test eax, eax
jne 0x489d2c
cmp dword [edi], 0
je 0x489d2c
mov edx, dword [edx + 4]
test dl, 1
jne 0x489d2c
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x489cf1
mov edi, dword [esp + 0xc]
cmp dword [edi], 1
mov edi, dword [esp + 0x38]
jg 0x489d2c
test ebx, ebx
jne 0x489d2c
mov esi, dword [esp + 0x24]
cmp dword [esi + 0x30], 0
mov esi, dword [edi]
je 0x489d09
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x30], 0
mov esi, dword [edi]
jne 0x489d2c
test ebx, ebx
je 0x489d19
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x30], 0
mov esi, dword [edi]
jne 0x489d2c
test eax, eax
je 0x489d35
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x24], 0
jne 0x489d2c
and ecx, 1
je 0x489d38
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and ecx, 1
test edx, 0x2000
jne 0x489d2c
mov eax, dword [esp + 0xc]
add eax, 0x2c
add eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov dl, byte [eax]
test dl, 0x60
je 0x489d7c
cmp esi, 1
jg 0x489d2c
mov eax, dword [edi + 0x18]
cmp byte [eax + 0x2b], 1
je 0x489d2c
test ecx, ecx
jne 0x489d2c
test dl, 0x10
jne 0x489d2c
mov edx, 1
mov dword [esp + 0x40], edx
jmp 0x489d7e
xor edx, edx
cmp dword [ebp + 8], 0
jle 0x489d8a
test byte [edi + 0x2c], 0x40
jne 0x489d2c
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
test dword [eax + edi + 0x30], 0x100
je 0x489da6
mov eax, dword [eax + edi + 0x4c]
cmp byte [eax + 0x12], 0
je 0x489d2c
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x34], 0
je 0x489f33
cmp dword [esi + 0x30], 0
jne 0x489d2c
test ebx, ebx
jne 0x489d2c
test ecx, ecx
jne 0x489d2c
test edx, edx
jne 0x489d2c
mov eax, esi
nop dword [eax + eax]
test byte [eax + 4], 9
jne 0x489d2c
mov edx, dword [eax + 0x34]
test edx, edx
je 0x489dfa
cmp byte [eax], 0x87
jne 0x489d2c
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jl 0x489d2c
cmp dword [eax + 0x44], 0
jne 0x489d2c
cmp dword [ebp + 8], 0
jle 0x489e20
test byte [ecx + 0x2c], 0x40
jne 0x489d2c
mov eax, edx
test eax, eax
jne 0x489de0
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x489e52
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
jle 0x489e52
add eax, 0x18
nop dword [eax]
cmp word [eax], 0
je 0x489d2c
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x489e40
test dword [ebx + 4], 0x2000
jne 0x489d2c
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], 0
cmp dword [eax], 0
jle 0x489eca
xor edi, edi
add eax, 8
mov ecx, dword [eax + edi]
call fcn.0044d610
mov esi, dword [esi + 0x34]
mov bl, al
test esi, esi
je 0x489eab
nop dword [eax]
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + edi + 8]
call fcn.0044d610
cmp al, bl
jne 0x489d2c
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x489e90
mov ecx, dword [esp + 0x20]
add edi, 0x14
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [ecx]
lea eax, [ecx + 8]
jl 0x489e78
mov edi, dword [esp + 0xc]
cmp dword [edi], 1
jle 0x489f33
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x68], 0x1f4
jg 0x489d2c
mov ecx, dword [esp + 0x28]
test dword [ecx + 0x50], 0x800000
jne 0x489d2c
mov eax, dword [eax + 0x28]
cdq
mov esi, eax
add esi, 1
adc edx, 0
shld edx, esi, 2
push edx
shl esi, 2
push esi
call fcn.00413890
mov ebx, eax
add esp, 8
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x489f2f
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov esi, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esi + 0x28]
mov dword [ebx], eax
jmp 0x489f37
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edx, 0x15
push 0
push 0
push 0
mov eax, dword [ebx + edi + 0x10]
mov ecx, esi
mov dword [esi + 0x100], eax
call fcn.0045f5c0
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esi + 0x100], eax
mov esi, dword [ebx + edi + 0x1c]
mov dword [esp + 0x34], esi
push dword [ebx + edi + 0xc]
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.00413560
mov eax, dword [esp + 0x18]
push dword [eax + edi + 0x10]
push ebx
call fcn.00413560
mov eax, dword [esp + 0x20]
push dword [eax + edi + 0x14]
push ebx
call fcn.00413560
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov eax, dword [esp + 0x1c]
mov dword [ecx + edi + 0xc], 0
mov dword [ecx + edi + 0x10], 0
mov dword [ecx + edi + 0x14], 0
mov dword [ecx + edi + 0x1c], 0
mov eax, dword [eax + 0x34]
mov dword [esp + 0x20], eax
test eax, eax
je 0x48a0f8
mov edx, dword [esp + 0x24]
jmp 0x489fe4
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 0x34]
mov edi, dword [ecx + edi + 0x18]
mov ebx, dword [edx + 0x30]
mov esi, dword [edx + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
push 0
mov dword [ecx + eax + 0x18], 0
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x3c], 0
call fcn.0044f930
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x1c], ecx
mov dword [edx + 0x3c], esi
mov esi, dword [esp + 0x10]
mov dword [edx + 0x30], ebx
mov byte [edx], 0x87
mov dword [esi + eax + 0x18], edi
test ecx, ecx
jne 0x48a050
mov eax, dword [esp + 0x30]
jmp 0x48a0d6
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
inc dword [esi + 0x68]
mov eax, dword [esi + 0x68]
mov dword [ecx + 0x10], eax
test ebx, ebx
je 0x48a0c3
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x57], 0
jne 0x48a0c3
push dword [ebp + 8]
mov edx, ebx
push dword [ecx + 0x20]
mov ecx, esi
call fcn.00489b40
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x54]
add esp, 8
mov dword [esp + 0x4c], 0
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], 0x489bd0
mov dword [esp + 0x54], fcn.0040c9e0
call fcn.0044a2d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x34], eax
test eax, eax
je 0x48a0d1
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], edx
mov eax, ecx
mov edi, dword [esp + 0xc]
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x489fe0
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
push dword [esp + 0x2c]
push ebx
call fcn.00413560
add esp, 8
cmp byte [ebx + 0x57], 0
je 0x48a11f
mov eax, dword [esp + 0x10]
mov dword [eax + edi + 0x1c], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx + edi + 0x18]
test esi, esi
je 0x48a18c
mov eax, dword [esi + 0x18]
cmp eax, 1
jne 0x48a229
mov ecx, dword [esp + 0x14]
mov edi, ecx
push 0
push 0xc
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne edi, eax
mov ecx, dword [edi]
test ecx, ecx
je 0x48a156
call fcn.00413890
jmp 0x48a15b
call fcn.00413230
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x48a208
mov eax, dword [edi + 0x84]
mov dword [ecx], eax
mov dword [edi + 0x84], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0x460d80
mov edi, dword [esp + 0xc]
mov dword [ebx + edi + 0x18], 0
mov edx, dword [esp + 0x24]
mov ebx, edx
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], edx
nop
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + 0x20]
mov byte [esp + 0x1b], 0
mov dword [esp + 0x2c], ecx
mov al, byte [eax]
and al, 0x40
mov byte [esp + 0x1a], al
mov eax, dword [esi + 0x20]
mov dword [esp + 0x38], eax
mov edi, dword [eax]
mov dword [esp + 0x30], edi
cmp ebx, edx
jne 0x48a1d3
mov edx, dword [esp + 0x44]
mov dl, byte [edx]
mov byte [esp + 0x1b], dl
cmp edi, 1
jle 0x48a232
mov eax, dword [ebp + 8]
mov edx, ecx
mov esi, dword [esp + 0x14]
inc eax
push eax
lea eax, [edi - 1]
mov ecx, esi
push eax
call fcn.00467890
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x48a46f
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x20], ecx
jmp 0x48a23a
mov ecx, dword [edi]
cmp dword [ecx + 0x210], 0
jne 0x48a21d
add dword [esi + 0x18], 0xffffffff
jne 0x48a180
mov edx, esi
call fcn.00460b40
jmp 0x48a180
dec eax
mov dword [esi + 0x18], eax
jmp 0x48a184
test edi, edi
jle 0x48a2c3
mov esi, dword [esp + 0x10]
lea edi, [eax + 8]
mov eax, dword [esp + 0x30]
add esi, 0x2c
mov bl, byte [esp + 0x1a]
add esi, ecx
mov dword [esp + 0x20], eax
test dword [esi + 4], 0x400
je 0x48a267
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
call fcn.00467770
movups xmm0, xmmword [edi]
push 0x48
push 0
movups xmmword [esi - 0x24], xmm0
push edi
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi - 0x14], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esi - 4], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0xc], xmm0
movq xmm0, qword [edi + 0x40]
movq qword [esi + 0x1c], xmm0
or byte [esi], bl
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x48], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add esi, 0x48
add edi, 0x48
sub dword [esp + 0x20], 1
jne 0x48a252
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
add eax, ecx
lea ecx, [eax + 0x2c]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
and al, 0x40
mov dword [esp + 0x38], ecx
or al, byte [esp + 0x1a]
or al, byte [esp + 0x1b]
mov byte [ecx], al
mov edx, dword [esi + 0x30]
test edx, edx
je 0x48a31c
test dword [ebx + 4], 0x400000
jne 0x48a31c
xor ecx, ecx
cmp dword [edx], ecx
jle 0x48a312
lea eax, [edx + 0x18]
nop dword [eax + eax]
xor esi, esi
lea eax, [eax + 0x14]
mov word [eax - 0x14], si
inc ecx
cmp ecx, dword [edx]
jl 0x48a300
mov esi, dword [esp + 0xc]
mov dword [ebx + 0x30], edx
mov dword [esi + 0x30], 0
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0xc]
mov esi, dword [esi + 0x24]
mov dword [eax + 0x24], 0
jbe 0x48a341
mov edx, dword [esp + 0x3c]
mov ecx, esi
push 1
call fcn.00482060
add esp, 4
test esi, esi
je 0x48a369
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48a366
push eax
push esi
mov esi, dword [esp + 0x1c]
mov edx, 0x2c
mov ecx, esi
call fcn.0044e6e0
add esp, 8
mov dword [ebx + 0x24], eax
jmp 0x48a36d
mov dword [ebx + 0x24], esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x57], 0
jne 0x48a3c9
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x48a3b0
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x48a3a7
mov eax, dword [ecx + 0x1c]
mov edx, ebx
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], eax
call fcn.004899b0
add esp, 4
jmp 0x48a3cd
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48a3e9
mov dword [ebx + 0x3c], eax
mov dword [esi + 0x3c], 0
test edi, edi
jle 0x48a451
mov esi, dword [esp + 0x20]
add esi, 0x40
cmp dword [esi - 0x28], 0
je 0x48a445
xorps xmm0, xmm0
mov dword [esp + 0x68], 0
lea eax, [esi - 0x38]
movlpd qword [esp + 0x74], xmm0
mov edx, ebx
mov dword [esp + 0x7c], 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], 0x489b00
mov dword [esp + 0x70], fcn.0040c9e0
mov dword [esp + 0x80], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044a2d0
add esi, 0x48
sub edi, 1
jne 0x48a3f4
mov esi, dword [esp + 0xc]
mov ebx, dword [ebx + 0x34]
mov esi, dword [esi + 0x34]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], esi
test ebx, ebx
jne 0x48a1a0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x84]
xorps xmm0, xmm0
mov dword [esp + 0x84], esi
mov edx, ebx
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x88], 0x457b20
mov dword [esp + 0x8c], fcn.0040c9e0
call fcn.0044a2d0
test ebx, ebx
je 0x48a4c7
mov ecx, dword [esp + 0x28]
mov edx, ebx
push 1
call fcn.00481b00
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret