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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491240
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4a8040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x591c50]
mov edx, dword [edi + 0x19cc]
shr edx, 0xa
and dl, 1
mov dword [ebp - 0x24], edx
je 0x419aac
xor ebx, ebx
cmp dword [edi + 0x1dd0], ebx
jle 0x419aac
xor esi, esi
mov dword [ebp - 0x1c], esi
nop
mov eax, dword [edi + 0x1dd8]
mov esi, dword [esi + eax]
mov eax, dword [edi + 0x1544]
mov cl, byte [esi + 0x6a]
test eax, eax
je 0x419a88
test cl, cl
je 0x419a88
push esi
call eax
mov ecx, dword [esi + 4]
add esp, 4
test al, al
je 0x419a7f
or ecx, 0x400
jmp 0x419a85
and ecx, 0xfffffbff
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0x1c]
inc ebx
add esi, 4
mov dword [ebp - 0x1c], esi
cmp ebx, dword [edi + 0x1dd0]
jl 0x419a50
mov eax, dword [edi + 0x1dd8]
lea ebx, [edi + 0x1dd8]
mov eax, dword [eax]
mov ecx, eax
jmp 0x419ac9
mov eax, dword [edi + 0x1dd8]
lea ebx, [edi + 0x1dd8]
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
test dl, dl
je 0x419b27
push ecx
mov esi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x1530]
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x10], ebx
call eax
add esp, 8
mov dword [ebp - 0x18], esi
test dword [esi + 4], 0x400
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
je 0x419b4f
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
jmp 0x419b4c
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
push 0x1004
lea eax, [ebp - 0x2c]
mov edx, 0x11111111
push eax
lea eax, [ebp - 0x20]
xor ecx, ecx
push eax
call fcn.0041a120
xor ecx, ecx
mov dword [edi + 0x1ddc], 0
add esp, 0xc
mov dword [edi + 0x1de0], 0
mov dword [edi + 0x1de4], 0
mov dword [ebp - 0x1c], ecx
cmp dword [edi + 0x1dd0], ecx
jle 0x419f88
nop word [eax + eax]
mov eax, dword [ebx]
lea edx, [ecx*4]
mov dword [ebp - 0x28], edx
mov esi, dword [edx + eax]
mov dword [esi + 0x48], ecx
test ecx, ecx
jle 0x419d53
mov eax, dword [edi + 0x1be0]
sub eax, 2
cmp dword [esi + 0x4c], eax
jge 0x419d53
xor ebx, ebx
cmp dword [edi + 0x1c00], ebx
jle 0x419c14
xor edx, edx
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [edi + 0x1c08]
mov eax, dword [eax + edx]
cmp dword [eax + 0x30], esi
jne 0x419c05
mov dword [eax + 0x30], 0
mov eax, dword [edi + 0x1c08]
mov eax, dword [ecx + eax]
mov byte [eax + 0xc2], 0
inc ebx
add edx, 4
add ecx, 4
cmp ebx, dword [edi + 0x1c00]
jl 0x419be0
cmp esi, dword [edi + 0x1de8]
jne 0x419c26
mov dword [edi + 0x1de8], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + 0x1dd8]
mov edx, dword [edx]
add edx, dword [ebp - 0x28]
sub edx, eax
sar edx, 2
lea ecx, [eax + edx*4]
mov eax, dword [edi + 0x1dd0]
sub eax, edx
lea eax, [eax*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
dec dword [edi + 0x1dd0]
add esp, 0xc
cmp byte [esi + 0x6a], 0
mov ebx, dword [0x591c50]
je 0x419c97
mov eax, dword [ebx + 0x1570]
test eax, eax
je 0x419c7b
push esi
call eax
add esp, 4
mov eax, dword [ebx + 0x1524]
test eax, eax
je 0x419c8b
push esi
call eax
add esp, 4
cmp dword [esi], 0x11111111
je 0x419c97
mov byte [esi + 0x6a], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov word [esi + 0x44], 0
mov byte [esi + 0x46], 0
mov dword [ebp - 4], 0
mov ebx, dword [esi + 0x78]
test ebx, ebx
je 0x419ce4
mov ecx, ebx
call fcn.00405170
mov eax, dword [0x591c50]
test eax, eax
je 0x419cda
dec dword [eax + 0x374]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ebx, dword [esi + 0x7c]
test ebx, ebx
je 0x419d0f
mov ecx, ebx
call fcn.00405170
mov eax, dword [0x591c50]
test eax, eax
je 0x419d01
dec dword [eax + 0x374]
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call ebx
add esp, 4
jmp 0x419d15
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push 0x422f30
push 2
push 0xc
lea eax, [esi + 0xb0]
mov byte [ebp - 4], 1
push eax
call fcn.0048f865
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x591c50]
test eax, eax
je 0x419d44
dec dword [eax + 0x374]
push esi
call ebx
mov ecx, dword [ebp - 0x1c]
add esp, 4
dec ecx
jmp 0x419f75
cmp byte [ebp - 0x24], 0
mov bl, byte [esi + 0x6a]
je 0x419ddb
test dword [esi + 4], 0x400
jne 0x419ddb
test bl, bl
je 0x419ddb
cmp byte [esi + 0x44], 0
je 0x419da2
lea eax, [ebp - 0x34]
push esi
push eax
mov eax, dword [edi + 0x1530]
call eax
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0xc8], xmm0
movss dword [esi + 0xcc], xmm1
movss dword [esi + 8], xmm0
movss dword [esi + 0xc], xmm1
cmp byte [esi + 0x45], 0
je 0x419ddb
lea eax, [ebp - 0x3c]
push esi
push eax
mov eax, dword [edi + 0x1538]
call eax
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0xd0], xmm0
movss dword [esi + 0xd4], xmm1
movss dword [esi + 0x10], xmm0
movss dword [esi + 0x14], xmm1
mov ecx, esi
call fcn.0041acb0
test dword [esi + 4], 0x1000
lea edx, [esi + 0x58]
mov eax, dword [esi + 0xf0]
xorps xmm5, xmm5
mov ecx, dword [esi + 0xf4]
movss xmm4, dword [esi + 0xc]
movss xmm3, dword [esi + 8]
movaps xmm0, xmm4
mov dword [esi + 0xe4], ecx
movaps xmm1, xmm3
mov ecx, dword [esi + 0xfc]
mov dword [esi + 0xe0], eax
mov eax, dword [esi + 0xf8]
mov dword [esi + 0xec], ecx
lea ecx, [esi + 8]
mov dword [esi + 0xe8], eax
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
addss xmm0, dword [esi + 0xe4]
movss xmm2, dword [esi + 0xe0]
addss xmm1, xmm2
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm2
movss dword [esi + 0x18], xmm1
xorps xmm2, xmm2
xorps xmm1, xmm1
addss xmm0, dword [esi + 0xe8]
maxss xmm2, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, dword [esi + 0xe4]
addss xmm0, dword [esi + 0xec]
movss dword [esi + 0x20], xmm2
mov dword [esi + 0x60], 0x3f800000
maxss xmm1, xmm0
movss dword [esi + 0x24], xmm1
subss xmm3, dword [edx]
subss xmm4, dword [edx + 4]
je 0x419ee8
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jp 0x419eda
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jnp 0x419ee8
push ecx
mov ecx, esi
call fcn.00419450
add esp, 4
xorps xmm5, xmm5
mov eax, dword [edi + 0x155c]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x419f0a
test bl, bl
je 0x419f0a
push esi
call dword [ebp - 0x28]
fstp dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x28]
add esp, 4
jmp 0x419f3c
movzx eax, word [esi + 0x68]
cmp ax, 0xffff
je 0x419f26
cwde
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x1588]
movss xmm4, dword [eax + ecx*4 + 0x20]
jmp 0x419f3c
movss xmm4, dword [esi + 0x28]
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x419f3c
movss xmm4, dword [0x4a35c4]
movss xmm0, dword [esi + 0x28]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x419f6d
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x419f6d
test dword [edi + 8], 0x4000
je 0x419f6d
movaps xmm1, xmm4
mov ecx, esi
divss xmm1, xmm0
call fcn.00419750
mov ecx, dword [ebp - 0x1c]
movss dword [esi + 0x28], xmm4
mov ebx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [edi + 0x1dd0]
jl 0x419ba0
cmp dword [edi + 0x1580], 0
mov edx, dword [ebp - 0x18]
jne 0x419fe8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edi + 0x1df0], eax
mov dword [edi + 0x1df4], ecx
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [edi + 0x1df8], eax
mov dword [edi + 0x1dfc], ecx
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [edi + 0x1e00], eax
mov dword [edi + 0x1e04], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [edi + 0x1e08], eax
mov dword [edi + 0x1e0c], ecx
mov eax, dword [edx + 0x28]
mov dword [edi + 0x1e10], eax
cmp byte [ebp - 0x24], 0
jne 0x41a006
mov dword [edi + 0x1de4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edi + 0xc], 0x800
mov esi, dword [0x591c50]
je 0x41a056
xor ecx, ecx
cmp dword [edi + 0xfc], ecx
je 0x41a08b
mov ebx, dword [esi + 0x1dd0]
test ebx, ebx
jle 0x41a04a
mov edx, dword [esi + 0x1dd8]
nop
mov eax, dword [edx]
mov ebx, dword [edi + 0xfc]
cmp dword [eax], ebx
mov ebx, dword [esi + 0x1dd0]
je 0x41a080
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x41a030
xor ecx, ecx
test ecx, ecx
je 0x41a06c
test byte [ecx + 4], 0x80
je 0x41a06c
push dword [edi + 0xe8]
push dword [edi + 0xe4]
call fcn.00419970
mov ecx, eax
add esp, 8
lea eax, [edi + 0x1de8]
mov ebx, eax
test ecx, ecx
je 0x41a093
mov dword [eax], ecx
mov edx, ecx
mov eax, ecx
jmp 0x41a0a7
mov eax, dword [esi + 0x1dd8]
mov ecx, dword [eax + ecx*4]
jmp 0x41a04c
lea eax, [edi + 0x1de8]
mov ebx, eax
mov eax, dword [eax]
mov edx, eax
test eax, eax
jne 0x41a0a7
mov eax, dword [edi + 0x1dd8]
mov eax, dword [eax]
mov edx, eax
mov dword [ebx], eax
mov ebx, dword [edi + 0x1c58]
test ebx, ebx
je 0x41a0b4
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x1de4], eax
cmp byte [edi + 0x1f5c], 0
je 0x41a0cb
test ecx, ecx
jne 0x41a0ea
mov ecx, edx
jmp 0x41a0e6
cmp dword [edi + 0x1c84], 0
je 0x41a0e6
xor eax, eax
cmp byte [eax + esi + 0xec], 0
jne 0x41a0fe
inc eax
cmp eax, 5
jl 0x41a0d6
test ecx, ecx
je 0x41a0fe
cmp ecx, dword [edi + 0x1de4]
je 0x41a0fe
test byte [ecx + 4], 0x80
jne 0x41a0fe
mov dword [edi + 0x1de4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret